Bug 1967018 (CVE-2021-23158) - CVE-2021-23158 htmldoc: double-free in function pspdf_export()
Summary: CVE-2021-23158 htmldoc: double-free in function pspdf_export()
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2021-23158
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1967020 1967021
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-02 10:53 UTC by Dhananjay Arunesh
Modified: 2021-06-03 13:46 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-02 11:32:15 UTC


Attachments (Terms of Use)

Description Dhananjay Arunesh 2021-06-02 10:53:47 UTC
A flaw was found in htmldoc in v1.9.12. Double-free in function pspdf_export(),in ps-pdf.cxx may result in a write-what-where condition, allowing an attacker to execute arbitrary code and denial of service.

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

Upstream patch:
https://github.com/michaelrsweet/htmldoc/commit/369b2ea1fd0d0537ba707f20a2f047b6afd2fbdc

Comment 1 Dhananjay Arunesh 2021-06-02 10:55:04 UTC
Created htmldoc tracking bugs for this issue:

Affects: epel-7 [bug 1967021]
Affects: fedora-all [bug 1967020]

Comment 2 Product Security DevOps Team 2021-06-02 11:32:15 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.

Comment 3 Gianluca Gabrielli 2021-06-03 13:46:04 UTC
This has the same fix of 1967009 (CVE-2021-26252)


Note You need to log in before you can comment on or make changes to this bug.