critical9.8No CVE yet
GHSA-2gh6-wc3m-g37f
hermes-management is vulnerable to RCE due to Apache commons-jxpath
Impact
### Impact hermes-management is vulnerable to RCE when it processes user-controlled data due to using Apache commons-jxpath. ### Patches Upgrade Hermes to at least hermes-2.2.9 ### References https://hackinglab.cz/en/blog/remote-code-execution-in-jxpath-library-cve-2022-41852/
An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | pl.allegro.tech.hermes:hermes-management | >= 0.8.2, < 2.2.9 | 2.2.9 |
Weakness classification
References
- GitHub advisory
- https://github.com/advisories/GHSA-2gh6-wc3m-g37f
- https://github.com/allegro/hermes/security/advisories/GHSA-2gh6-wc3m-g37f
- https://github.com/allegro/hermes/commit/72ecc5aa41e37fd614443dd35d9200b66a61afb1
- https://hackinglab.cz/en/blog/remote-code-execution-in-jxpath-library-cve-2022-41852
- https://github.com/allegro/hermes/commit/92d4ad0cf6868ba784707772b78e129fedff7a31