Vulnerability Name: | CVE-2017-11424 (CCN-131034) | ||||||||||||||||
Assigned: | 2017-07-18 | ||||||||||||||||
Published: | 2017-07-18 | ||||||||||||||||
Updated: | 2019-10-03 | ||||||||||||||||
Summary: | In PyJWT 1.5.0 and below the `invalid_strings` check in `HMACAlgorithm.prepare_key` does not account for all PEM encoded public keys. Specifically, the PKCS1 PEM encoded format would be allowed because it is prefaced with the string `-----BEGIN RSA PUBLIC KEY-----` which is not accounted for. This enables symmetric/asymmetric key confusion attacks against users using the PKCS1 PEM encoded public keys, which would allow an attacker to craft JWTs from scratch. | ||||||||||||||||
CVSS v3 Severity: | 7.5 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N) 6.5 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N/E:U/RL:O/RC:C)
4.6 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C)
| ||||||||||||||||
CVSS v2 Severity: | 5.0 Medium (CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N)
| ||||||||||||||||
Vulnerability Type: | CWE-noinfo | ||||||||||||||||
Vulnerability Consequences: | Bypass Security | ||||||||||||||||
References: | Source: MITRE Type: CNA CVE-2017-11424 Source: DEBIAN Type: Third Party Advisory DSA-3979 Source: XF Type: UNKNOWN pyjwt-cve201711424-weak-security(131034) Source: CCN Type: PyJWT GIT Repository Guard against PKCS1 PEM-encoded public keys #277 Source: CONFIRM Type: Issue Tracking, Patch, Third Party Advisory https://github.com/jpadilla/pyjwt/pull/277 Source: CCN Type: WhiteSource Vulnerability Database CVE-2017-11424 | ||||||||||||||||
Vulnerable Configuration: | Configuration 1: Configuration 2: Configuration CCN 1: Denotes that component is vulnerable | ||||||||||||||||
Oval Definitions | |||||||||||||||||
| |||||||||||||||||
BACK |