Python Jose
Monthly
Authentication bypass in python-jose through 3.5.0 allows a remote unauthenticated attacker (CVSS vector PR:N) to forge HS256/HS384/HS512 JSON Web Tokens with arbitrary claims that jwt.decode will accept, because the library's HMACKey and CryptographyHMACKey classes accept zero-length HMAC secrets. The flaw is only reachable in deployments where the application's HS-family verification key actually resolves to an empty value, such as an oct JWK whose 'k' member is empty - the AT:P attack-requirement in the CVSS 4.0 vector and the AC:H rating in the independently assessed CVSS 3.1 vector. Correctly configured applications that supply a non-empty, properly sourced HMAC secret are not exploitable; no public exploit code was identified at time of analysis, and the vendor issue tracker (mpdavis/python-jose#398) is the coordination point.
Token forgery in python-jose through 3.5.0 lets an attacker who possesses the service's asymmetric public key mint valid HS256 (HMAC) JWTs, because the library's HMAC key initialization accepts DER-encoded public keys that lack PEM armor or SSH prefixes and never rejects them as asymmetric material. This is a classic JWT algorithm-confusion (RSA/EC-to-HMAC) attack that succeeds whenever the verifying application does not explicitly restrict the accepted algorithms, and it represents an incomplete fix for CVE-2024-33663. There is no public exploit identified at time of analysis, though the technique is well-documented and the same class of flaw has prior public tooling.
python-jose through 3.3.0 allows attackers to cause a denial of service (resource consumption) during a decode via a crafted JSON Web Encryption (JWE) token with a high compression ratio, aka a "JWT. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.
python-jose through 3.3.0 has algorithm confusion with OpenSSH ECDSA keys and other key formats. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
python-jose before 1.3.2 allows attackers to have unspecified impact by leveraging failure to use a constant time comparison for HMAC keys. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity.
Authentication bypass in python-jose through 3.5.0 allows a remote unauthenticated attacker (CVSS vector PR:N) to forge HS256/HS384/HS512 JSON Web Tokens with arbitrary claims that jwt.decode will accept, because the library's HMACKey and CryptographyHMACKey classes accept zero-length HMAC secrets. The flaw is only reachable in deployments where the application's HS-family verification key actually resolves to an empty value, such as an oct JWK whose 'k' member is empty - the AT:P attack-requirement in the CVSS 4.0 vector and the AC:H rating in the independently assessed CVSS 3.1 vector. Correctly configured applications that supply a non-empty, properly sourced HMAC secret are not exploitable; no public exploit code was identified at time of analysis, and the vendor issue tracker (mpdavis/python-jose#398) is the coordination point.
Token forgery in python-jose through 3.5.0 lets an attacker who possesses the service's asymmetric public key mint valid HS256 (HMAC) JWTs, because the library's HMAC key initialization accepts DER-encoded public keys that lack PEM armor or SSH prefixes and never rejects them as asymmetric material. This is a classic JWT algorithm-confusion (RSA/EC-to-HMAC) attack that succeeds whenever the verifying application does not explicitly restrict the accepted algorithms, and it represents an incomplete fix for CVE-2024-33663. There is no public exploit identified at time of analysis, though the technique is well-documented and the same class of flaw has prior public tooling.
python-jose through 3.3.0 allows attackers to cause a denial of service (resource consumption) during a decode via a crafted JSON Web Encryption (JWE) token with a high compression ratio, aka a "JWT. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.
python-jose through 3.3.0 has algorithm confusion with OpenSSH ECDSA keys and other key formats. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
python-jose before 1.3.2 allows attackers to have unspecified impact by leveraging failure to use a constant time comparison for HMAC keys. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity.