Remote Code Execution (RCE) Affecting pl.allegro.tech.hermes:hermes-management package, versions [,2.2.9)
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
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.