{"id":"DEBIAN-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-04-28T20:24:46.192096Z","published":"2023-03-06T23:15:11.233Z","upstream":["CVE-2022-45142"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2022-45142"}],"affected":[{"package":{"name":"heimdal","ecosystem":"Debian:11","purl":"pkg:deb/debian/heimdal?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.7.0+dfsg-2+deb11u3"}]}],"versions":["7.7.0+dfsg-2","7.7.0+dfsg-2+deb11u1","7.7.0+dfsg-2+deb11u2"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-45142.json"}},{"package":{"name":"heimdal","ecosystem":"Debian:12","purl":"pkg:deb/debian/heimdal?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.8.git20221117.28daf24+dfsg-1.1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-45142.json"}},{"package":{"name":"heimdal","ecosystem":"Debian:13","purl":"pkg:deb/debian/heimdal?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.8.git20221117.28daf24+dfsg-1.1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-45142.json"}},{"package":{"name":"heimdal","ecosystem":"Debian:14","purl":"pkg:deb/debian/heimdal?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.8.git20221117.28daf24+dfsg-1.1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-45142.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}