High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-20264
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:20 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-20264
Complete source record
{
"id": "022bda021ec5638e365545cfe11be9390d43d6e3184136f758938b4be24f9152",
"url": "https://osv.dev/vulnerability/CVE-2021-20264",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-20264",
"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.",
"evidence": "osv:CVE-2021-20264",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-20264",
"aliases": [
"CVE-2021-20264"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/openjdk/jdk",
"type": "GIT",
"events": [
{
"introduced": "da75f3c4ad5bdf25167a3ed80e51f567ab3dbd01"
},
{
"last_affected": "da75f3c4ad5bdf25167a3ed80e51f567ab3dbd01"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:oracle:openjdk:11:*:*:*:*:*:*:*",
"range": [
{
"introduced": "11"
},
{
"last_affected": "11"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"11",
"jdk-11-ga",
"jdk-11+28"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20264.json"
}
},
{
"ranges": [
{
"repo": "https://github.com/openjdk/jdk15u",
"type": "GIT",
"events": [
{
"introduced": "a9a271179d2a7952154b7509a999b100cc98b13c"
},
{
"last_affected": "a9a271179d2a7952154b7509a999b100cc98b13c"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:oracle:openjdk:11:*:*:*:*:*:*:*",
"range": [
{
"introduced": "11"
},
{
"last_affected": "11"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"11",
"jdk-11+0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20264.json"
}
}
],
"modified": "2026-10-24T10:31:06.246282176Z",
"provider": "osv",
"references": [
"https://bugzilla.redhat.com/show_bug.cgi?id=1932283"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:oracle:openjdk:1.8.0:*:*:*:*:*:*:*",
"cpe:2.3:a:oracle:openjdk:11:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:openjdk",
"extracted_events": [
{
"range": [
{
"introduced": "1.8.0"
},
{
"last_affected": "1.8.0"
},
{
"introduced": "1.8.0"
},
{
"last_affected": "1.8.0"
},
{
"introduced": "1.8.0"
},
{
"last_affected": "1.8.0"
},
{
"introduced": "11"
},
{
"last_affected": "11"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-20264",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 440946,
"published_at": "2021-10-06T16:15:07.297+00:00"
}