Bug 2039445 (CVE-2021-43579) - CVE-2021-43579 htmldoc: stack-based buffer overflow in image_load_bmp() in htmldoc/image.cxx
Summary: CVE-2021-43579 htmldoc: stack-based buffer overflow in image_load_bmp() in ht...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2021-43579
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: 2039446 2039447
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-11 17:57 UTC by Guilherme de Almeida Suckevicz
Modified: 2022-01-11 18:30 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-01-11 18:30:45 UTC


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2022-01-11 17:57:24 UTC
A stack-based buffer overflow in image_load_bmp() in HTMLDOC <= 1.9.13 results in remote code execution if the victim converts an HTML document linking to a crafted BMP file.

References:
https://github.com/michaelrsweet/htmldoc/issues/453
https://github.com/michaelrsweet/htmldoc/issues/456

Upstream patch:
https://github.com/michaelrsweet/htmldoc/commit/27d08989a5a567155d506ac870ae7d8cc88fa58b

Comment 1 Guilherme de Almeida Suckevicz 2022-01-11 17:57:42 UTC
Created htmldoc tracking bugs for this issue:

Affects: epel-7 [bug 2039447]
Affects: fedora-34 [bug 2039446]

Comment 2 Product Security DevOps Team 2022-01-11 18:30:43 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.


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