{"id":"CVE-2021-39235","state":"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.","publishedAt":"2021-11-19T09:20:23.000Z","updatedAt":"2024-08-04T02:06:41.327Z","severity":null,"assigner":"apache","products":["Apache Software Foundation Apache Ozone"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Ozone","versions":[{"version":"1.0","status":"affected","lessThanOrEqual":"1.0","versionType":"custom"}]}],"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"],"weaknesses":["CWE-732"],"ingestedAt":"2026-10-29T19:48:52.666Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/39xxx/CVE-2021-39235.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-39235","state":"PUBLISHED","datePublished":"2021-11-19T09:20:23.000Z","dateUpdated":"2024-08-04T02:06:41.327Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2021-08-17T00:00:00.000Z"},"containers":{"cna":{"title":"Access mode of block tokens are not enforced","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Ozone","versions":[{"version":"1.0","status":"affected","lessThanOrEqual":"1.0","versionType":"custom"}]}],"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"]},{"url":"http://www.openwall.com/lists/oss-security/2021/11/19/6","name":"[oss-security] 20211118 CVE-2021-39235: Apache Ozone: Access mode of block tokens are not enforced","tags":["mailing-list","x_refsource_MLIST"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-732","description":"CWE-732 Incorrect Permission Assignment for Critical Resource","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2023-11-13T12:47:55.398Z"},"credits":[{"lang":"en","value":"Apache Ozone would like to thank Marton Elek for reporting this issue."}],"source":{"defect":["HDDS-4558","HDDS-4644"],"discovery":"UNKNOWN"},"workarounds":[{"lang":"en","value":"Upgrade to Apache Ozone release version 1.2.0"}],"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@apache.org","ID":"CVE-2021-39235","STATE":"PUBLIC","TITLE":"Access mode of block tokens are not enforced"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Apache Ozone","version":{"version_data":[{"version_affected":"<=","version_name":"1.0","version_value":"1.0"}]}}]},"vendor_name":"Apache Software Foundation"}]}},"credit":[{"lang":"eng","value":"Apache Ozone would like to thank Marton Elek for reporting this issue."}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":[{}],"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-732 Incorrect Permission Assignment for Critical Resource"}]}]},"references":{"reference_data":[{"name":"https://mail-archives.apache.org/mod_mbox/ozone-dev/202111.mbox/%3C93f88246-4320-7423-0dac-ec7a07f47455%40apache.org%3E","refsource":"MISC","url":"https://mail-archives.apache.org/mod_mbox/ozone-dev/202111.mbox/%3C93f88246-4320-7423-0dac-ec7a07f47455%40apache.org%3E"},{"name":"[oss-security] 20211118 CVE-2021-39235: Apache Ozone: Access mode of block tokens are not enforced","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2021/11/19/6"}]},"source":{"defect":["HDDS-4558","HDDS-4644"],"discovery":"UNKNOWN"},"work_around":[{"lang":"en","value":"Upgrade to Apache Ozone release version 1.2.0"}]}},"adp":[{"title":"CVE Program Container","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"]},{"url":"http://www.openwall.com/lists/oss-security/2021/11/19/6","name":"[oss-security] 20211118 CVE-2021-39235: Apache Ozone: Access mode of block tokens are not enforced","tags":["mailing-list","x_refsource_MLIST","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T02:06:41.327Z"}}]}}}