GHSA-2gh6-wc3m-g37f hermes-management is vulnerable to RCE due to Apache commons-jxpath

Not scored Published

Remote code execution is possible in hermes-management via Apache commons-jxpath when processing user-controlled data.

Exploited in the wild
Not known
Login needed
Not stated
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is GHSA-2gh6-wc3m-g37f?

GHSA-2gh6-wc3m-g37f is a code injection vulnerability in pl.allegro.tech.hermes:hermes-management, published on 17 Sep 2024. It can be exploited over the network, with no action from the victim.

Official 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/

Which versions are affected by GHSA-2gh6-wc3m-g37f?

2 open source packages ship an affected version, including pl.allegro.tech.hermes:hermes-management.

PackageAffectedFixed in
pl.allegro.tech.hermes:hermes-management MavenFrom 0.8.22.2.9
pl.allegro.tech.hermes:hermes-management MavenFrom 0.8.22.2.9

How do I fix GHSA-2gh6-wc3m-g37f?

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

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is GHSA-2gh6-wc3m-g37f being exploited?

There is no known exploitation of GHSA-2gh6-wc3m-g37f in the wild and no public exploit code.

Sources

Is GHSA-2gh6-wc3m-g37f in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free