CVE-2024-33663
published 2024-04-26CVE-2024-33663: python-jose through 3.3.0 has algorithm confusion with OpenSSH ECDSA keys and other key formats. This is similar to CVE-2022-29217.
PriorityP430medium6.5CVSS 3.1
AVNACLPRNUINSUCLILAN
EPSS
0.31%
22.3th percentile
python-jose through 3.3.0 has algorithm confusion with OpenSSH ECDSA keys and other key formats. This is similar to CVE-2022-29217.
Affected
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| authlib | authlib | < 1.3.1 | 1.3.1 |
| authlib | authlib | — | — |
| authlib | authlib | >= 0 < 1.3.1 | 1.3.1 |
| debian | python-authlib | < python-authlib 0.15.4-1+deb11u1 (bullseye) | python-authlib 0.15.4-1+deb11u1 (bullseye) |
| debian | python-jose | — | — |
| mpdavis | python-jose | <= 3.5.0 | — |
| python-jose_project | python-jose | <= 3.3.0 | — |
| python-jose_project | python-jose | >= 0 < 3.4.0 | 3.4.0 |
| python-jose_project | python-jose | 0 – 3.5.0 | — |
| rhoai | odh-llama-stack-core-rhel9 | — | — |
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
ghsa7.5HIGH
osv7.5HIGH
vendor_debian7.4HIGH
vendor_redhat7.4HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
jose: python-jose: python-jose through 3.5.0 Algorithm Confusion via DER-encoded Public Key as HMAC Secret
vendor_redhat·2026-09-03·CVSS 6.5
CVE-2026-85394 [MEDIUM] CWE-347 jose: python-jose: python-jose through 3.5.0 Algorithm Confusion via DER-encoded Public Key as HMAC Secret
jose: python-jose: python-jose through 3.5.0 Algorithm Confusion via DER-encoded Public Key as HMAC Secret
python-jose through 3.5.0 fails to properly validate asymmetric keys in HMAC initialization, accepting DER-encoded public keys that lack PEM armor or SSH prefixes. Attackers holding the service's public key can forge HS256 tokens that pass verification when algorithms are not explicitly restricted. This is an incomplete fix for CVE-2024-33663.
A flaw was found in python-jose. A remote attacker who obtains the service's public key can exploit an algorithm confusion vulnerability when signature verification algorithms are not strictly restricted. By utilizing a specifically formatted public key as a shared secret key, the attacker can forge valid JSON Web Tokens (JWTs). This flaw allo
Red Hat
python-jose: algorithm confusion with OpenSSH ECDSA keys and other key formats
vendor_redhat·2024-04-26·CVSS 7.4
CVE-2024-33663 [HIGH] python-jose: algorithm confusion with OpenSSH ECDSA keys and other key formats
python-jose: algorithm confusion with OpenSSH ECDSA keys and other key formats
python-jose through 3.3.0 has algorithm confusion with OpenSSH ECDSA keys and other key formats. This is similar to CVE-2022-29217.
Package: python-jose (Red Hat Ansible Automation Platform 2) - Not affected
Debian
CVE-2024-33663: python-jose - python-jose through 3.3.0 has algorithm confusion with OpenSSH ECDSA keys and ot...
vendor_debian·2024·CVSS 7.4
CVE-2024-33663 [HIGH] CVE-2024-33663: python-jose - python-jose through 3.3.0 has algorithm confusion with OpenSSH ECDSA keys and ot...
python-jose through 3.3.0 has algorithm confusion with OpenSSH ECDSA keys and other key formats. This is similar to CVE-2022-29217.
Scope: local
bookworm: open
Debian
CVE-2024-37568: python-authlib - lepture Authlib before 1.3.1 has algorithm confusion with asymmetric public keys...
vendor_debian·2024·CVSS 7.4
CVE-2024-37568 [HIGH] CVE-2024-37568: python-authlib - lepture Authlib before 1.3.1 has algorithm confusion with asymmetric public keys...
lepture Authlib before 1.3.1 has algorithm confusion with asymmetric public keys. Unless an algorithm is specified in a jwt.decode call, HMAC verification is allowed with any asymmetric public key. (This is similar to CVE-2022-29217 and CVE-2024-33663.)
Scope: local
bookworm: open
bullseye: resolved (fixed in 0.15.4-1+deb11u1)
forky: resolved (fixed in 1.3.1-1)
sid: resolved (fixed in 1.3.1-1)
trixie: resolved (fixed in 1.3.1-1)
GHSA
python-jose through 3.5.0 fails to properly validate asymmetric keys in HMAC initialization, accepting DER-encoded public keys that lack PEM armor or SSH prefixes.
ghsa_unreviewed·2026-09-03·CVSS 6.5
CVE-2026-85394 [MEDIUM] CWE-347 python-jose through 3.5.0 fails to properly validate asymmetric keys in HMAC initialization, accepting DER-encoded public keys that lack PEM armor or SSH prefixes.
python-jose through 3.5.0 fails to properly validate asymmetric keys in HMAC initialization, accepting DER-encoded public keys that lack PEM armor or SSH prefixes. Attackers holding the service's public key can forge HS256 tokens that pass verification when algorithms are not explicitly restricted. This is an incomplete fix for CVE-2024-33663.
GHSA
python-jose algorithm confusion guard bypassed by DER-encoded public keys
ghsa·2026-09-03·CVSS 6.5
CVE-2026-85394 [MEDIUM] CWE-347 python-jose algorithm confusion guard bypassed by DER-encoded public keys
python-jose algorithm confusion guard bypassed by DER-encoded public keys
python-jose through 3.5.0 fails to properly validate asymmetric keys in HMAC initialization, accepting DER-encoded public keys that lack PEM armor or SSH prefixes. Attackers holding the service's public key can forge HS256 tokens that pass verification when algorithms are not explicitly restricted. This is an incomplete fix for CVE-2024-33663.
OSV
CVE-2024-37568: lepture Authlib before 1
osv·2024-06-09·CVSS 7.5
CVE-2024-37568 [HIGH] CVE-2024-37568: lepture Authlib before 1
lepture Authlib before 1.3.1 has algorithm confusion with asymmetric public keys. Unless an algorithm is specified in a jwt.decode call, HMAC verification is allowed with any asymmetric public key. (This is similar to CVE-2022-29217 and CVE-2024-33663.)
OSV
Authlib has algorithm confusion with asymmetric public keys
osv·2024-06-09·CVSS 7.5
CVE-2024-37568 [HIGH] Authlib has algorithm confusion with asymmetric public keys
Authlib has algorithm confusion with asymmetric public keys
lepture Authlib before 1.3.1 has algorithm confusion with asymmetric public keys. Unless an algorithm is specified in a jwt.decode call, HMAC verification is allowed with any asymmetric public key. (This is similar to CVE-2022-29217 and CVE-2024-33663.)
GHSA
Authlib has algorithm confusion with asymmetric public keys
ghsa·2024-06-09·CVSS 7.5
CVE-2024-37568 [HIGH] CWE-284 Authlib has algorithm confusion with asymmetric public keys
Authlib has algorithm confusion with asymmetric public keys
lepture Authlib before 1.3.1 has algorithm confusion with asymmetric public keys. Unless an algorithm is specified in a jwt.decode call, HMAC verification is allowed with any asymmetric public key. (This is similar to CVE-2022-29217 and CVE-2024-33663.)
OSV
CVE-2024-33663: python-jose through 3
osv·2024-04-26·CVSS 7.5
CVE-2024-33663 [HIGH] CVE-2024-33663: python-jose through 3
python-jose through 3.3.0 has algorithm confusion with OpenSSH ECDSA keys and other key formats. This is similar to CVE-2022-29217.
OSV
python-jose algorithm confusion with OpenSSH ECDSA keys
osv·2024-04-26·CVSS 7.5
CVE-2024-33663 [HIGH] python-jose algorithm confusion with OpenSSH ECDSA keys
python-jose algorithm confusion with OpenSSH ECDSA keys
python-jose through 3.3.0 has algorithm confusion with OpenSSH ECDSA keys and other key formats. This is similar to CVE-2022-29217.
GHSA
python-jose algorithm confusion with OpenSSH ECDSA keys
ghsa·2024-04-26·CVSS 7.5
CVE-2024-33663 [HIGH] CWE-327 python-jose algorithm confusion with OpenSSH ECDSA keys
python-jose algorithm confusion with OpenSSH ECDSA keys
python-jose through 3.3.0 has algorithm confusion with OpenSSH ECDSA keys and other key formats. This is similar to CVE-2022-29217.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2026-85394 python-josepy: python-jose through 3.5.0 Algorithm Confusion via DER-encoded Public Key as HMAC Secret [epel-all]
bugzilla·2026-10-05·CVSS 6.5
CVE-2026-85394 [MEDIUM] CVE-2026-85394 python-josepy: python-jose through 3.5.0 Algorithm Confusion via DER-encoded Public Key as HMAC Secret [epel-all]
CVE-2026-85394 python-josepy: python-jose through 3.5.0 Algorithm Confusion via DER-encoded Public Key as HMAC Secret [epel-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
python-jose through 3.5.0 fails to properly validate asymmetric keys in HMAC initialization, accepting DER-encoded public keys that lack PEM armor or SSH prefixes. Attackers holding the service's public key can forge HS256 tokens that pass verification when algorithms are not explicitly restricted. This is an incomplete fix for CVE-2024-33663.
Bugzilla
CVE-2026-85394 python-jose: python-jose through 3.5.0 Algorithm Confusion via DER-encoded Public Key as HMAC Secret [epel-all]
bugzilla·2026-10-05·CVSS 6.5
CVE-2026-85394 [MEDIUM] CVE-2026-85394 python-jose: python-jose through 3.5.0 Algorithm Confusion via DER-encoded Public Key as HMAC Secret [epel-all]
CVE-2026-85394 python-jose: python-jose through 3.5.0 Algorithm Confusion via DER-encoded Public Key as HMAC Secret [epel-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
python-jose through 3.5.0 fails to properly validate asymmetric keys in HMAC initialization, accepting DER-encoded public keys that lack PEM armor or SSH prefixes. Attackers holding the service's public key can forge HS256 tokens that pass verification when algorithms are not explicitly restricted. This is an incomplete fix for CVE-2024-33663.
Bugzilla
CVE-2026-85394 python-joserfc: python-jose through 3.5.0 Algorithm Confusion via DER-encoded Public Key as HMAC Secret [fedora-all]
bugzilla·2026-10-05·CVSS 6.5
CVE-2026-85394 [MEDIUM] CVE-2026-85394 python-joserfc: python-jose through 3.5.0 Algorithm Confusion via DER-encoded Public Key as HMAC Secret [fedora-all]
CVE-2026-85394 python-joserfc: python-jose through 3.5.0 Algorithm Confusion via DER-encoded Public Key as HMAC Secret [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
python-jose through 3.5.0 fails to properly validate asymmetric keys in HMAC initialization, accepting DER-encoded public keys that lack PEM armor or SSH prefixes. Attackers holding the service's public key can forge HS256 tokens that pass verification when algorithms are not explicitly restricted. This is an incomplete fix for CVE-2024-33663.
Bugzilla
CVE-2026-85394 python-josepy: python-jose through 3.5.0 Algorithm Confusion via DER-encoded Public Key as HMAC Secret [fedora-all]
bugzilla·2026-10-05·CVSS 6.5
CVE-2026-85394 [MEDIUM] CVE-2026-85394 python-josepy: python-jose through 3.5.0 Algorithm Confusion via DER-encoded Public Key as HMAC Secret [fedora-all]
CVE-2026-85394 python-josepy: python-jose through 3.5.0 Algorithm Confusion via DER-encoded Public Key as HMAC Secret [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
python-jose through 3.5.0 fails to properly validate asymmetric keys in HMAC initialization, accepting DER-encoded public keys that lack PEM armor or SSH prefixes. Attackers holding the service's public key can forge HS256 tokens that pass verification when algorithms are not explicitly restricted. This is an incomplete fix for CVE-2024-33663.
Bugzilla
CVE-2026-85394 jose: python-jose: python-jose through 3.5.0 Algorithm Confusion via DER-encoded Public Key as HMAC Secret
bugzilla·2026-09-03·CVSS 6.5
CVE-2026-85394 [MEDIUM] CVE-2026-85394 jose: python-jose: python-jose through 3.5.0 Algorithm Confusion via DER-encoded Public Key as HMAC Secret
CVE-2026-85394 jose: python-jose: python-jose through 3.5.0 Algorithm Confusion via DER-encoded Public Key as HMAC Secret
python-jose through 3.5.0 fails to properly validate asymmetric keys in HMAC initialization, accepting DER-encoded public keys that lack PEM armor or SSH prefixes. Attackers holding the service's public key can forge HS256 tokens that pass verification when algorithms are not explicitly restricted. This is an incomplete fix for CVE-2024-33663.
Bugzilla
CVE-2024-33663 python-jose: algorithm confusion with OpenSSH ECDSA keys and other key formats
bugzilla·2024-04-26·CVSS 7.5
CVE-2024-33663 [HIGH] CVE-2024-33663 python-jose: algorithm confusion with OpenSSH ECDSA keys and other key formats
CVE-2024-33663 python-jose: algorithm confusion with OpenSSH ECDSA keys and other key formats
python-jose through 3.3.0 has algorithm confusion with OpenSSH ECDSA keys and other key formats. This is similar to CVE-2022-29217.
https://github.com/mpdavis/python-jose/issues/346
Discussion:
Created python-jose tracking bugs for this issue:
Affects: fedora-all [bug 2277299]
---
This issue has been addressed in the following products:
Red Hat Ansible Automation Platform 2.4 for RHEL 9
Red Hat Ansible Automation Platform 2.4 for RHEL 8
Via RHSA-2024:6428 https://access.redhat.com/errata/RHSA-2024:6428
2024-04-26
Published