Improper Initialization Affecting htmlunit package, versions <2.8-1ubuntu2.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

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-UBUNTU1604-HTMLUNIT-1019590
  • published21 Oct 2020
  • disclosed11 Feb 2020

Introduced: 11 Feb 2020

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

How to fix?

Upgrade Ubuntu:16.04 htmlunit to version 2.8-1ubuntu2.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream htmlunit package and not the htmlunit package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1