Bug 2126073 (CVE-2021-40647)

Summary: CVE-2021-40647 sys-apps/man2html: multiple vulnerabilities
Product: [Other] Security Response Reporter: ybuenos
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: epel-packagers-sig, orion, sergio, tchollingsworth, viktor.vix.jancik
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-26 12:56:02 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: 2126813, 2126814    
Bug Blocks:    

Description ybuenos 2022-09-12 11:00:59 UTC
CVE-2021-40647:

In man2html 1.6g, a specific string being read in from a file will overwrite the size parameter in the top chunk of the heap. This at least causes the program to segmentation abort if the heap size parameter isn't aligned correctly. In version before GLIBC version 2.29 and aligned correctly, it allows arbitrary write anywhere in the programs memory.

https://gist.github.com/untaman/cb58123fe89fc65e3984165db5d40933

Comment 1 ybuenos 2022-09-14 13:33:00 UTC
Created man2html tracking bugs for this issue:

Affects: epel-all [bug 2126813]
Affects: fedora-all [bug 2126814]

Comment 2 Product Security DevOps Team 2022-11-26 12:56:00 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.