Bug 1967041 (CVE-2021-23180)

Summary: CVE-2021-23180 htmldoc: null pointer dereference in function in file_extension()
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: extras-orphan, pahan, rdieter
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: htmldoc 1.9.12 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-02 11:32:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1967044, 1967043    
Bug Blocks: 1967042    

Description Dhananjay Arunesh 2021-06-02 11:12:51 UTC
A flaw was found in htmldoc in versions prior to 1.9.12. Null pointer dereference in file_extension(),in file.c may lead to execute arbitrary code and denial of service.

Reference:
https://github.com/michaelrsweet/htmldoc/issues/418

Upstream patch:
https://github.com/michaelrsweet/htmldoc/commit/19c582fb32eac74b57e155cffbb529377a9e751a

Comment 1 Dhananjay Arunesh 2021-06-02 11:14:00 UTC
Created htmldoc tracking bugs for this issue:

Affects: epel-7 [bug 1967044]
Affects: fedora-all [bug 1967043]

Comment 2 Product Security DevOps Team 2021-06-02 11:32:29 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.