CVE-2021-39234 Raw block data can be read bypassing ACL/authorization
Authenticated users can bypass ACLs to read raw block data in Apache Ozone by crafting specific requests with known block IDs.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-39234?
CVE-2021-39234 is a medium-severity missing authorization vulnerability in Apache Ozone, published on 19 Nov 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
In Apache Ozone versions prior to 1.2.0, Authenticated users knowing the ID of an existing block can craft specific request allowing access those blocks, bypassing other security checks like ACL.
Which versions are affected by CVE-2021-39234?
2 open source packages ship an affected version, including org.apache.ozone:ozone-main. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.ozone:ozone-main Maven | All versions | 1.2.0 |
org.apache.ozone:ozone-main Maven | All versions | 1.2.0 |
Products include Apache Ozone.
How do I fix CVE-2021-39234?
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-39234 being exploited?
There is no known exploitation of CVE-2021-39234 in the wild and no public exploit code.
Other vulnerabilities in Apache Ozone
- CVE-2021-36372 Original block tokens are persisted and can be retrieved
- CVE-2021-39231 Missing authentication/authorization on internal RPC endpoints
- CVE-2021-39233 Container-related datanode operations can be called without authorization
- CVE-2021-39232 Missing admin check for SCM related admin commands
- CVE-2021-39236 Owners of the S3 tokens are not validated
Sources
Also known as GHSA-c8cw-2c5j-xff3.