python-jose authentication bypass in JWT HMAC verification
mpdavis python-jose
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| mpdavis python-jose |
| No fix yet |
Original description
python-jose through 3.5.0 contains an authentication bypass vulnerability that allows unauthenticated attackers to forge JWTs because HMACKey and CryptographyHMACKey accept zero-length HMAC secrets. When an application's HS256/HS384/HS512 verification key resolves to empty, such as an oct JWK with empty k, attackers can forge tokens with arbitrary claims that jwt.decode accepts.
From the CVE record · VulnCheck