CVE-2022-45142CWE-354

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

High · published March 6, 2023

CVSS v3.1
7.5
EPSS
0%
Percentile
40.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00487 · 40.9th percentile
Weakness
CWE-354 · Improper Validation of Integrity Check Value
Published
2023-03-06T00:00Z
EPSS history
Timeline
  • 06 MAR 00:00Z
    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
    cvelistv5