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.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | python-jose | <= 3.5.0 | keine Korrektur |
Verweise
- https://nvd.nist.gov/vuln/detail/CVE-2026-85394
- https://github.com/mpdavis/python-jose/issues/414
- https://github.com/advisories/GHSA-6c5p-j8vq-pqhj
- https://github.com/mpdavis/python-jose
- https://github.com/mpdavis/python-jose/blob/018b310ddb8b50dcfd09a0c152117835a21dd656/jose/backends/native.py
- https://github.com/mpdavis/python-jose/blob/018b310ddb8b50dcfd09a0c152117835a21dd656/jose/utils.py
- https://www.vulncheck.com/advisories/python-jose-through-3.5.0-algorithm-confusion-via-der-encoded-public-key-as-hmac-secret
- https://nvd.nist.gov/vuln/detail/CVE-2024-33663
- https://github.com/mpdavis/python-jose/issues/346
- https://github.com/pypa/advisory-database/tree/main/vulns/python-jose/PYSEC-2024-232.yaml
- https://www.vicarius.io/vsociety/posts/algorithm-confusion-in-python-jose-cve-2024-33663
- https://pypi.org/project/python-jose
- https://github.com/advisories/GHSA-3qf3-8w2g-rqmx
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N- Schwäche (CWE)
CWE-347, CWE-327- Plattform
- Python (PyPI)
- Paket
python-jose- Veröffentlicht
- 26.04.2024
- Aktualisiert
- 15.10.2026 18:17
Quellen und Lizenzen
OSV / GitHub Advisory Database - PYSEC-2024-232 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-3qf3-8w2g-rqmx - CC BY 4.0
OSV / GitHub Advisory Database - GHSA-6c5p-j8vq-pqhj - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-4298 - PyPA Advisory Database; CC BY 4.0
Schwachstellenhistorie: python-jose
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 4
- Erste → letzte
- 01.2017 12.2025
- Ohne Fix
- 2
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Kritisch 2
- Mittel 2
Veröffentlichungen pro Jahr
- 2017: 1
- 2018: 0
- 2019: 0
- 2020: 0
- 2021: 0
- 2022: 0
- 2023: 0
- 2024: 2
- 2025: 1
- 2026: 0
-
python-jose algorithm confusion guard bypassed by DER-encoded public keys dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.