CVE-2024-33663
MEDIUM 6.5CVSS 3.1python-jose algorithm confusion guard bypassed by DER-encoded public 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.
- Published
- 26 Apr 2024
- Last modified
- 15 Oct 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-327CWE-347
- Also known as
- CVE-2026-85394GHSA-3qf3-8w2g-rqmxGHSA-6c5p-j8vq-pqhjPYSEC-2024-232PYSEC-2026-4298
- Sources
- NVDJSONOSV GHSA-3qf3-8w2g-rqmxJSONOSV GHSA-6c5p-j8vq-pqhjJSONOSV PYSEC-2024-232JSONOSV PYSEC-2026-4298JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N | |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | python-jose_project | python-josecpe:2.3:a:python-jose_project:python-jose:*:*:*:*:*:*:*:* |
<= 3.3.0 | |
| OSV | PyPI | python-jose | <= 3.5.0 | |
| OSV | PyPI | python-jose | < 3.4.0 | 3.4.0 |
References
- https://github.com/mpdavis/python-jose/issues/346 · Exploit, Issue Tracking, Vendor Advisory, WEB, REPORT
- https://www.vicarius.io/vsociety/posts/algorithm-confusion-in-python-jose-cve-2024-33663 · Exploit, Mitigation, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-85394 · ADVISORY
- https://github.com/mpdavis/python-jose/issues/414 · WEB
- https://github.com/advisories/GHSA-6c5p-j8vq-pqhj · ADVISORY
- https://github.com/mpdavis/python-jose · PACKAGE
- https://github.com/mpdavis/python-jose/blob/018b310ddb8b50dcfd09a0c152117835a21dd656/jose/backends/native.py · WEB
- https://github.com/mpdavis/python-jose/blob/018b310ddb8b50dcfd09a0c152117835a21dd656/jose/utils.py · WEB
- https://www.vulncheck.com/advisories/python-jose-through-3.5.0-algorithm-confusion-via-der-encoded-public-key-as-hmac-secret · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-33663 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/python-jose/PYSEC-2024-232.yaml · WEB
- https://pypi.org/project/python-jose · PACKAGE
- https://github.com/advisories/GHSA-3qf3-8w2g-rqmx · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 26 Apr 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Oct 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 26 Apr 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Apr 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Sep 2026)