-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Vulnerable Library - PyJWT-2.0.1-py3-none-any.whl
JSON Web Token implementation in Python
Library home page: https://files.pythonhosted.org/packages/b4/9b/8850f99027ed029af6828199cc87179eaccbbf1f9e6e373e7f0177d32dad/PyJWT-2.0.1-py3-none-any.whl
Path to dependency file: /tools/commit-checker/Pipfile
Path to vulnerable library: /tools/commit-checker/Pipfile
Vulnerabilities
| CVE | Severity | Dependency | Type | Fixed in (PyJWT version) | Remediation Possible** | |
|---|---|---|---|---|---|---|
| CVE-2022-29217 | 7.5 | PyJWT-2.0.1-py3-none-any.whl | Direct | 2.4.0 | ❌ |
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2022-29217
Vulnerable Library - PyJWT-2.0.1-py3-none-any.whl
JSON Web Token implementation in Python
Library home page: https://files.pythonhosted.org/packages/b4/9b/8850f99027ed029af6828199cc87179eaccbbf1f9e6e373e7f0177d32dad/PyJWT-2.0.1-py3-none-any.whl
Path to dependency file: /tools/commit-checker/Pipfile
Path to vulnerable library: /tools/commit-checker/Pipfile
Dependency Hierarchy:
- ❌ PyJWT-2.0.1-py3-none-any.whl (Vulnerable Library)
Found in base branch: gh-pages
Vulnerability 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.
Publish Date: 2022-05-24
URL: CVE-2022-29217
CVSS 3 Score Details (7.5)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: High
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-29217
Release Date: 2022-05-24
Fix Resolution: 2.4.0
Step up your Open Source Security Game with Mend here