Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Lestrrat-Go | Jwx | < 2.0.19 |
Related Weaknesses (CWE)
References
- https://github.com/lestrrat-go/jwx/commit/0e8802ce6842625845d651456493e7c8762560Patch
- https://github.com/lestrrat-go/jwx/commit/8c53d0ae52d5ab1e2b37c5abb67def9e7958fd
- https://github.com/lestrrat-go/jwx/commit/d69a721931a5c48b9850a42404f18e143704adPatch
- https://github.com/lestrrat-go/jwx/security/advisories/GHSA-pvcr-v8j8-j5q3ExploitVendor Advisory
- https://github.com/lestrrat-go/jwx/commit/0e8802ce6842625845d651456493e7c8762560Patch
- https://github.com/lestrrat-go/jwx/commit/8c53d0ae52d5ab1e2b37c5abb67def9e7958fd
- https://github.com/lestrrat-go/jwx/commit/d69a721931a5c48b9850a42404f18e143704adPatch
- https://github.com/lestrrat-go/jwx/security/advisories/GHSA-pvcr-v8j8-j5q3ExploitVendor Advisory
FAQ
What is CVE-2024-21664?
CVE-2024-21664 is a vulnerability with a CVSS score of 4.3 (MEDIUM). 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...
How severe is CVE-2024-21664?
CVE-2024-21664 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-21664?
Check the references section above for vendor advisories and patch information. Affected products include: Lestrrat-Go Jwx.