CVE-2024-21664

CVE-2024-21664 is a medium-severity vulnerability in Lestrrat-go Jwx with a CVSS 3.x base score of 4.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-476.

Key facts

Description

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.

Frequently asked questions

What is CVE-2024-21664?
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.
How severe is CVE-2024-21664?
CVE-2024-21664 has a CVSS 3.x base score of 4.3, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is none, integrity none, and availability low.
Is CVE-2024-21664 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (54th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-21664?
CVE-2024-21664 affects Lestrrat-go Jwx. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2024-21664?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2024-21664 have an EU (EUVD) identifier?
Yes. CVE-2024-21664 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-0395.
When was CVE-2024-21664 published?
CVE-2024-21664 was published on 2024-01-09 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Lestrrat-go Jwx

All CVEs affecting Lestrrat-go Jwx →

Other CWE-476 (NULL Pointer Dereference) vulnerabilities

Browse all CWE-476 (NULL Pointer Dereference) vulnerabilities →