CVE-2022-45142
Reported by redhat · Published March 6, 2023
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| heimdal | Chainguard | 7.8.0-r1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | Samba | unknown |
| chainguard | heimdal | 0 |
| n/a | Samba | * |
| alpine | heimdal | 0, 0, 0 |
| heimdal_project | heimdal | |
| wolfi | heimdal | 0 |
Timeline
- Feb 8, 2023 CVE Published
- Mar 7, 2023 EPSS Score (30 in total, the first dated here)
- Mar 10, 2026 Security Advisory (3 in total, the first dated here)
- Mar 21, 2026 Distribution Patch
- Jun 13, 2026 Coalition ESS Score
- Jun 17, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-45142
vulnetix vdb fixes CVE-2022-45142
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-45142/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- GLSA-202310-06 vendor-advisory