CVE-2021-39236: Apache Ozone user impersonation due to non-validation of Ozone S3 tokens
8.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.66049%
CWE
Published
11/23/2021
Updated
12/5/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.apache.hadoop:hadoop-ozone-ozone-manager | maven | < 1.2.0 | 1.2.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from missing authorization checks in S3 token validation. The commit diff shows critical validation logic was added to validateS3AuthInfo
, including checking owner != null and owner.equals(awsAccessId
). Prior to this patch, these checks were absent, enabling impersonation by manipulating the owner field while having valid S3 credentials. The test modifications further confirm this was the attack vector by demonstrating proper owner setting became required for validation.