cve.bz

CVE-2022-45142 heimdal project heimdal

7.5 highEPSS 0.5%

High (7.5) in heimdal project heimdal. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-03-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-354 Improper Validation of Integrity Check Value
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-45142 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-45142?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-45142?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-45142 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
heimdal_project:heimdal7.7.1
heimdal_project:heimdal7.8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10heimdal7.5.0+dfsg-3+deb10u2DLA-3311-1
Debian11heimdal7.7.0+dfsg-2+deb11u3DSA-5344-1
Debian12, 13, 14heimdal7.8.git20221117.28daf24+dfsg-1.1DEBIAN-CVE-2022-45142
Ubuntu18.04:LTSheimdal7.5.0+dfsg-1ubuntu0.4UBUNTU-CVE-2022-45142 USN-5849-1
Ubuntu20.04:LTSheimdal7.7.0+dfsg-1ubuntu1.4UBUNTU-CVE-2022-45142 USN-5849-1
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 2 moreheimdalno fix listedUBUNTU-CVE-2022-45142
UbuntuPro:14.04:LTSheimdal1.6~git20131207+dfsg-1ubuntu1.2+esm4UBUNTU-CVE-2022-45142 USN-5849-1
UbuntuPro:16.04:LTSheimdal1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm4UBUNTU-CVE-2022-45142 USN-5849-1
Alpinev3.14heimdal7.7.1-r1ALPINE-CVE-2022-45142
Alpinev3.15, v3.16heimdal7.7.1-r0ALPINE-CVE-2022-45142
Alpinev3.17heimdal7.8.0-r1ALPINE-CVE-2022-45142
Alpinev3.18, v3.19, v3.20 and 4 moreheimdal7.8.0-r2ALPINE-CVE-2022-45142
Azure Linux2heimdal7.7.1-2AZL-25604
Azure Linux3heimdal7.8.0-3AZL-34797

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Samba in RHEL is not compiled to use the Heimdal Kerberos library.

Versions of Samba shipped in Red Hat Enterprise Linux are compiled to use the system MIT Kerberos using the "--with-system-mitkrb5" argument, and these installations are not impacted, as the vulnerable code is not compiled into Samba.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6sambaNot affected
Red Hat Enterprise Linux 7sambaNot affected
Red Hat Enterprise Linux 8sambaNot affected
Red Hat Enterprise Linux 9sambaNot affected
Red Hat Storage 3sambaNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-45142.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-046-11Siemens SCALANCE XCM-/XRM-3002024-02-13MultipleSCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 8 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-75 Manipulating Writeable Configuration Files Likelihood: High · Severity: Very High
  • CAPEC-145 Checksum Spoofing Severity: Medium
  • CAPEC-463 Padding Oracle Crypto Attack Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON