CVE-2022-45855 Apache Ambari: Allows authenticated metrics consumers to perform RCE

High 8.0 Published Updated

Authenticated users can execute arbitrary code via SpringEL injection in Apache Ambari metrics source.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-45855?

CVE-2022-45855 is a high-severity code injection vulnerability in Apache Ambari, published on 12 Jul 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

SpringEL injection in the metrics source in Apache Ambari version 2.7.0 to 2.7.6 allows a malicious authenticated user to execute arbitrary code remotely. Users are recommended to upgrade to 2.7.7.

Weakness: CWE-917

Which versions are affected by CVE-2022-45855?

2 open source packages ship an affected version, including org.apache.ambari:ambari. It affects 1 product.

PackageAffectedFixed in
org.apache.ambari:ambari MavenFrom 2.7.02.7.7
org.apache.ambari:ambari MavenFrom 2.7.02.7.7

Products include Apache Ambari.

How do I fix CVE-2022-45855?

Upgrade org.apache.ambari:ambari to 2.7.7 or later.

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

Is CVE-2022-45855 being exploited?

There is no known exploitation of CVE-2022-45855 in the wild and no public exploit code.

Sources

Also known as GHSA-p7w2-784m-qpq9.

Is CVE-2022-45855 in your software?

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

Check your SBOMs for free