Skip to content
OpenAdvisories
High · 7.5 CVE-2022-45142 EUVD-2022-48057GHSA-5gp7-pf54-xc33

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 …

Published Mar 6, 2023 · Updated Mar 6, 2025 · Assigned by redhat

Description

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.

Affected products

VendorProductAffectedFixed
— Samba unknown —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 heimdal 7.8.git20221117.28daf24+dfsg-1.1 —
Debian 13 heimdal 7.8.git20221117.28daf24+dfsg-1.1 —
Debian 12 heimdal 7.8.git20221117.28daf24+dfsg-1.1 —
Debian 11 heimdal 7.7.0+dfsg-2+deb11u3 DSA-5344-1
Debian 10 heimdal 7.5.0+dfsg-3+deb10u2 DLA-3311-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 heimdal No fix yet —
Ubuntu 26.04 LTS heimdal No fix yet —
Ubuntu 25.10 heimdal No fix yet —
Ubuntu 24.04 LTS heimdal No fix yet —
Ubuntu 22.04 LTS heimdal No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS heimdal 7.7.0+dfsg-1ubuntu1.4 USN-5849-1
Ubuntu 18.04 LTS heimdal 7.5.0+dfsg-1ubuntu0.4 USN-5849-1
Ubuntu Pro 16.04 LTS heimdal 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm4 USN-5849-1
Ubuntu Pro 14.04 LTS heimdal 1.6~git20131207+dfsg-1ubuntu1.2+esm4 USN-5849-1
ReleasePackageFixed inAdvisory
Alpine v3.24 heimdal 7.8.0-r2 —
Alpine v3.23 heimdal 7.8.0-r2 —
Alpine v3.22 heimdal 7.8.0-r2 —
Alpine v3.21 heimdal 7.8.0-r2 —
Alpine v3.20 heimdal 7.8.0-r2 —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 heimdal 7.8.0-r2 —
Alpine v3.18 heimdal 7.8.0-r2 —
Alpine v3.17 heimdal 7.8.0-r1 —
Alpine v3.16 heimdal 7.7.1-r0 —
Alpine v3.15 heimdal 7.7.1-r0 —
Alpine v3.14 heimdal 7.7.1-r1 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 heimdal 7.8.0-3 —
Azure Linux 2 (CBL-Mariner) heimdal 7.7.1-2 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling heimdal 7.8.0-r1 —

Advisories 6

References