NULL pointer dereference in Lestrrat-Go Jwx
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS: 0.009 (57.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 57th percentile — 57.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.009 · newest: 0.009 · change: 0.000
Affected products
- Lestrrat-Go Jwx — versions >= 2.0.0, < 2.0.19, >= 1.0.8, < 1.2.28
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/lestrrat-go/jwx/security/advisories/GHSA-pvcr-v8j8-j5q3 (Exploit, Vendor Advisory)
- github.com/lestrrat-go/jwx/commit/0e8802ce6842625845d651456493e7c87625601f (Patch)
- github.com/lestrrat-go/jwx/commit/8c53d0ae52d5ab1e2b37c5abb67def9e7958fd65
- github.com/lestrrat-go/jwx/commit/d69a721931a5c48b9850a42404f18e143704adcd (Patch)
Frequently asked questions
- What is CVE-2024-21664?
- CVE-2024-21664 is a medium-severity vulnerability in Lestrrat-Go Jwx, classified under NULL Pointer Dereference. CVSS score: 4.3/10. Published 2024-01-09.
- How severe is CVE-2024-21664?
- Medium severity. CVSS v3 base score is 4.3 out of 10.
- Is CVE-2024-21664 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.