Incorrect Comparison in pyjwt - CVE-2024-53861

 

Incorrect Comparison in pyjwt - CVE-2024-53861

Published: February 13, 2025


Vulnerability identifier: #VU103946
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2024-53861
CWE-ID: CWE-697
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: jpadilla (José Padilla)
Affected software:
pyjwt

Detailed vulnerability description

The vulnerability allows a remote attacker to modify data on the system.

The vulnerability exists due to an incorrect string comparison being run for `iss` checking, resulting in `"acb"` being accepted for `"_abc_"`. A remote attacker can trigger incorrect comparisons and modify data on the system.


How to mitigate CVE-2024-53861

Install updates from vendor's website.

Sources