
CVE catalog
CVE-2022-45142
heimdal: CVE-2022-45142
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N/E:P/RL:O/RC:C - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.49% · Oct 22, 2026
The fix for CVE-2022-3437 included changing memcmp to be constant time and a workaround for a compiler bug by adding "!= 0" comparisons to the result of memcmp. When these patches were backported to the heimdal-7.7.1 and heimdal-7.8.0 branches (and possibly other branches) a logic inversion sneaked in causing the validation of message integrity codes in gssapi/arcfour to be inverted.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | heimdal | sid | 7.8.git20240113.1b4565a+dfsg-2 | fixed |
| Debian | heimdal | forky | 7.8.git20240113.1b4565a+dfsg-2 | fixed |
| Debian | heimdal | trixie | 7.8.git20221117.28daf24+dfsg-9+deb13u1 | fixed |
| Debian | heimdal | bookworm | 7.8.git20221117.28daf24+dfsg-2 | fixed |
| Ubuntu | heimdal | pro | 1.6~rc2+dfsg-10ubuntu1 | vulnerable |
| Ubuntu | heimdal | pro | 1.7~git20150920+dfsg-4ubuntu1 | vulnerable |
| Ubuntu | heimdal | pro | 1.7~git20150920+dfsg-4ubuntu1.16.04.1 | vulnerable |
| Ubuntu | heimdal | pro | 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm1 | vulnerable |
| Ubuntu | heimdal | pro | 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm2 | vulnerable |
| Ubuntu | heimdal | pro | 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm3 | vulnerable |
| Ubuntu | heimdal | pro | 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm4 | fixed |
| Ubuntu | heimdal | 18.04 | 7.4.0.dfsg.1-2 | vulnerable |
| Ubuntu | heimdal | 18.04 | 7.5.0+dfsg-1 | vulnerable |
| Ubuntu | heimdal | 18.04 | 7.5.0+dfsg-1ubuntu0.1 | vulnerable |
| Ubuntu | heimdal | 18.04 | 7.5.0+dfsg-1ubuntu0.2 | vulnerable |
| Ubuntu | heimdal | 18.04 | 7.5.0+dfsg-1ubuntu0.3 | vulnerable |
| Ubuntu | heimdal | 18.04 | 7.5.0+dfsg-1ubuntu0.4 | fixed |
| Ubuntu | heimdal | 20.04 | 7.5.0+dfsg-3build1 | vulnerable |
| Ubuntu | heimdal | 20.04 | 7.7.0+dfsg-1 | vulnerable |
| Ubuntu | heimdal | 20.04 | 7.7.0+dfsg-1ubuntu1 | vulnerable |
| Ubuntu | heimdal | 20.04 | 7.7.0+dfsg-1ubuntu1.1 | vulnerable |
| Ubuntu | heimdal | 20.04 | 7.7.0+dfsg-1ubuntu1.2 | vulnerable |
| Ubuntu | heimdal | 20.04 | 7.7.0+dfsg-1ubuntu1.3 | vulnerable |
| Ubuntu | heimdal | 20.04 | 7.7.0+dfsg-1ubuntu1.4 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | heimdal | source | sid | 7.8.git20221117.28daf24+dfsg-1.1 | not yet assigned | Not reported | [1030849] |
| Debian | heimdal | source | forky | 7.8.git20221117.28daf24+dfsg-1.1 | not yet assigned | Not reported | [1030849] |
| Debian | heimdal | source | trixie | 7.8.git20221117.28daf24+dfsg-1.1 | not yet assigned | Not reported | [1030849] |
| Debian | heimdal | source | bookworm | 7.8.git20221117.28daf24+dfsg-1.1 | not yet assigned | Not reported | [1030849] |
| Ubuntu | heimdal | deb | pro | 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm4 | Not reported | USN-5849-1 | Not reported |
| Ubuntu | heimdal | deb | 18.04 | 7.5.0+dfsg-1ubuntu0.4 | Not reported | USN-5849-1 | Not reported |
| Ubuntu | heimdal | deb | 20.04 | 7.7.0+dfsg-1ubuntu1.4 | Not reported | USN-5849-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [heimdal-clients]Fixed
Source package: [heimdal]
Details (2)
7.8.git20221117.28daf24+dfsg-2· amd64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
7.8.git20221117.28daf24+dfsg-2· arm64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
- [heimdal-dev]Fixed
Source package: [heimdal]
Details (2)
7.8.git20221117.28daf24+dfsg-2· amd64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
7.8.git20221117.28daf24+dfsg-2· arm64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
- [heimdal-docs]Fixed
Source package: [heimdal]
Details (2)
7.8.git20221117.28daf24+dfsg-2· all · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
7.8.git20221117.28daf24+dfsg-2· all · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
- [heimdal-kcm]Fixed
Source package: [heimdal]
Details (2)
7.8.git20221117.28daf24+dfsg-2· amd64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
7.8.git20221117.28daf24+dfsg-2· arm64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
- [heimdal-kdc]Fixed
Source package: [heimdal]
Details (2)
7.8.git20221117.28daf24+dfsg-2· amd64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
7.8.git20221117.28daf24+dfsg-2· arm64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
- [heimdal-multidev]Fixed
Source package: [heimdal]
Details (2)
7.8.git20221117.28daf24+dfsg-2· amd64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
7.8.git20221117.28daf24+dfsg-2· arm64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
- [heimdal-servers]Fixed
Source package: [heimdal]
Details (2)
7.8.git20221117.28daf24+dfsg-2· amd64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
7.8.git20221117.28daf24+dfsg-2· arm64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
- [libasn1-8-heimdal]Fixed
Source package: [heimdal]
Details (2)
7.8.git20221117.28daf24+dfsg-2· amd64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
7.8.git20221117.28daf24+dfsg-2· arm64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
- [libgssapi3-heimdal]Fixed
Source package: [heimdal]
Details (2)
7.8.git20221117.28daf24+dfsg-2· amd64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
7.8.git20221117.28daf24+dfsg-2· arm64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
- [libhcrypto5-heimdal]Fixed
Source package: [heimdal]
Details (2)
7.8.git20221117.28daf24+dfsg-2· amd64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
7.8.git20221117.28daf24+dfsg-2· arm64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
- [libhdb9-heimdal]Fixed
Source package: [heimdal]
Details (2)
7.8.git20221117.28daf24+dfsg-2· amd64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
7.8.git20221117.28daf24+dfsg-2· arm64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
- [libheimbase1-heimdal]Fixed
Source package: [heimdal]
Details (2)
7.8.git20221117.28daf24+dfsg-2· amd64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
7.8.git20221117.28daf24+dfsg-2· arm64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
- [libheimntlm0-heimdal]Fixed
Source package: [heimdal]
Details (2)
7.8.git20221117.28daf24+dfsg-2· amd64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
7.8.git20221117.28daf24+dfsg-2· arm64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
- [libhx509-5-heimdal]Fixed
Source package: [heimdal]
Details (2)
7.8.git20221117.28daf24+dfsg-2· amd64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
7.8.git20221117.28daf24+dfsg-2· arm64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
- [libkadm5clnt7-heimdal]Fixed
Source package: [heimdal]
Details (2)
7.8.git20221117.28daf24+dfsg-2· amd64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
7.8.git20221117.28daf24+dfsg-2· arm64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
- [libkadm5srv8-heimdal]Fixed
Source package: [heimdal]
Details (2)
7.8.git20221117.28daf24+dfsg-2· amd64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
7.8.git20221117.28daf24+dfsg-2· arm64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
- [libkafs0-heimdal]Fixed
Source package: [heimdal]
Details (2)
7.8.git20221117.28daf24+dfsg-2· amd64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
7.8.git20221117.28daf24+dfsg-2· arm64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
- [libkdc2-heimdal]Fixed
Source package: [heimdal]
Details (2)
7.8.git20221117.28daf24+dfsg-2· amd64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
7.8.git20221117.28daf24+dfsg-2· arm64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
- [libkrb5-26-heimdal]Fixed
Source package: [heimdal]
Details (2)
7.8.git20221117.28daf24+dfsg-2· amd64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
7.8.git20221117.28daf24+dfsg-2· arm64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
- [libotp0-heimdal]Fixed
Source package: [heimdal]
Details (2)
7.8.git20221117.28daf24+dfsg-2· amd64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
7.8.git20221117.28daf24+dfsg-2· arm64 · bookwormFixed · Fixed:
7.8.git20221117.28daf24+dfsg-1.1dsa · heimdal · debian · bookworm
Observed:
References
- [https://cert-portal.siemens.com/productcert/csaf/ssa-806742.json]
- [https://osv.dev/vulnerability/DLA-3311-1]
- [https://osv.dev/vulnerability/DSA-5344-1]
- [https://osv.dev/vulnerability/USN-5849-1]
- [https://security-tracker.debian.org/tracker/CVE-2022-45142]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-0310.json]
[CERT-Bund public advisories] · [CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database]