Remote Code Execution (RCE) Affecting net.sourceforge.htmlunit:htmlunit package, versions [,2.37.0)


0.0
medium

Snyk CVSS

    Attack Complexity High

    Threat Intelligence

    EPSS 0.4% (74th percentile)
Expand this section
NVD
8.1 high
Expand this section
Red Hat
5.6 medium

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 ID SNYK-JAVA-NETSOURCEFORGEHTMLUNIT-548471
  • published 11 Feb 2020
  • disclosed 10 Feb 2020
  • credit ICHIHARA Ryohei

How to fix?

Upgrade net.sourceforge.htmlunit:htmlunit to version 2.37.0 or higher.

Overview

net.sourceforge.htmlunit:htmlunit is a GUI-Less browser for Java programs

Affected versions of this package are vulnerable to Remote Code Execution (RCE). It initializes Rhino engine improperly, hence a malicious JavaScript code can execute arbitrary Java code on the application.

References