UBUNTU-CVE-2021-36222

Source
https://ubuntu.com/security/CVE-2021-36222
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-36222.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-36222
Related
Published
2021-07-22T18:15:00Z
Modified
2024-10-15T14:08:16Z
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

ecverify in kdc/kdcpreauth_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.

References

Affected packages

Ubuntu:18.04:LTS / krb5

Package

Name
krb5
Purl
pkg:deb/ubuntu/krb5?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.16-2ubuntu0.4

Affected versions

1.*

1.15.1-2
1.16-2
1.16-2build1
1.16-2ubuntu0.1
1.16-2ubuntu0.2
1.16-2ubuntu0.3

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "krb5-admin-server"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "krb5-admin-server-dbgsym"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "krb5-doc"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "krb5-gss-samples"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "krb5-gss-samples-dbgsym"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "krb5-k5tls"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "krb5-k5tls-dbgsym"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "krb5-kdc"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "krb5-kdc-dbgsym"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "krb5-kdc-ldap"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "krb5-kdc-ldap-dbgsym"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "krb5-kpropd"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "krb5-kpropd-dbgsym"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "krb5-locales"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "krb5-multidev"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "krb5-otp"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "krb5-otp-dbgsym"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "krb5-pkinit"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "krb5-pkinit-dbgsym"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "krb5-user"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "krb5-user-dbgsym"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "libgssapi-krb5-2"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "libgssrpc4"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "libk5crypto3"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "libkadm5clnt-mit11"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "libkadm5srv-mit11"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "libkdb5-9"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "libkrad-dev"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "libkrad0"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "libkrb5-3"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "libkrb5-dbg"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "libkrb5-dev"
        },
        {
            "binary_version": "1.16-2ubuntu0.4",
            "binary_name": "libkrb5support0"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / krb5

Package

Name
krb5
Purl
pkg:deb/ubuntu/krb5?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.15.1-2
1.16-2
1.16-2build1
1.16-2ubuntu0.1
1.16-2ubuntu0.1+esm1
1.16-2ubuntu0.2
1.16-2ubuntu0.2+esm1
1.16-2ubuntu0.3
1.16-2ubuntu0.4

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / krb5

Package

Name
krb5
Purl
pkg:deb/ubuntu/krb5?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.17-6ubuntu4.3

Affected versions

1.*

1.17-6
1.17-6ubuntu3
1.17-6ubuntu4
1.17-6ubuntu4.1
1.17-6ubuntu4.2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "krb5-admin-server"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "krb5-admin-server-dbgsym"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "krb5-doc"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "krb5-gss-samples"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "krb5-gss-samples-dbgsym"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "krb5-k5tls"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "krb5-k5tls-dbgsym"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "krb5-kdc"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "krb5-kdc-dbgsym"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "krb5-kdc-ldap"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "krb5-kdc-ldap-dbgsym"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "krb5-kpropd"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "krb5-kpropd-dbgsym"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "krb5-locales"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "krb5-multidev"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "krb5-otp"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "krb5-otp-dbgsym"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "krb5-pkinit"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "krb5-pkinit-dbgsym"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "krb5-user"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "krb5-user-dbgsym"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "libgssapi-krb5-2"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "libgssrpc4"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "libk5crypto3"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "libkadm5clnt-mit11"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "libkadm5srv-mit11"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "libkdb5-9"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "libkrad-dev"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "libkrad0"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "libkrb5-3"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "libkrb5-dbg"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "libkrb5-dev"
        },
        {
            "binary_version": "1.17-6ubuntu4.3",
            "binary_name": "libkrb5support0"
        }
    ]
}

Ubuntu:22.04:LTS / krb5

Package

Name
krb5
Purl
pkg:deb/ubuntu/krb5?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.19.2-2

Affected versions

1.*

1.18.3-6
1.18.3-7
1.19.2-0ubuntu1
1.19.2-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.19.2-2",
            "binary_name": "krb5-admin-server"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "krb5-admin-server-dbgsym"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "krb5-doc"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "krb5-gss-samples"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "krb5-gss-samples-dbgsym"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "krb5-k5tls"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "krb5-k5tls-dbgsym"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "krb5-kdc"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "krb5-kdc-dbgsym"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "krb5-kdc-ldap"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "krb5-kdc-ldap-dbgsym"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "krb5-kpropd"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "krb5-kpropd-dbgsym"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "krb5-locales"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "krb5-multidev"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "krb5-otp"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "krb5-otp-dbgsym"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "krb5-pkinit"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "krb5-pkinit-dbgsym"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "krb5-user"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "krb5-user-dbgsym"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "libgssapi-krb5-2"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "libgssrpc4"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "libk5crypto3"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "libkadm5clnt-mit12"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "libkadm5srv-mit12"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "libkdb5-10"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "libkrad-dev"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "libkrad0"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "libkrb5-3"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "libkrb5-dbg"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "libkrb5-dev"
        },
        {
            "binary_version": "1.19.2-2",
            "binary_name": "libkrb5support0"
        }
    ]
}