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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | net.sourceforge.htmlunit:htmlunit | 2.37.0 | GHSA-5mh9-r3rr-9597 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://github.com/HtmlUnit/htmlunit/releases/tag/2.37.0 x_refsource_CONFIRM
- https://jvn.jp/en/jp/JVN34535327/ third-party-advisory, x_refsource_JVN
- [camel-commits] 20200520 [camel] branch camel-2.25.x updated: Updating htmlunit due to CVE-2020-5529 mailing-list, x_refsource_MLIST
- [debian-lts-announce] 20200815 [SECURITY] [DLA 2326-1] htmlunit security update mailing-list, x_refsource_MLIST
- USN-4584-1 vendor-advisory, x_refsource_UBUNTU