cve.bz

CVE-2021-20264 oracle openjdk: Incorrect Privilege Assignment

7.8 highEPSS 0.3%

High (7.8) in oracle openjdk. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 20th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-732 Incorrect Permission Assignment for Critical Resource
CWE-266 Incorrect Privilege Assignment
OWASP Top 10
A01:2025 Broken Access Control, A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain CVE-2021-20264 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-20264?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-20264?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-20264 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
oracle:openjdk1.8.0
oracle:openjdk11

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Build of OpenJDKopenjdk/openjdk-11-rhel7Fixed 2021-03-19RHSA-2021:0945
Red Hat Build of OpenJDKubi8/openjdk-11Fixed 2021-03-19RHSA-2021:0945
Red Hat Build of OpenJDKredhat-openjdk-18/openjdk18-openshiftFixed 2021-03-19RHSA-2021:0946
Red Hat Build of OpenJDKubi8/openjdk-8Fixed 2021-03-19RHSA-2021:0946

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-20264.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-732 (11).

References

Check your stackJSON