CVE-2022-45142
NixOS vulnerability analysis and mitigation

Overview

CVE-2022-45142 is a vulnerability in Heimdal's GSSAPI implementation that emerged from an attempt to fix a previous vulnerability (CVE-2022-3437). The issue affects Heimdal versions 7.7.1 and 7.8.0 branches, where a logic inversion occurred during the backporting of patches, causing incorrect validation of message integrity codes in gssapi/arcfour. This vulnerability was discovered on December 9, 2022, by Helmut Grohne during the backporting of patches (Openwall Mailing List).

Technical details

The vulnerability stems from a logic inversion that occurred when fixing CVE-2022-3437, which involved changing memcmp to be constant time and 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, the validation of message integrity codes in gssapi/arcfour was accidentally inverted. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with a vector of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N (NVD Database).

Impact

The vulnerability could allow an attacker to cause a denial of service and potentially bypass message integrity checks in affected Heimdal installations. This issue affects multiple Linux distributions including certain versions of Debian, Fedora, and Ubuntu (Openwall Mailing List).

Mitigation and workarounds

Users are advised to upgrade to patched versions of Heimdal. For Ubuntu users, specific package versions have been released to address this vulnerability, including libgssapi3-heimdal version 7.7.0+dfsg-1ubuntu1.4 for Ubuntu 20.04 and corresponding versions for other Ubuntu releases. After updating, any applications using Heimdal libraries need to be restarted (Ubuntu Security Notice).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-65622MEDIUM5.4
  • PHPPHP
  • snipe-it
NoYesDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management