
Cloud Vulnerability DB
An open project to list all known cloud vulnerabilities and Cloud Service Provider security issues
PyJWT, a JSON Web Token implementation in Python, was found to have an incorrect string comparison vulnerability (CVE-2024-53861) in version 2.10.0. The issue was discovered and disclosed on November 28, 2024, affecting the issuer ('iss') claim verification functionality. The vulnerability allows partial string matches to be incorrectly accepted, where 'acb' could be accepted for 'abc' due to an improper string comparison method (GitHub Advisory).
The vulnerability was introduced when the issuer claim verification changed from using isinstance(issuer, list)
to isinstance(issuer, Sequence)
. Since str is a Sequence but not a list, the 'in' operator was used for string comparison instead of the equality operator. This resulted in checking if 'abc' not in '__abcd__'
instead of if 'abc' != '__abc__'
. The issue has been assigned a CVSS v3.1 score of 2.2 (Low) with vector string CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N (GitHub Advisory).
The real-world impact of this vulnerability is considered limited due to the requirement that signature checks must still be valid. While the incorrect string comparison could allow for unintended issuer validation matches, the overall security impact is mitigated by the JWT signature verification mechanism remaining intact (GitHub Advisory).
The vulnerability has been patched in PyJWT version 2.10.1. All users are advised to upgrade to this version. There are no known workarounds for this vulnerability other than upgrading to the patched version (NVD).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
An open project to list all known cloud vulnerabilities and Cloud Service Provider security issues
A comprehensive threat intelligence database of cloud security incidents, actors, tools and techniques
A step-by-step framework for modeling and improving SaaS and PaaS tenant isolation
Get a personalized demo
“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
“We know that if Wiz identifies something as critical, it actually is.”