cve.bz

CVE-2024-21664

7.5 highEPSS 0.9%

High (7.5) in lestrrat-go jwx. EPSS 0.9% chance of exploitation in the next 30 days. Fixed in github.com/lestrrat-go/jwx 1.2.28.

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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.9% chance of exploitation in the next 30 days; higher than 58% of CVEs (scores of 2026-10-31)
CWE
CWE-476
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-pvcr-v8j8-j5q3Gogithub.com/lestrrat-go/jwx>=1.0.8 <1.2.281.2.28
GHSA-pvcr-v8j8-j5q3Gogithub.com/lestrrat-go/jwx/v2<2.0.192.0.19
GO-2024-2454Gogithub.com/lestrrat-go/jwx>=1.0.8 <1.2.281.2.28
GO-2024-2454Gogithub.com/lestrrat-go/jwx/v2<2.0.192.0.19

References

Check your stackJSON