{"id":"GHSA-5mh9-r3rr-9597","summary":"Code execution vulnerability in HtmlUnit","details":"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. ","aliases":["CVE-2020-5529"],"modified":"2024-10-15T23:41:37.767130Z","published":"2020-05-21T21:08:33Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2020-05-21T17:25:38Z","nvd_published_at":"2020-02-11T12:15:00Z","cwe_ids":["CWE-665","CWE-94"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5529"},{"type":"WEB","url":"https://github.com/HtmlUnit/htmlunit/commit/bc1f58d483cc8854a9c4c1739abd5e04a2eb0367"},{"type":"PACKAGE","url":"https://github.com/HtmlUnit/htmlunit"},{"type":"WEB","url":"https://github.com/HtmlUnit/htmlunit/releases/tag/2.37.0"},{"type":"WEB","url":"https://jvn.jp/en/jp/JVN34535327"},{"type":"WEB","url":"https://lists.apache.org/thread.html/ra2cd7f8e61dc6b8a2d9065094cd1f46aa63ad10f237ee363e26e8563%40%3Ccommits.camel.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/ra2cd7f8e61dc6b8a2d9065094cd1f46aa63ad10f237ee363e26e8563@%3Ccommits.camel.apache.org%3E"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2020/08/msg00023.html"},{"type":"WEB","url":"https://usn.ubuntu.com/4584-1"}],"affected":[{"package":{"name":"net.sourceforge.htmlunit:htmlunit","ecosystem":"Maven","purl":"pkg:maven/net.sourceforge.htmlunit/htmlunit"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.37.0"}]}],"versions":["1.14","2.0","2.1","2.1.5","2.10","2.11","2.12","2.13","2.14","2.15","2.16","2.17","2.18","2.19","2.2","2.20","2.21","2.22","2.23","2.24","2.25","2.26","2.27","2.28","2.29","2.3","2.30","2.31","2.32","2.33","2.34.0","2.34.1","2.35.0","2.36.0","2.4","2.5","2.6","2.7","2.8","2.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/05/GHSA-5mh9-r3rr-9597/GHSA-5mh9-r3rr-9597.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}