Lucene search

K
cvelistGitHub_MCVELIST:CVE-2024-21664
HistoryJan 09, 2024 - 7:18 p.m.

CVE-2024-21664 Parsing JSON serialized payload without protected field can lead to segfault

2024-01-0919:18:03
CWE-476
GitHub_M
www.cve.org
cve-2024-21664
json serialized payload
jwx
jws
nil pointer dereference
patched vulnerability

4.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

0.001 Low

EPSS

Percentile

23.2%

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.

CNA Affected

[
  {
    "vendor": "lestrrat-go",
    "product": "jwx",
    "versions": [
      {
        "version": ">= 2.0.0, < 2.0.19",
        "status": "affected"
      },
      {
        "version": ">= 1.0.8, < 1.2.28",
        "status": "affected"
      }
    ]
  }
]

4.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

0.001 Low

EPSS

Percentile

23.2%