Skip to content
Fencer Vulns
medium 6.5

CVE-2024-33663 json

python-jose algorithm confusion guard bypassed by DER-encoded public keys

published 2024-04-25 2 y ago modified 2026-10-15 24 d ago also CVE-2026-85394 , GHSA-3qf3-8w2g-rqmx , GHSA-6c5p-j8vq-pqhj , PYSEC-2024-232 , PYSEC-2026-4298 , EUVD-2024-1121

cvss
6.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 23%
public exploits
0
none known

Summary

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

Patch / fix

  • pypi python-jose 3.4.0
  • python-zipp ansible automation platform inside 2.4, ansible automation platform developer 2.4, ansible automation platform 2.4 3.19.2-1.el9ap
  • python3-zipp ansible automation platform inside 2.4, ansible automation platform developer 2.4, ansible automation platform 2.4 3.19.2-1.el9ap
  • python-django ansible automation platform 2.4 4.2.15-1.el9ap
  • python-grpcio ansible automation platform 2.4 1.58.3-1.el9ap
  • python39-zipp ansible automation platform inside 2.4, ansible automation platform developer 2.4, ansible automation platform 2.4 3.19.2-1.el8ap
  • python3-django ansible automation platform 2.4 4.2.15-1.el9ap
  • python3-grpcio ansible automation platform 2.4 1.58.3-1.el9ap
  • python39-django ansible automation platform 2.4 4.2.15-1.el8ap

red hat advisories RHSA-2024:6428

  • python-cryptography openSUSE Tumbleweed 3.3.0-3.1
  • python-python-jose Package Hub 15 SP5, openSUSE Leap 15.5 3.0.1-bp155.3.3.1

opensuse advisories openSUSE-SU-2024:13928-1openSUSE-SU-2024:0118-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-33663 updated

python-jose: algorithm confusion with OpenSSH ECDSA keys and other key formats

  • Red Hat Ansible Automation Platform 2.4 for RHEL 8 automation-controller-venv-tower 4.5.10-1.el8ap Red Hat Ansible Automation Platform 2.4 for RHEL 9 automation-controller-venv-tower 4.5.10-1.el9ap
    fixed: vendor fix RHSA-2024:6428
  • Red Hat Ansible Automation Platform 2 python-jose Red Hat Ansible Automation Platform 2.4 for RHEL 8 python39-zipp 3.19.2-1.el8ap, python39-django 4.2.15-1.el8ap, python39-grpcio 1.58.3-1.el8ap, python3x-django 4.2.15-1.el8ap, python3x-grpcio 1.58.3-1.el8ap, python39-gunicorn 22.0.0-2.el8ap, +11 more Red Hat Ansible Automation Platform 2.4 for RHEL 9 python-zipp 3.19.2-1.el9ap, python3-zipp 3.19.2-1.el9ap, python-django 4.2.15-1.el9ap, python-grpcio 1.58.3-1.el9ap, python3-django 4.2.15-1.el9ap, python3-grpcio 1.58.3-1.el9ap, +12 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.31% chance of exploitation in the next 30 days, higher than 23% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/mpdavis/python-jose/issues/346 referenced PoC, tagged "exploit" by a source, unverified
  • vicarius.io https://www.vicarius.io/vsociety/posts/algorithm-confusion-in-python-jose-cve-2024-33663 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CISA ADP 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
CNA 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
GitHub 3.1 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
GitHub 3.1 7.4 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
OSV 3.1 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected packages

ecosystem package affected fixed in
pypi python-jose
<=3.5.0
<3.4.0
3.4.0

Affected products

  • python-jose_project python-jose

Classification

Weakness
  • CWE-327 Use of a Broken or Risky Cryptographic Algorithm
  • CWE-347 Improper Verification of Cryptographic Signature

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.