{"id":"CVE-2021-39235","aliases":["EUVD-2021-2333","GHSA-c6j7-4fr9-c76p"],"status":"published","title":"Access mode of block tokens are not enforced","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.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.01551,"percentile":0.75457,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-732"],"published":"2021-11-19T09:20:23Z","modified":"2026-10-24T10:30:52Z","fixes":[{"ecosystem":"Maven","package":"org.apache.ozone:ozone-main","fixed_in":["1.2.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.ozone:ozone-main","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.0"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.apache.ozone:ozone-main","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.0"}]}]}],"products":[{"vendor":"apache","product":"ozone"},{"vendor":"apache software foundation","product":"apache ozone"}],"references":[{"url":"https://mail-archives.apache.org/mod_mbox/ozone-dev/202111.mbox/%3C93f88246-4320-7423-0dac-ec7a07f47455%40apache.org%3E","tags":["x_refsource_MISC","x_transferred","Mailing List","Vendor Advisory","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2021/11/19/6","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39235","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-c6j7-4fr9-c76p"},{"url":"https://github.com/apache/ozone","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-39235","title":"Access mode of block tokens are not enforced","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.","status":"published","published":"2021-11-19T09:20:23Z","modified":"2024-08-04T02:06:41.327Z","cwes":["CWE-732"],"updated_at":"2026-11-02T14:33:09.540052Z"}],"euvd":[{"id":"EUVD-2021-2333","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.","status":"published","published":"2021-11-19T09:20:23Z","modified":"2024-08-04T02:06:41Z","updated_at":"2026-11-03T03:24:23.719378Z"}],"ghsa":[{"id":"GHSA-c6j7-4fr9-c76p","title":"Incorrect permissions in Apache Ozone","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.","status":"published","published":"2021-11-23T18:17:41Z","modified":"2023-11-14T21:48:57Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-732"],"updated_at":"2026-11-02T14:37:22.040291Z"}],"nvd":[{"id":"CVE-2021-39235","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.","status":"published","published":"2021-11-19T10:15:08.303Z","modified":"2026-06-17T04:03:22.343Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-732"],"updated_at":"2026-11-02T14:07:01.428028Z"}],"osv":[{"id":"CVE-2021-39235","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.","status":"published","published":"2021-11-19T10:15:08.303Z","modified":"2026-10-24T10:30:52.071876657Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:20.843843Z"},{"id":"GHSA-c6j7-4fr9-c76p","title":"Incorrect permissions in Apache Ozone","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.","status":"published","published":"2021-11-23T18:17:41Z","modified":"2023-11-14T21:48:57Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-732"],"updated_at":"2026-11-02T15:46:44.571161Z"}]}}
