Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-53861

2.2 · LOW
Published Nov 29, 2024 pyjwt_project CWE-697 EPSS 0.81% (54th pctl)

Overview

CVE-2024-53861 is a low-severity vulnerability affecting pyjwt_project pyjwt. It was published on November 29, 2024 and has a CVSS 3.1 base score of 2.2 (LOW).

This vulnerability has a CVSS 3.1 base score of 2.2, rated LOW. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

pyjwt is a JSON Web Token implementation in Python. An incorrect string comparison is run for `iss` checking, resulting in `"acb"` being accepted for `"_abc_"`. This is a bug introduced in version 2.10.0: checking the "iss" claim changed from `isinstance(issuer, list)` to `isinstance(issuer, Sequence)`. Since str is a Sequnce, but not a list, `in` is also used for string comparison. 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. This issue has been patched in version 2.10.1. All users are advised to upgrade. There are no known workarounds for this vulnerability.

Remediation

Check the references section for vendor advisories and patches from pyjwt_project. Update pyjwt to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status

Frequently Asked Questions

What is CVE-2024-53861?

CVE-2024-53861 is a low-severity vulnerability affecting pyjwt_project pyjwt. It was published on November 29, 2024 and has a CVSS 3.1 base score of 2.2 (LOW).

How severe is CVE-2024-53861?

This vulnerability has a CVSS 3.1 base score of 2.2, rated LOW. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-53861?

Check the references section for vendor advisories and patches from pyjwt_project. Update pyjwt to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-53861?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-53861 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.