Inverted Message Integrity Code Validation in Heimdal GSSAPI/ARCFour (CVE-2022-3437)

Inverted Message Integrity Code Validation in Heimdal GSSAPI/ARCFour (CVE-2022-3437)

CVE-2022-45142 · HIGH Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

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.

Learn more about our Api Penetration Testing.