Integer Overflow or Wraparound Affecting michaelrsweet/htmldoc package, versions [,1.9.12)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.55% (67th 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-2364898
  • published26 Jan 2022
  • disclosed5 Apr 2021
  • creditUnknown

Introduced: 5 Apr 2021

CVE-2021-20308  (opens in a new tab)
CWE-190  (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 Integer Overflow or Wraparound. 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.

References

CVSS Base Scores

version 3.1