High severity · published Mar 2, 2022
CVE-2021-23180
A flaw was found in htmldoc in v1.9.12 and before
7.8
CVSS
1.4%
EPSS
No
On KEV
Description
A flaw was found in htmldoc in v1.9.12 and before. Null pointer dereference in file_extension(),in file.c may lead to execute arbitrary code and denial of service.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.4% · higher than 72% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
HT
Htmldoc · Htmldoc Project
through 1.9.12 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-23180
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-23180
Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=1967041
Patch
https://github.com/michaelrsweet/htmldoc/commit/19c582fb32eac74b57e155cffbb529377a9e751a
Exploit
https://github.com/michaelrsweet/htmldoc/issues/418
Third Party Advisory
https://ubuntu.com/security/CVE-2021-23180
More from Htmldoc
9.8
CVE-2024-46478
HTMLDOC v1.9.18 contains a buffer overflow in parse_pre function,ps-pdf.cxx:5681
9.8
CVE-2024-45508
HTMLDOC before 1.9.19 has an out-of-bounds write in parse_paragraph in ps-pdf.cxx because of an attempt to strip leading whitespace from a whitespace-only node
9.8
CVE-2021-23165
A flaw was found in htmldoc before v1.9.12
9.8
CVE-2021-23158
A flaw was found in htmldoc in v1.9.12
9.8
CVE-2021-20308
Integer overflow in the htmldoc 1.9.11 and before may allow attackers to execute arbitrary code and cause a denial of service that is similar to CVE-2017-9181
