Vulnerability · Published Mar 6, 2023 · Assigned by redhat

CVE-2022-45142

High 7.5

In plain English

A high-severity security flaw in Samba. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.5%top 57.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20heimdal7.8.0-r2ALPINE-CVE-2022-45142
Alpine:v3.21heimdal7.8.0-r2ALPINE-CVE-2022-45142
Alpine:v3.22heimdal7.8.0-r2ALPINE-CVE-2022-45142
Alpine:v3.23heimdal7.8.0-r2ALPINE-CVE-2022-45142
Alpine:v3.24heimdal7.8.0-r2ALPINE-CVE-2022-45142
Debian:12heimdal7.8.git20221117.28daf24+dfsg-1.1DEBIAN-CVE-2022-45142
Debian:13heimdal7.8.git20221117.28daf24+dfsg-1.1DEBIAN-CVE-2022-45142
Debian:14heimdal7.8.git20221117.28daf24+dfsg-1.1DEBIAN-CVE-2022-45142
Ubuntu:22.04:LTSheimdalno fix listedUBUNTU-CVE-2022-45142
Ubuntu:24.04:LTSheimdalno fix listedUBUNTU-CVE-2022-45142
Ubuntu:25.10heimdalno fix listedUBUNTU-CVE-2022-45142
Ubuntu:26.04:LTSheimdalno fix listedUBUNTU-CVE-2022-45142
Ubuntu:26.10heimdalno fix listedUBUNTU-CVE-2022-45142

Affected products (as reported)

VendorProductVersions
n/a Samba unknown

Weakness: CWE-354 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

References