VDB

CVE-2022-45142

CVE-2022-45142 PUBLISHED CVSS 7.5 HIGH

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.

PackageEcosystemFixed in
heimdalChainguard7.8.0-r1

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected products

VendorProductVersions
n/aSambaunknown
chainguardheimdal0
n/aSamba*
alpineheimdal0, 0, 0
heimdal_projectheimdal
wolfiheimdal0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›