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


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.07% (33rd 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-3116412
  • published15 Nov 2022
  • disclosed15 Nov 2022
  • creditJorgecmartins

Introduced: 15 Nov 2022

CVE-2022-0137  (opens in a new tab)
CWE-119  (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 in image_set_mask function of HTMLDOC, which allows an attacker to write outside the buffer boundaries.

CVSS Scores

version 3.1