Vulnerability in heimdal
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as UBUNTU-CVE-2022-42898 has been found in heimdal.
Successful exploitation can lead to full system takeover.
What to do: upgrade heimdal to 1.6~git20131207+dfsg-1ubuntu1.2+esm3 or later.
If unsure, ask your IT team or search "heimdal UBUNTU-CVE-2022-42898" on the vendor's site.
UBUNTU-CVE-2022-42898 (heimdal)
Attack vector: remote (network-reachable) / no user interaction
Patched: 1.6~git20131207+dfsg-1ubuntu1.2+esm3 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (unclassified) exists in heimdal.
Check the vendor advisory for the affected versions of heimdal.
Severity: ?. Successful exploitation can lead to full system takeover.
Update to 1.6~git20131207+dfsg-1ubuntu1.2+esm3.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'heimdal' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'heimdal' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
heimdalを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade heimdal to 1.6~git20131207+dfsg-1ubuntu1.2+esm3ステージング環境で 1.6~git20131207+dfsg-1ubuntu1.2+esm3 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSheimdal |
< 1.6~git20131207+dfsg-1ubuntu1.2+esm3→ 1.6~git20131207+dfsg-1ubuntu1.2+esm3 |
1.6~git20131207+dfsg-1ubuntu1.2+esm3 |
| Ubuntu:Pro:14.04:LTSkrb5 |
< 1.12+dfsg-2ubuntu5.4+esm3→ 1.12+dfsg-2ubuntu5.4+esm3 |
1.12+dfsg-2ubuntu5.4+esm3 |
| Ubuntu:Pro:14.04:LTSsamba |
< 2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13→ 2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13 |
2:4.3.11+dfsg-0ubuntu0.14.04.20+esm13 |
| Ubuntu:Pro:16.04:LTSheimdal |
< 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3→ 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3 |
1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3 |
| Ubuntu:Pro:16.04:LTSkrb5 |
< 1.13.2+dfsg-5ubuntu2.2+esm3→ 1.13.2+dfsg-5ubuntu2.2+esm3 |
1.13.2+dfsg-5ubuntu2.2+esm3 |
| Ubuntu:Pro:16.04:LTSsamba |
< 2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2→ 2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2 |
2:4.3.11+dfsg-0ubuntu0.16.04.34+esm2 |
| Ubuntu:18.04:LTSheimdal |
< 7.5.0+dfsg-1ubuntu0.3→ 7.5.0+dfsg-1ubuntu0.3 |
7.5.0+dfsg-1ubuntu0.3 |
| Ubuntu:18.04:LTSkrb5 |
< 1.16-2ubuntu0.3→ 1.16-2ubuntu0.3 |
1.16-2ubuntu0.3 |
| Ubuntu:Pro:18.04:LTSsamba |
< 2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1→ 2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1 |
2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm1 |
| Ubuntu:20.04:LTSheimdal |
< 7.7.0+dfsg-1ubuntu1.3→ 7.7.0+dfsg-1ubuntu1.3 |
7.7.0+dfsg-1ubuntu1.3 |
| Ubuntu:20.04:LTSkrb5 |
< 1.17-6ubuntu4.2→ 1.17-6ubuntu4.2 |
1.17-6ubuntu4.2 |
| Ubuntu:20.04:LTSsamba |
< 2:4.15.13+dfsg-0ubuntu0.20.04.1→ 2:4.15.13+dfsg-0ubuntu0.20.04.1 |
2:4.15.13+dfsg-0ubuntu0.20.04.1 |
| Ubuntu:22.04:LTSheimdal |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSkrb5 |
< 1.19.2-2ubuntu0.1→ 1.19.2-2ubuntu0.1 |
1.19.2-2ubuntu0.1 |
| Ubuntu:22.04:LTSsamba |
< 2:4.15.13+dfsg-0ubuntu1→ 2:4.15.13+dfsg-0ubuntu1 |
2:4.15.13+dfsg-0ubuntu1 |
| Ubuntu:24.04:LTSheimdal |
All versions→ Not listed |
Not listed |
| Ubuntu:25.10heimdal |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSheimdal |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10heimdal |
All versions→ Not listed |
Not listed |
Original description The description as published by the source.
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."
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- advisory ubuntu.com
- advisory ubuntu.com
- advisory ubuntu.com
- advisory ubuntu.com
- advisory ubuntu.com
- report ubuntu.com
- report samba.org
- report github.com
- report cve.org