CVE-2021-39231: Apache Ozone - Exposure of Sensitive Information
Summary
CVE-2021-39231: Exposure of sensitive information in Apache Ozone. Affects org.apache.ozone:ozone-main versions < 1.2.0. Fixed in 1.2.0. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Apache Ozone is an open-source distributed object store designed for high-performance and scalable storage of large datasets. It provides a reliable and fault-tolerant storage solution for big data applications. The 'org.apache.ozone:ozone-main' package is a key component of Apache Ozone, responsible for managing data nodes and replication configurations.
Vulnerability Detail
The vulnerability identified as CVE-2021-39231 in Apache Ozone versions prior to 1.2.0 allows an attacker to access sensitive information and modify Ratis replication configuration. This vulnerability arises due to the availability of various internal server-to-server RPC endpoints that can be exploited to download raw data from Datanode and Ozone manager. An attacker can potentially gain unauthorized access to critical data and manipulate the replication settings, leading to data integrity and confidentiality breaches.
How To Fix
Latest published version: 2.2.1 as of 23 Oct 2026
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
1.2.0
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, it is advised to restrict network access to the affected Apache Ozone instances. By implementing appropriate network security measures, such as firewall rules or network segmentation, the exposure of sensitive information can be minimized. However, this workaround does not address the root cause of the vulnerability and should only be considered as a temporary solution until the package is updated to a fixed version.
Conclusion
In conclusion, CVE-2021-39231 is a critical vulnerability in Apache Ozone that exposes sensitive information and allows unauthorized modification of replication configuration. Upgrading to Apache Ozone version 1.2.0 or later is the recommended solution to mitigate this vulnerability. Restricting network access can serve as a temporary workaround. For further assistance and support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for org.apache.ozone:ozone-main →
FAQ
Apache Ozone is an open-source distributed object store designed for high-performance and scalable storage of large datasets. It provides a reliable and fault-tolerant storage solution for big data applications.
This vulnerability allows an attacker to access sensitive information and modify Ratis replication configuration in Apache Ozone. It can lead to unauthorized data access, data manipulation, and potential data integrity and confidentiality breaches.
To fix this vulnerability, it is recommended to upgrade to Apache Ozone version 1.2.0 or later. This version includes the necessary security patches and mitigations to prevent unauthorized access and modification of sensitive information.
As a temporary workaround, you can restrict network access to the affected Apache Ozone instances. By implementing appropriate network security measures, such as firewall rules or network segmentation, the exposure of sensitive information can be minimized. However, this workaround should only be considered as a temporary solution until the package is updated to a fixed version.
For more information about this vulnerability, you can refer to the CVE-2021-39231 advisory on the Apache Ozone GitHub repository.
Related vulnerabilities
Recent vulnerabilities recorded for org.apache.ozone:ozone-main.