ubuntu-cve-2021-36222
Vulnerability from osv_ubuntu
Published
2021-07-22 18:15
Modified
2026-04-22 07:40
Summary
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.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "krb5-admin-server",
            "binary_version": "1.16-2ubuntu0.4"
          },
          {
            "binary_name": "krb5-gss-samples",
            "binary_version": "1.16-2ubuntu0.4"
          },
          {
            "binary_name": "krb5-k5tls",
            "binary_version": "1.16-2ubuntu0.4"
          },
          {
            "binary_name": "krb5-kdc",
            "binary_version": "1.16-2ubuntu0.4"
          },
          {
            "binary_name": "krb5-kdc-ldap",
            "binary_version": "1.16-2ubuntu0.4"
          },
          {
            "binary_name": "krb5-kpropd",
            "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-pkinit",
            "binary_version": "1.16-2ubuntu0.4"
          },
          {
            "binary_name": "krb5-user",
            "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": "libkrad0",
            "binary_version": "1.16-2ubuntu0.4"
          },
          {
            "binary_name": "libkrb5-3",
            "binary_version": "1.16-2ubuntu0.4"
          },
          {
            "binary_name": "libkrb5support0",
            "binary_version": "1.16-2ubuntu0.4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "krb5",
        "purl": "pkg:deb/ubuntu/krb5@1.16-2ubuntu0.4?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.16-2ubuntu0.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "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",
        "binaries": [
          {
            "binary_name": "krb5-admin-server",
            "binary_version": "1.17-6ubuntu4.3"
          },
          {
            "binary_name": "krb5-gss-samples",
            "binary_version": "1.17-6ubuntu4.3"
          },
          {
            "binary_name": "krb5-k5tls",
            "binary_version": "1.17-6ubuntu4.3"
          },
          {
            "binary_name": "krb5-kdc",
            "binary_version": "1.17-6ubuntu4.3"
          },
          {
            "binary_name": "krb5-kdc-ldap",
            "binary_version": "1.17-6ubuntu4.3"
          },
          {
            "binary_name": "krb5-kpropd",
            "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-pkinit",
            "binary_version": "1.17-6ubuntu4.3"
          },
          {
            "binary_name": "krb5-user",
            "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": "libkrad0",
            "binary_version": "1.17-6ubuntu4.3"
          },
          {
            "binary_name": "libkrb5-3",
            "binary_version": "1.17-6ubuntu4.3"
          },
          {
            "binary_name": "libkrb5support0",
            "binary_version": "1.17-6ubuntu4.3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "krb5",
        "purl": "pkg:deb/ubuntu/krb5@1.17-6ubuntu4.3?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.17-6ubuntu4.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.17-6",
        "1.17-6ubuntu3",
        "1.17-6ubuntu4",
        "1.17-6ubuntu4.1",
        "1.17-6ubuntu4.2"
      ]
    }
  ],
  "aliases": [],
  "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.",
  "id": "UBUNTU-CVE-2021-36222",
  "modified": "2026-04-22T07:40:06Z",
  "published": "2021-07-22T18:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2021-36222"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-5959-1"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2021-36222"
    }
  ],
  "related": [
    "USN-5959-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2021-36222"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…