# CVE-2024-33663: python-jose algorithm confusion guard bypassed by DER-encoded public keys

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2024-04-25T00:00:00.000Z
- Modified: 2026-10-15T14:56:01.261Z
- Also known as: GHSA-3qf3-8w2g-rqmx, GHSA-6c5p-j8vq-pqhj, PYSEC-2024-232, PYSEC-2026-4298
- Related: CVE-2026-85394
- Weaknesses: CWE-327, CWE-347
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

python-jose through 3.3.0 has algorithm confusion with OpenSSH ECDSA keys and other key formats. This is similar to CVE-2022-29217.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- python-jose_project python-jose: up to 3.3.0
- python-jose (PyPI): up to 3.5.0; before 3.4.0

## Every score

- CISA-ADP: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:4.0 Critical `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`
- GitHub: CVSS:3.1 7.4 Critical `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: 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`

## References

- <https://github.com/mpdavis/python-jose/issues/346> (exploit, issue-tracking, report, vendor-advisory, web)
- <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)

## Sources

- CVE List: [CVE-2024-33663](https://www.cve.org/CVERecord?id=CVE-2024-33663), CVE Terms of Use, modified 2024-09-03
- GitHub Advisory Database: [GHSA-3qf3-8w2g-rqmx](https://github.com/advisories/GHSA-3qf3-8w2g-rqmx), CC-BY-4.0, modified 2026-10-15
- GitHub Advisory Database: [GHSA-6c5p-j8vq-pqhj](https://github.com/advisories/GHSA-6c5p-j8vq-pqhj), CC-BY-4.0, modified 2026-10-15
- NVD: [CVE-2024-33663](https://nvd.nist.gov/vuln/detail/CVE-2024-33663), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-232](https://osv.dev/vulnerability/PYSEC-2024-232), CC-BY-4.0, modified 2026-10-15
- PyPA Advisory Database: [PYSEC-2026-4298](https://osv.dev/vulnerability/PYSEC-2026-4298), CC-BY-4.0, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-33663 · Whole record: https://cve.day/CVE-2024-33663.json · Rebuilt by cve.day 2026-11-25T22:58:39.612Z
