CVE-2022-45142 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 t...
HighCVSS 7.5
EPSS 0.49%
- Published
- Updated
- Exploit status
- No public exploit known
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/heimdal(Debian:12) | < 7.8.git20221117.28daf24+dfsg-1.1 | 7.8.git20221117.28daf24+dfsg-1.1 |
| debian/heimdal(Debian:13) | < 7.8.git20221117.28daf24+dfsg-1.1 | 7.8.git20221117.28daf24+dfsg-1.1 |
| debian/heimdal(Debian:14) | < 7.8.git20221117.28daf24+dfsg-1.1 | 7.8.git20221117.28daf24+dfsg-1.1 |
| ubuntu/heimdal(Ubuntu:22.04) | All versions | No fix listed |
| heimdal project heimdal | = 7.7.1 | No fix listed |
| heimdal project heimdal | = 7.8.0 | No fix listed |
| ubuntu/heimdal(Ubuntu:24.04) | All versions | No fix listed |
| alpine/heimdal(Alpine:v3.14) | < 7.7.1-r1 | 7.7.1-r1 |
| alpine/heimdal(Alpine:v3.15) | < 7.7.1-r0 | 7.7.1-r0 |
| alpine/heimdal(Alpine:v3.16) | < 7.7.1-r0 | 7.7.1-r0 |
| alpine/heimdal(Alpine:v3.17) | < 7.8.0-r1 | 7.8.0-r1 |
| alpine/heimdal(Alpine:v3.18) | < 7.8.0-r2 | 7.8.0-r2 |
| alpine/heimdal(Alpine:v3.19) | < 7.8.0-r2 | 7.8.0-r2 |
| alpine/heimdal(Alpine:v3.20) | < 7.8.0-r2 | 7.8.0-r2 |
| alpine/heimdal(Alpine:v3.21) | < 7.8.0-r2 | 7.8.0-r2 |
| alpine/heimdal(Alpine:v3.22) | < 7.8.0-r2 | 7.8.0-r2 |
| alpine/heimdal(Alpine:v3.23) | < 7.8.0-r2 | 7.8.0-r2 |
| alpine/heimdal(Alpine:v3.24) | < 7.8.0-r2 | 7.8.0-r2 |
| ubuntu/heimdal(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/heimdal(Ubuntu:26.10) | All versions | No fix listed |
References
- Debian Security Tracker CVE-2022-45142 vendor-advisory
- www.openwall.com mailing-list
- GLSA-202310-06 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-5849-1 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking