Advisory
UBUNTU-CVE-2022-42898
Also known as: CVE-2022-42898
Summary
The record has no summary.
Details
PAC parsing in MIT Kerberos 5 (aka krb5) before 1.19.4 and 1.20.x before 1.20.1 has integer overflows that may lead to remote code execution (in KDC, kadmind, or a GSS or Kerberos application server) on 32-bit platforms (which have a resultant heap-based buffer overflow), and cause a denial of service on other platforms. This occurs in krb5_pac_parse in lib/krb5/krb/pac.c. Heimdal before 7.7.1 has "a similar bug."
Severity
High Basis: CVSS v3 score 8.8, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Dates
- Published
- 2022-12-25 06:15 UTC
- Modified
- 2026-10-17 12:57 UTC
Affected packages and fixes
| Package | System | Affected | Fix |
|---|---|---|---|
| heimdal | Debian packages (deb) · Ubuntu 18.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| krb5 | Debian packages (deb) · Ubuntu 18.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| heimdal | Debian packages (deb) · Ubuntu 20.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| krb5 | Debian packages (deb) · Ubuntu 20.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| samba | Debian packages (deb) · Ubuntu 20.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| heimdal | Debian packages (deb) · Ubuntu 22.04 | introduced 0 | No fixed version is listed. |
| krb5 | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| samba | Debian packages (deb) · Ubuntu 22.04 | Earlier versions | sudo apt-get update && sudo apt-get upgrade |
| heimdal | Debian packages (deb) · Ubuntu 24.04 | introduced 0 | No fixed version is listed. |
| heimdal | Debian packages (deb) · Ubuntu 25.10 | introduced 0 | No fixed version is listed. |
| heimdal | Debian packages (deb) · Ubuntu 26.10 | introduced 0 | No fixed version is listed. |
| heimdal | Debian packages (deb) · Ubuntu 26.04 | introduced 0 | No fixed version is listed. |
Some commands upgrade the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Links
- https://ubuntu.com/security/CVE-2022-42898
- https://www.samba.org/samba/security/CVE-2022-42898.html
- https://github.com/heimdal/heimdal/security/advisories/GHSA-64mq-fvfj-5x3c
- https://ubuntu.com/security/notices/USN-5800-1
- https://ubuntu.com/security/notices/USN-5822-1
- https://ubuntu.com/security/notices/USN-5822-2
- https://ubuntu.com/security/notices/USN-5828-1
- https://ubuntu.com/security/notices/USN-5936-1
- https://www.cve.org/CVERecord?id=CVE-2022-42898
- https://ubuntu.com/security/notices/USN-7582-1
Source
Source: Ubuntu Security Notices · CC BY-SA 4.0