# CVE-2021-39235: Access mode of block tokens are not enforced

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.55%, higher than 75% of CVEs (2026-12-01)
- Published: 2021-11-19T09:20:23.000Z
- Modified: 2026-06-17T04:03:22.343Z
- Also known as: GHSA-c6j7-4fr9-c76p
- Weaknesses: CWE-732
- Assigned by: apache

## Description

In Apache Ozone before 1.2.0, Ozone Datanode doesn't check the access mode parameter of the block token. Authenticated users with valid READ block token can do any write operation on the same block.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Ozone: from 1.0 up to 1.0
- org.apache.ozone:ozone-main (Maven): before 1.2.0
- apache ozone: before 1.2.0

## Every score

- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:N`

## References

- <https://mail-archives.apache.org/mod_mbox/ozone-dev/202111.mbox/%3C93f88246-4320-7423-0dac-ec7a07f47455%40apache.org%3E> (mailing-list, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2021/11/19/6> (mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-39235> (advisory)
- <https://github.com/apache/ozone> (package)

## Sources

- CVE List: [CVE-2021-39235](https://www.cve.org/CVERecord?id=CVE-2021-39235), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-c6j7-4fr9-c76p](https://github.com/advisories/GHSA-c6j7-4fr9-c76p), CC-BY-4.0, modified 2023-11-14
- NVD: [CVE-2021-39235](https://nvd.nist.gov/vuln/detail/CVE-2021-39235), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-39235 · Whole record: https://cve.day/CVE-2021-39235.json · Rebuilt by cve.day 2026-11-25T22:58:05.666Z
