hermes-management is vulnerable to RCE due to Apache commons-jxpath
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/
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | pl.allegro.tech.hermes:hermes-management | >= 0.8.2, < 2.2.9 | 2.2.9 |
References
- https://github.com/allegro/hermes/security/advisories/GHSA-2gh6-wc3m-g37f
- https://github.com/allegro/hermes/commit/72ecc5aa41e37fd614443dd35d9200b66a61afb1
- https://github.com/allegro/hermes/commit/92d4ad0cf6868ba784707772b78e129fedff7a31
- https://github.com/allegro/hermes
- https://hackinglab.cz/en/blog/remote-code-execution-in-jxpath-library-cve-2022-41852
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-1395- Platform
- Java / Kotlin (Maven)
- Package
pl.allegro.tech.hermes:hermes-management- Disclosed
- 17.09.2024
- Updated
- 11.10.2026 13:19
Sources and licenses
OSV / GitHub Advisory Database - GHSA-2gh6-wc3m-g37f - CC BY 4.0
Vulnerability history: pl.allegro.tech.hermes:hermes-management
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.