CVE-2020-5529
Code execution vulnerability in HtmlUnit
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| net.sourceforge.htmlunit » htmlunit | < 2.37.0 | 2.37.0 |
Blast radius
62% of the dependent artifacts (2,336) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 13,024 |
| 2 hops | 67,352 |
| 3 hops | 131,192 |
| 4 hops | 56,945 |
| 5 hops | 41,369 |
| 6 hops | 16,671 |
Most used dependents
- org.scalatest » scalatest20,465 usages
- org.seleniumhq.selenium » selenium-java2,089 usages
- com.typesafe.play » play-test1,902 usages
- org.scalatestplus.play » scalatestplus-play1,286 usages
- org.codehaus.mojo » gwt-maven-plugin1,170 usages
- com.typesafe.play » filters-helpers1,129 usages
- com.google.gwt » gwt-dev1,025 usages
- com.typesafe.play » play-ahc-ws693 usages
- uk.gov.hmrc » hmrctest605 usages
- io.github.bonigarcia » webdrivermanager584 usages
- org.wildfly » wildfly-feature-pack372 usages
- org.pac4j » pac4j-core367 usages
- io.appium » java-client350 usages
- org.seleniumhq.selenium » selenium-server338 usages
- net.liftweb » lift-webkit311 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2020-5529
- Webhttps://github.com/HtmlUnit/htmlunit/commit/bc1f58d483cc8854a9c4c1739abd5e04a2eb0367
- Packagehttps://github.com/HtmlUnit/htmlunit
- Webhttps://github.com/HtmlUnit/htmlunit/releases/tag/2.37.0
- Webhttps://jvn.jp/en/jp/JVN34535327
- Webhttps://lists.apache.org/thread.html/ra2cd7f8e61dc6b8a2d9065094cd1f46aa63ad10f237ee363e26e8563%40%3Ccommits.camel.apache.org%3E
- Webhttps://lists.apache.org/thread.html/ra2cd7f8e61dc6b8a2d9065094cd1f46aa63ad10f237ee363e26e8563@%3Ccommits.camel.apache.org%3E
- Webhttps://lists.debian.org/debian-lts-announce/2020/08/msg00023.html
- Webhttps://usn.ubuntu.com/4584-1
