CVE-2022-29217

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-29217
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-29217.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-29217
Aliases
Related
Published
2022-05-24T15:15:07Z
Modified
2025-01-15T02:20:22.291616Z
Downstream
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
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.

References

Affected packages

Debian:12 / pyjwt

Package

Name
pyjwt
Purl
pkg:deb/debian/pyjwt?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.4.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / pyjwt

Package

Name
pyjwt
Purl
pkg:deb/debian/pyjwt?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.4.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/jpadilla/pyjwt

Affected ranges

Type
GIT
Repo
https://github.com/jpadilla/pyjwt
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

0.*

0.1.6
0.1.9
0.2.0
0.2.2
0.2.3
0.3.0
0.3.1
0.3.2
0.4.0
0.4.1
0.4.2
0.4.3

1.*

1.0.0
1.0.1
1.1.0
1.2.0
1.3.0
1.4.0
1.4.1
1.4.2
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.*

2.0.0
2.0.0a1
2.0.0a2
2.0.1
2.1.0
2.2.0
2.3.0