# CVE-2021-20264: An insecure modification flaw in the /etc/passwd file was found in the openjdk-1.8 and openjdk-11 containers.

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2021-10-06T15:12:05.000Z
- Modified: 2026-06-17T03:33:34.150Z
- Weaknesses: CWE-266, CWE-732
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- containers/openjdk: openjdk 1.8
- oracle openjdk: 1.8.0; 11

## Every score

- NVD: 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`
- NVD: CVSS:2.0 4.6 Medium `AV:L/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1932283> (issue-tracking, third-party-advisory)

## Sources

- CVE List: [CVE-2021-20264](https://www.cve.org/CVERecord?id=CVE-2021-20264), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-20264](https://nvd.nist.gov/vuln/detail/CVE-2021-20264), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-20264 · Whole record: https://cve.day/CVE-2021-20264.json · Rebuilt by cve.day 2026-11-25T22:58:04.329Z
