Description
### 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 packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | pl.allegro.tech.hermes:hermes-management | >= 0.8.2, < 2.2.9 | 2.2.9 | GHSA-2gh6-wc3m-g37f |
References
- https://github.com/allegro/hermes/security/advisories/GHSA-2gh6-wc3m-g37f web
- https://github.com/allegro/hermes/commit/72ecc5aa41e37fd614443dd35d9200b66a61afb1 web
- https://github.com/allegro/hermes/commit/92d4ad0cf6868ba784707772b78e129fedff7a31 web
- https://github.com/allegro/hermes package
- https://hackinglab.cz/en/blog/remote-code-execution-in-jxpath-library-cve-2022-41852 web