CVEvulnerability
CVE-2022-45142
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2023-03-06
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-354
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.
Affected configurations
• heimdal project heimdal 7.7.1
• heimdal project heimdal 7.8.0
Related
Weakness · CWE (1)
- CWE-354 Improper Validation of Integrity Check Value weakness
References
- https://security.gentoo.org/glsa/202310-06 security.gentoo.org
- https://www.openwall.com/lists/oss-security/2023/02/08/1 Mailing List
- https://security.gentoo.org/glsa/202310-06 security.gentoo.org
- https://www.openwall.com/lists/oss-security/2023/02/08/1 Mailing List