VDB

CVE-2024-21664

CVE-2024-21664 PUBLISHED CVSS 7.5 HIGH

Parsing JSON serialized payload without protected field can lead to segfault

Record from NVD · Published January 9, 2024

jwx is a Go module implementing various JWx (JWA/JWE/JWK/JWS/JWT, otherwise known as JOSE) technologies. Calling `jws.Parse` with a JSON serialized payload where the `signature` field is present while `protected` is absent can lead to a nil pointer dereference. The vulnerability can be used to crash/DOS a system doing JWS verification. This vulnerability has been patched in versions 2.0.19 and 1.2.28.

EPSS 0.86% · 59.5th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
external-secrets-operatorWolfi0.9.11-r1
istio-cni-fips-1.19Chainguard1.19.6-r2

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score
0.86%
59.5th percentile

Affected products

VendorProductVersions
lestrrat-gojwx0

Timeline

  • Jan 9, 2024 CVE Published
  • Jan 9, 2024 PoC Published (5 in total, the first dated here)
  • Jan 9, 2024 CVE Updated
  • Jan 18, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (8 in total, the first dated here)
  • Jan 18, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-21664
vulnetix vdb fixes CVE-2024-21664

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-2024-21664/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

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