Out-of-bounds Read Affecting michaelrsweet/htmldoc package, versions [,1.9.13)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.12% (47th 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-5781235
  • published18 Jul 2023
  • disclosed18 Jul 2023
  • creditUnknown

Introduced: 18 Jul 2023

CVE-2021-34121  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade michaelrsweet/htmldoc to version 1.9.13 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read via the function parse_tree() in toc.cxx, possibly leading to memory layout information leaking in the data. This might be used in a chain of vulnerabilities to reach code execution.

CVSS Scores

version 3.1