Heap-based Buffer Overflow Affecting michaelrsweet/htmldoc package, versions [,1.9.12)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.5% (77th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-MICHAELRSWEETHTMLDOC-2428361
  • published17 Mar 2022
  • disclosed17 Mar 2022
  • creditchiba

Introduced: 17 Mar 2022

CVE-2021-23165  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade michaelrsweet/htmldoc to version 1.9.12 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow in pspdf_prepare_outpages(), in ps-pdf.cxx may lead to execute arbitrary code and denial of service.

CVSS Scores

version 3.1