Remote Code Execution (RCE) Affecting pl.allegro.tech.hermes:hermes-management package, versions [,2.2.9)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team

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-PLALLEGROTECHHERMES-8062145
  • published 20 Sep 2024
  • disclosed 17 Sep 2024
  • credit Unknown

Introduced: 17 Sep 2024

CVE NOT AVAILABLE CWE-94 Open this link in a new tab

How to fix?

Upgrade pl.allegro.tech.hermes:hermes-management to version 2.2.9 or higher.

Overview

Affected versions of this package are vulnerable to Remote Code Execution (RCE) through the improper use of Apache commons-jxpath. An attacker can execute arbitrary code on the system by sending crafted input that manipulates the processing of user-controlled data.

Note:

This vulnerability was recorded before in JAXPath as CVE-2022-41852 but deemed not a vulnerability because the intended behavior of the JXPath library is not to handle untrusted input, this having to be handled downstream.

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
9.3 critical
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    High
  • Integrity (VI)
    High
  • Availability (VA)
    High
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None