Vulnerability · Published Feb 11, 2020 · Assigned by jpcert

CVE-2020-5529

High 8.1

In plain English

A high-severity code injection in HtmlUnit from HtmlUnit Project. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.7% (higher than 92% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)4.7%top 8.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

HtmlUnit prior to 2.37.0 contains code execution vulnerabilities. HtmlUnit initializes Rhino engine improperly, hence a malicious JavScript code can execute arbitrary Java code on the application. Moreover, when embedded in Android application, Android-specific initialization of Rhino engine is done in an improper way, hence a malicious JavaScript code can execute arbitrary Java code on the application.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavennet.sourceforge.htmlunit:htmlunit2.37.0GHSA-5mh9-r3rr-9597

Affected products (as reported)

VendorProductVersions
HtmlUnit Project HtmlUnit prior to 2.37.0

Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References