{"schemaVersion":3,"id":"CVE-2022-45142","aliases":["ALPINE-CVE-2022-45142","MGASA-2023-0098","UBUNTU-CVE-2022-45142","USN-5849-1","DEBIAN-CVE-2022-45142","DLA-3311-1","DSA-5344-1","CGA-5fwh-ff5r-5f9f","CGA-rc2j-c23r-xqm2"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2023-03-06T00:00:00.000Z","modified":"2025-03-06T20:20:48.532Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00487,"percentile":0.40591,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.0040000000000000105,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00491},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00491,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00491,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00491,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00491,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00491,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00491,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00491,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00491,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00491,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00491,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00491,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00487,"percentile":0.40591}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00491,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00491,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00491,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00491,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00491,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00491,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00487,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00487,"percentile":0.40591}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-354","name":"Improper Validation of Integrity Check Value","description":"The product does not validate or incorrectly validates the integrity check values or \"checksums\" of a message. This may prevent it from detecting if the data has been modified or corrupted in transmission.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/354.html"}],"affected":[{"vendor":"alpine","product":"heimdal","name":"heimdal","label":"heimdal","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/heimdal","purlType":"apk","versions":[{"text":"< 7.7.1-r1","noFixRecorded":false,"fixedIn":null},{"text":"< 7.7.1-r0","noFixRecorded":false,"fixedIn":null},{"text":"< 7.8.0-r1","noFixRecorded":false,"fixedIn":null},{"text":"< 7.8.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.7.1-r1 | < 7.7.1-r0 | < 7.8.0-r1 | < 7.8.0-r2","eol":null,"hubHref":null},{"vendor":"chainguard","product":"heimdal","name":"heimdal","label":"heimdal","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/heimdal","purlType":"apk","versions":[{"text":"< 7.8.0-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.8.0-r1","eol":null,"hubHref":null},{"vendor":"wolfi","product":"heimdal","name":"heimdal","label":"heimdal","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/heimdal","purlType":"apk","versions":[{"text":"< 7.8.0-r1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.8.0-r1","eol":null,"hubHref":null},{"vendor":"debian","product":"heimdal","name":"heimdal","label":"heimdal","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/heimdal","purlType":"deb","versions":[{"text":"< 7.7.0+dfsg-2+deb11u3","noFixRecorded":false,"fixedIn":null},{"text":"< 7.5.0+dfsg-3+deb10u2","noFixRecorded":false,"fixedIn":null},{"text":"< 7.8.git20221117.28daf24+dfsg-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.7.0+dfsg-2+deb11u3 | < 7.5.0+dfsg-3+deb10u2 | < 7.8.git20221117.28daf24+dfsg-1.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"heimdal","name":"heimdal","label":"heimdal","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/heimdal","purlType":"deb","versions":[{"text":"< 1.6~git20131207+dfsg-1ubuntu1.2+esm4","noFixRecorded":false,"fixedIn":null},{"text":"< 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm4","noFixRecorded":false,"fixedIn":null},{"text":"< 7.5.0+dfsg-1ubuntu0.4","noFixRecorded":false,"fixedIn":null},{"text":"< 7.7.0+dfsg-1ubuntu1.4","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"< 1.6~git20131207+dfsg-1ubuntu1.2+esm4 | < 1.7~git20150920+dfsg-4ubuntu1.16.04.1+esm4 | < 7.5.0+dfsg-1ubuntu0.4 | < 7.7.0+dfsg-1ubuntu1.4 | All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"heimdal_project","product":"heimdal","name":"heimdal","label":"heimdal","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"7.7.1","noFixRecorded":false,"fixedIn":null},{"text":"7.8.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.7.1 | 7.8.0","eol":null,"hubHref":"/vendor/heimdal_project/heimdal"},{"vendor":"mageia","product":"heimdal","name":"heimdal","label":"heimdal","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/heimdal","purlType":"rpm","versions":[{"text":"< 7.7.1-1.3.mga8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.7.1-1.3.mga8","eol":null,"hubHref":null}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.openwall.com/lists/oss-security/2023/02/08/1","label":"www.openwall.com/lists/oss-security/2023/02/08/1","hostname":"www.openwall.com","tags":["WEB","REPORT","Mailing List"]},{"url":"https://security.gentoo.org/glsa/202310-06","label":"security.gentoo.org/glsa/202310-06","hostname":"security.gentoo.org","tags":["Vendor Advisory","Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2022-45142","label":"security.alpinelinux.org/vuln/CVE-2022-45142","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2023-0098.html","label":"advisories.mageia.org/MGASA-2023-0098.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=31530","label":"bugs.mageia.org/show_bug.cgi?id=31530","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://www.debian.org/security/2023/dsa-5344","label":"www.debian.org/security/2023/dsa-5344","hostname":"www.debian.org","tags":["WEB"]},{"url":"https://ubuntu.com/security/notices/USN-5849-1","label":"ubuntu.com/security/notices/USN-5849-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-45142","label":"ubuntu.com/security/CVE-2022-45142","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-45142","label":"www.cve.org/CVERecord?id=CVE-2022-45142","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-45142","label":"security-tracker.debian.org/tracker/CVE-2022-45142","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/45xxx/CVE-2022-45142.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2022/45xxx/CVE-2022-45142.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-45142","label":"nvd.nist.gov/vuln/detail/CVE-2022-45142","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-95P5-5MPQ-3743","CGA-H7J3-G9PF-QCFH"]},"timeline":[{"kind":"published","date":"2023-03-06T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-03-06T20:20:48.532Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T05:11:32.566Z","stale":false,"partial":false}}