pysec-2022-202
Vulnerability from pysec
Published
2022-05-24 15:15
Modified
2022-06-07 16:57
Details
PyJWT is a Python implementation of RFC 7519. PyJWT supports multiple different JWT signing algorithms. With JWT, an attacker submitting the JWT token can choose the used signing algorithm. The PyJWT library requires that the application chooses what algorithms are supported. The application can specify jwt.algorithms.get_default_algorithms()
to get support for all algorithms, or specify a single algorithm. The issue is not that big as algorithms=jwt.algorithms.get_default_algorithms()
has to be used. Users should upgrade to v2.4.0 to receive a patch for this issue. As a workaround, always be explicit with the algorithms that are accepted and expected when decoding.
Aliases
{ "affected": [ { "package": { "ecosystem": "PyPI", "name": "pyjwt", "purl": "pkg:pypi/pyjwt" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "9c528670c455b8d948aff95ed50e22940d1ad3fc" } ], "repo": "https://github.com/jpadilla/pyjwt", "type": "GIT" }, { "events": [ { "introduced": "1.5.0" }, { "fixed": "2.4.0" } ], "type": "ECOSYSTEM" } ], "versions": [ "1.5.0", "1.5.1", "1.5.2", "1.5.3", "1.6.0", "1.6.1", "1.6.3", "1.6.4", "1.7.0", "1.7.1", "2.0.0", "2.0.0a1", "2.0.0a2", "2.0.1", "2.1.0", "2.2.0", "2.3.0" ] } ], "aliases": [ "CVE-2022-29217", "GHSA-ffqj-6fqr-9h24" ], "details": "PyJWT is a Python implementation of RFC 7519. PyJWT supports multiple different JWT signing algorithms. With JWT, an attacker submitting the JWT token can choose the used signing algorithm. The PyJWT library requires that the application chooses what algorithms are supported. The application can specify `jwt.algorithms.get_default_algorithms()` to get support for all algorithms, or specify a single algorithm. The issue is not that big as `algorithms=jwt.algorithms.get_default_algorithms()` has to be used. Users should upgrade to v2.4.0 to receive a patch for this issue. As a workaround, always be explicit with the algorithms that are accepted and expected when decoding.", "id": "PYSEC-2022-202", "modified": "2022-06-07T16:57:16.566102Z", "published": "2022-05-24T15:15:00Z", "references": [ { "type": "ADVISORY", "url": "https://github.com/jpadilla/pyjwt/security/advisories/GHSA-ffqj-6fqr-9h24" }, { "type": "FIX", "url": "https://github.com/jpadilla/pyjwt/commit/9c528670c455b8d948aff95ed50e22940d1ad3fc" }, { "type": "WEB", "url": "https://github.com/jpadilla/pyjwt/releases/tag/2.4.0" }, { "type": "WEB", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6HIYEYZRQEP6QTHT3EHH3RGFYJIHIMAO/" }, { "type": "WEB", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5PK7IQCBVNLYJEFTPHBBPFP72H4WUFNX/" } ] }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.