CVE-2021-20264

Source
https://cve.org/CVERecord?id=CVE-2021-20264
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20264.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-20264
Published
2021-10-06T16:15:07.297Z
Modified
2026-07-08T06:47:57.472560919Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:a:oracle:openjdk:1.8.0:*:*:*:*:*:*:*"
            ],
            "source": "CPE_STRING",
            "vendor_product": "oracle:openjdk",
            "extracted_events": [
                {
                    "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"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/openjdk/jdk

Affected ranges

Type
GIT
Repo
https://github.com/openjdk/jdk
Events
Database specific
{
    "cpe": "cpe:2.3:a:oracle:openjdk:11:*:*:*:*:*:*:*",
    "source": "CPE_STRING",
    "extracted_events": [
        {
            "introduced": "11"
        },
        {
            "last_affected": "11"
        }
    ]
}

Affected versions

Other
11
jdk-11+28
jdk-11-ga

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20264.json"

Git / github.com/openjdk/jdk15u

Affected ranges

Type
GIT
Repo
https://github.com/openjdk/jdk15u
Events
Database specific
{
    "cpe": "cpe:2.3:a:oracle:openjdk:11:*:*:*:*:*:*:*",
    "source": "CPE_STRING",
    "extracted_events": [
        {
            "introduced": "11"
        },
        {
            "last_affected": "11"
        }
    ]
}

Affected versions

Other
11
jdk-11+0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-20264.json"