Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. PyJWT
  4. ›
  5. CVE-2024-53861

CVE-2024-53861: PyJWT Issuer field partial matches allowed

December 2, 2024

The wrong string if check is run for iss checking, resulting in "acb" being accepted for "_abc_".

References

  • github.com/advisories/GHSA-75c5-xw7c-p5pm
  • github.com/jpadilla/pyjwt
  • github.com/jpadilla/pyjwt/commit/1570e708672aa9036bc772476beae8bfa48f4131
  • github.com/jpadilla/pyjwt/commit/33022c25525c1020869c71ce2a4109e44ae4ced1
  • github.com/jpadilla/pyjwt/security/advisories/GHSA-75c5-xw7c-p5pm
  • nvd.nist.gov/vuln/detail/CVE-2024-53861

Code Behaviors & Features

Detect and mitigate CVE-2024-53861 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.10.0 before 2.10.1, version 2.10.0

Fixed versions

  • 2.10.1

Solution

Upgrade to version 2.10.1 or above.

Impact 2.2 LOW

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

Learn more about CVSS

Weakness

  • CWE-697: Incorrect Comparison

Source file

pypi/PyJWT/CVE-2024-53861.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:42 +0000.