CVE-2021-36222

Source
https://cve.org/CVERecord?id=CVE-2021-36222
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-36222.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-36222
Downstream
Related
Published
2021-07-22T18:15:23Z
Modified
2026-08-18T15:01:25Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

ec_verify in kdc/kdc_preauth_ec.c in the Key Distribution Center (KDC) in MIT Kerberos 5 (aka krb5) before 1.18.4 and 1.19.x before 1.19.2 allows remote attackers to cause a NULL pointer dereference and daemon crash. This occurs because a return value is not properly managed in a certain situation.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:a:mit:kerberos_5:*:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "fixed":  "1.18.4"
                }
            ],
            "source":  "CPE_RANGE",
            "vendor_product":  "mit:kerberos_5"
        },
        {
            "cpes":  [
                "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "10.0"
                },
                {
                    "last_affected":  "10.0"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "debian:debian_linux"
        }
    ]
}
References

Affected packages

Git / github.com/krb5/krb5

Affected ranges

Type
GIT
Repo
https://github.com/krb5/krb5
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Fixed
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:mit:kerberos_5:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "1.18.4"
        },
        {
            "introduced":  "1.19.0"
        },
        {
            "fixed":  "1.19.2"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

krb5-1.*
krb5-1.18-beta1
krb5-1.18-beta2
krb5-1.18-final
krb5-1.18.1-final
krb5-1.18.2-final
krb5-1.18.3-final
krb5-1.19-beta1
krb5-1.19-beta2
krb5-1.19-final
krb5-1.19.1-final

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-36222.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "11212649172673180521140604104188591304",
                "228806048721091709572489333951828356198",
                "321289942291638231764076182789317623244",
                "93469301882783218346945084207915710111"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2021-36222-4eafeb47",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/krb5/krb5/commit/fc98f520caefff2e5ee9a0026fdf5109944b3562",
        "target":  {
            "file":  "src/kdc/kdc_preauth_ec.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "137210320503581614737329061627982532169",
            "length":  2350
        },
        "id":  "CVE-2021-36222-f3fc596a",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/krb5/krb5/commit/fc98f520caefff2e5ee9a0026fdf5109944b3562",
        "target":  {
            "file":  "src/kdc/kdc_preauth_ec.c",
            "function":  "ec_verify"
        }
    }
]
vanir_signatures_modified
"2026-08-18T15:01:25Z"

Git / github.com/mysql/mysql-server

Affected ranges

Type
GIT
Repo
https://github.com/mysql/mysql-server
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:oracle:mysql_server:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "8.0.0"
        },
        {
            "last_affected":  "8.0.26"
        }
    ],
    "source":  "CPE_RANGE"
}

Database specific

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