CVE-2024-53861

Description

A flaw was found in the pyJWT package. An incorrect string comparison is run for iss checking, which allows for partial matches. This results in if "abc" not in "__abcd__": being checked instead of if "abc" != "__abc__":. Signature checks are still present so real world impact is likely limited to denial of service scenarios.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score2.27.52.2
Attack VectorNetworkNetworkNetwork
Attack ComplexityHighLowHigh
Privileges RequiredHighNoneHigh
User InteractionNoneNoneNone
ScopeUnchangedUnchangedUnchanged
ConfidentialityNoneNoneNone
Integrity ImpactNoneNoneLow
Availability ImpactLowHighNone

Vector

Red Hat: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:L

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

cve.org: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N

Understanding the Weakness (CWE)

Other

Technical Impact: Varies by Context

When the comparison is incorrect, it may lead to resultant weaknesses.

Frequently Asked Questions

Want to get errata notifications? Sign up here.