Bug 1783939 (CVE-2019-19630)

Summary: CVE-2019-19630 htmldoc: crafted HTML document allows for a stack-based buffer overflow in the hd_strlcpy() function in string.c
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: pahan, rdieter
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-16 14:11:19 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: 1783940, 1783941    
Bug Blocks:    

Description Marian Rehak 2019-12-16 09:53:19 UTC
HTMLDOC 1.9.7 allows a stack-based buffer overflow in the hd_strlcpy() function in string.c (when called from render_contents in ps-pdf.cxx) via a crafted HTML document.

Upstream Issue:

https://github.com/michaelrsweet/htmldoc/issues/370

Comment 1 Marian Rehak 2019-12-16 09:53:39 UTC
Created htmldoc tracking bugs for this issue:

Affects: epel-all [bug 1783941]
Affects: fedora-all [bug 1783940]

Comment 2 Product Security DevOps Team 2019-12-16 14:11:19 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.