Lookup for vulnerabilities affecting packages.
| Vulnerability_id | VCID-c1pr-7t6u-hkcr |
| Summary | PyJWT is a JSON Web Token implementation in Python. From 2.8.0 to 2.12.1, when verifying detached JWS tokens using the unencoded-payload option ("b64": false, RFC 7797), PyJWT performs Base64URL decoding of the compact-serialization payload segment before enforcing the detached-payload rules. For b64=false, PyJWT later discards that decoded payload and replaces it with the caller-provided detached_payload. In practice, this turns the middle segment into an attacker-controlled “work amplifier”: a remote client can supply an arbitrarily large Base64URL payload segment that forces CPU work + memory allocations even if the signature is invalid. This creates an unauthenticated DoS vector against any endpoint that verifies detached JWS using PyJWT. This vulnerability is fixed in 2.13.0. |
| Aliases |
| 0 |
|
| 1 |
| alias |
GHSA-w7vc-732c-9m39 |
|
| 2 |
|
|
| Fixed_packages |
|
| Affected_packages |
|
| References |
|
| Weaknesses |
| 0 |
| cwe_id |
770 |
| name |
Allocation of Resources Without Limits or Throttling |
| description |
The product allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor. |
|
|
| Exploits |
|
| Severity_range_score | 5.3 - 7.5 |
| Exploitability | 0.5 |
| Weighted_severity | 4.8 |
| Risk_score | 2.4 |
| Resource_url | http://public2.vulnerablecode.io/vulnerabilities/VCID-c1pr-7t6u-hkcr |