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


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.56% (79th 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 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

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
5.6 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    Low
Expand this section

NVD

8.1 high
Expand this section

Red Hat

5.6 medium