CVE-2024-21664
January 09, 2024
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.
Affected Packages
github.com/lestrrat-go/jwx/v2 (GO):
Affected version(s) >=v2.0.0-alpha1 <v2.0.19Fix Suggestion:
Update to version v2.0.19github.com/lestrrat-go/jwx (GO):
Affected version(s) >=v1.0.8 <v1.2.28Fix Suggestion:
Update to version v1.2.28Additional Notes
The description of this vulnerability differs from MITRE.
Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
NULL Pointer Dereference
EPSS
Base Score:
0.18