Memory Allocation with Excessive Size Value Affecting net.sourceforge.htmlunit:neko-htmlunit package, versions [,2.27)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.17% (55th 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-JAVA-NETSOURCEFORGEHTMLUNIT-2774752
  • published24 Apr 2022
  • disclosed24 Apr 2022
  • creditUnknown

Introduced: 24 Apr 2022

CVE-2022-28366  (opens in a new tab)
CWE-789  (opens in a new tab)

How to fix?

Upgrade net.sourceforge.htmlunit:neko-htmlunit to version 2.27 or higher.

Overview

Affected versions of this package are vulnerable to Memory Allocation with Excessive Size Value via a crafted Processing Instruction (PI) input.

CVSS Scores

version 3.1