cbcvebase.
CVE-2022-45142
published 2023-03-06

CVE-2022-45142: 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…

high7.5CVSS 3.1
AVNACLPRNUINSUCNIHAN
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

10 ranges
VendorProductVersion rangeFixed in
debianheimdal< heimdal 7.8.git20221117.28daf24+dfsg-1.1 (bookworm)heimdal 7.8.git20221117.28daf24+dfsg-1.1 (bookworm)
heimdal_projectheimdal
heimdal_projectheimdal
heimdal_projectheimdal>= 0 < 7.7.0+dfsg-2+deb11u37.7.0+dfsg-2+deb11u3
heimdal_projectheimdal>= 0 < 7.8.git20221117.28daf24+dfsg-1.17.8.git20221117.28daf24+dfsg-1.1
heimdal_projectheimdal>= 0 < 7.8.git20221117.28daf24+dfsg-1.17.8.git20221117.28daf24+dfsg-1.1
heimdal_projectheimdal>= 0 < 7.8.git20221117.28daf24+dfsg-1.17.8.git20221117.28daf24+dfsg-1.1
msrcazl3_heimdal_7.8.0-3_on_azure_linux_3.0
msrccbl2_heimdal_7.7.1-2_on_cbl_mariner_2.0
msrccm1_heimdal_7.7.1-2_on_cbl_mariner_1.0

CVSS provenance

nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
osv6.5MEDIUM