{"cve":"CVE-2024-21664","nvd":{"published":"2024-01-09T20:15:43.740","modified":"2026-06-17T07:09:56.953","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-476"],"references":["https://github.com/lestrrat-go/jwx/commit/0e8802ce6842625845d651456493e7c87625601f","https://github.com/lestrrat-go/jwx/commit/8c53d0ae52d5ab1e2b37c5abb67def9e7958fd65","https://github.com/lestrrat-go/jwx/commit/d69a721931a5c48b9850a42404f18e143704adcd","https://github.com/lestrrat-go/jwx/security/advisories/GHSA-pvcr-v8j8-j5q3","https://github.com/lestrrat-go/jwx/commit/0e8802ce6842625845d651456493e7c87625601f"],"products":["lestrrat-go:jwx"],"source":"nvd","synced_at":"2026-10-19T21:43:38.875533635+00:00"},"epss":{"cve":"CVE-2024-21664","score":0.00864,"percentile":0.5864,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-pvcr-v8j8-j5q3","url":"https://osv.dev/vulnerability/GHSA-pvcr-v8j8-j5q3","summary":"Parsing JSON serialized payload without protected field can lead to segfault","modified":"2026-09-10T03:50:05.133510331Z","packages":[{"ecosystem":"Go","name":"github.com/lestrrat-go/jwx","purl":"pkg:golang/github.com/lestrrat-go/jwx","ranges":[">=1.0.8 <1.2.28"],"fixed":["1.2.28"]},{"ecosystem":"Go","name":"github.com/lestrrat-go/jwx/v2","purl":"pkg:golang/github.com/lestrrat-go/jwx/v2","ranges":["<2.0.19"],"fixed":["2.0.19"]}]},{"id":"GO-2024-2454","url":"https://osv.dev/vulnerability/GO-2024-2454","summary":"Panic due to nil pointer dereference in github.com/lestrrat-go/jwx/v2","modified":"2026-02-04T02:29:32.208398Z","packages":[{"ecosystem":"Go","name":"github.com/lestrrat-go/jwx","purl":"pkg:golang/github.com/lestrrat-go/jwx","ranges":[">=1.0.8 <1.2.28"],"fixed":["1.2.28"]},{"ecosystem":"Go","name":"github.com/lestrrat-go/jwx/v2","purl":"pkg:golang/github.com/lestrrat-go/jwx/v2","ranges":["<2.0.19"],"fixed":["2.0.19"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}