{"id":"CVE-2022-45142","details":"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.","modified":"2026-08-12T03:51:31.809714130Z","published":"2023-03-06T00:00:00Z","related":["CGA-95p5-5mpq-3743","openSUSE-SU-2024:12846-1"],"database_specific":{"cna_assigner":"redhat","cwe_ids":["CWE-354"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/45xxx/CVE-2022-45142.json"},"references":[{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2023/02/08/1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/45xxx/CVE-2022-45142.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-45142"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202310-06"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/heimdal/heimdal","events":[{"introduced":"78077c39e355766221383ee48c8b9be0459a82a4"},{"last_affected":"a6cf94577c0d1e5bca5304342e4ddffb18255afe"}],"database_specific":{"extracted_events":[{"introduced":"7.7.1"},{"last_affected":"7.7.1"},{"introduced":"7.8.0"},{"last_affected":"7.8.0"}],"source":"CPE_STRING","cpe":["cpe:2.3:a:heimdal_project:heimdal:7.7.1:*:*:*:*:*:*:*","cpe:2.3:a:heimdal_project:heimdal:7.8.0:*:*:*:*:*:*:*"]}}],"versions":["7.7.1","7.8.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-45142.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}