Incorrect permission assignment in containers/openjdk
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Privilege escalation
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-266.
Summary
An insecure modification flaw in the /etc/passwd file was found in the openjdk-1.8 and openjdk-11 containers. This flaw allows an attacker with access to the container to modify the /etc/passwd and escalate their privileges. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | containers/openjdk | openjdk 1.8 | — | No fix listed | CNA |
- containers/openjdk Vendor— Affected openjdk 1.8 Fixed in — No fix listed CNA
Remediation
Red Hat 2 advisories
- RHSA-2021:0945 Released 2021-03-19 · Red Hat rating ModerateRed Hat Build of OpenJDK 11 (container images) release and security update
- Red Hat Build of OpenJDK
- RHSA-2021:0946 Released 2021-03-19 · Red Hat rating ModerateRed Hat Build of OpenJDK 1.8 (container images) release and security update
- Red Hat Build of OpenJDK
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Build of OpenJDK | Fixed | RHSA-2021:0946 |
Timeline
- 2026-10-02 Threatist record created from CVE-2021-20264
- 2026-10-03 Alias added: GHSA-gx4p-prhw-c28v
References
More Oracle Openjdk vulnerabilities
- TI-2022-15084 Apache Xalan Java XSLT library is vulnerable to an integer truncation issue when processing malicious XSLT stylesheets CVSS 3.1HIGH 7.5
- TI-2013-00358 Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java… KEVCVSS 3.1LOW 3.7
- TI-2021-14286 Uncontrolled resource consumption in Oracle Java SE JDK and JRE CVSS 3.1MEDIUM 5.3
- TI-2021-14283 Protection mechanism failure in Oracle Java SE JDK and JRE CVSS 3.1MEDIUM 5.3
- TI-2021-02476 Out-of-bounds write in libxml2 CVSS 3.1HIGH 8.6
- TI-2022-05732 Deserialization of untrusted data in Oracle Java SE JDK and JRE CVSS 3.1MEDIUM 5.3
Sources
- CVE-2021-20264 · CVE Program
- CVE-2021-20264 · NVD
- FIRST EPSS
- GHSA-gx4p-prhw-c28v · GitHub Advisory Database · CC BY 4.0
- CVE-2021-20264 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences