Remote Code Execution (RCE) Affecting net.sourceforge.htmlunit:htmlunit package, versions [,2.37.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
4.72% (91st 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-548471
  • published11 Feb 2020
  • disclosed10 Feb 2020
  • creditICHIHARA Ryohei

Introduced: 10 Feb 2020

CVE-2020-5529  (opens in a new tab)
CWE-284  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade net.sourceforge.htmlunit:htmlunit to version 2.37.0 or higher.

Overview

net.sourceforge.htmlunit:htmlunit is a GUI-Less browser for Java programs

Affected versions of this package are vulnerable to Remote Code Execution (RCE). It initializes Rhino engine improperly, hence a malicious JavaScript code can execute arbitrary Java code on the application.

References

CVSS Base Scores

version 3.1