Buffer Overflow Affecting michaelrsweet/htmldoc package, versions [,1.9.15)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.08% (24th 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 Learn

Learn about Buffer Overflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-MICHAELRSWEETHTMLDOC-2440580
  • published4 Apr 2022
  • disclosed4 Apr 2022
  • creditVoiddy-Dev

Introduced: 4 Apr 2022

CVE-2022-24191  (opens in a new tab)
CWE-119  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade michaelrsweet/htmldoc to version 1.9.15 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow due to an infinite loop in the gif_read_lzw function that can lead to a pointer arbitrarily pointing to heap memory.

CVSS Base Scores

version 3.1