PyJWT accepts inconsistent OKP x/d JWKs, causing public/private key identity confusion
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| jpadilla | pyjwt | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Jpadilla | Pyjwt |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-x33g-cr3x-6449 | PyJWT accepts inconsistent OKP x/d JWKs, causing public/private key identity confusion |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.167% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Pyjwt Project
Pyjwt Project pyjwt |
|
| CPEs | cpe:2.3:a:pyjwt_project:pyjwt:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Pyjwt Project
Pyjwt Project pyjwt |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-347 | |
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Jpadilla
Jpadilla pyjwt |
|
| Vendors & Products |
Jpadilla
Jpadilla pyjwt |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | PyJWT is a Python implementation of JSON Web Token standards. From 2.1.0 until 2.15.0, PyJWT OKPAlgorithm.from_jwk in jwt/algorithms.py is affected because private-JWK import path does not compare the public key derived from d with x. This occurs when an OKP private JWK supplies non-corresponding x and d components. As a result, identity derived from x can differ from operations performed with d. Consequently, if an integration also accepts private key parameters from a proof header without rejecting them, an attacker may use a stolen sender-constrained token without the legitimate private key. This issue is fixed in version 2.15.0. | |
| Title | PyJWT accepts inconsistent OKP x/d JWKs, causing public/private key identity confusion | |
| Weaknesses | CWE-345 CWE-348 |
|
| References |
| |
| Metrics |
cvssV3_1
|