CVE-2021-39231 Missing authentication/authorization on internal RPC endpoints

Critical 9.1 Published Updated

Attackers can access internal RPC endpoints to download raw data and modify replication configurations in Apache Ozone.

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

What is CVE-2021-39231?

CVE-2021-39231 is a critical missing authorization vulnerability in Apache Ozone, published on 19 Nov 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Apache Ozone versions prior to 1.2.0, Various internal server-to-server RPC endpoints are available for connections, making it possible for an attacker to download raw data from Datanode and Ozone manager and modify Ratis replication configuration.

Weakness: CWE-862

Which versions are affected by CVE-2021-39231?

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

PackageAffectedFixed in
org.apache.ozone:ozone-main MavenAll versions1.2.0
org.apache.ozone:ozone-main MavenAll versions1.2.0

Products include Apache Ozone.

How do I fix CVE-2021-39231?

Upgrade org.apache.ozone:ozone-main to 1.2.0 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2021-39231 being exploited?

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

Sources

Also known as GHSA-3w5h-x4rh-hc28.

Is CVE-2021-39231 in your software?

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

Check your SBOMs for free