Security mailing lists by PureSourceCode

CVE-2024-21664

HIGH 7.5CVSS 3.1

Parsing JSON serialized payload without protected field can lead to segfault

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
9 Jan 2024
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-476
Also known as
GHSA-pvcr-v8j8-j5q3GO-2024-2454
Sources
NVDJSONOSV GHSA-pvcr-v8j8-j5q3JSONOSV GO-2024-2454JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 4.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
OSV GitHub CVSS 3.1 MEDIUM 4.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD lestrrat-go jwx
cpe:2.3:a:lestrrat-go:jwx:*:*:*:*:*:*:*:*
< 2.0.19 2.0.19
OSV Go github.com/lestrrat-go/jwx >= 1.0.8, < 1.2.28 1.2.28
OSV Go github.com/lestrrat-go/jwx/v2 < 2.0.19 2.0.19

References

History

  • 25 Nov 2026 20:37 UTC · NVD: first stored (published 9 Jan 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Jan 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 9 Jan 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.