7.5
HIGH CVSS 3.0
CVE-2017-11424
PyJWT RSA Public Key Configuration SSRF Vulnerability
Description

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.

INFO

Published Date :

Aug. 24, 2017, 4:29 p.m.

Last Modified :

April 20, 2025, 1:37 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2017-11424 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Debian debian_linux
1 Pyjwt_project pyjwt
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.0 HIGH [email protected]
Solution
A vulnerability in PyJWT allows for key confusion attacks.
  • Update the affected PyJWT package.
  • If running Debian, update the python-jwt and/or python3-jwt packages.
Public PoC/Exploit Available at Github

CVE-2017-11424 has a 4 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2017-11424.

URL Resource
http://www.debian.org/security/2017/dsa-3979 Third Party Advisory
https://github.com/jpadilla/pyjwt/pull/277 Issue Tracking Patch Third Party Advisory
http://www.debian.org/security/2017/dsa-3979 Third Party Advisory
https://github.com/jpadilla/pyjwt/pull/277 Issue Tracking Patch Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2017-11424 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2017-11424 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

JavaScript Python Dockerfile Shell

Updated: 9 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Nov. 10, 2024, 6:09 a.m. This repo has been linked 1 different CVEs too.

None

Updated: 3 years, 9 months ago
0 stars 0 fork 0 watcher
Born at : Nov. 13, 2021, 2:18 p.m. This repo has been linked 2 different CVEs too.

Deriving RSA public keys from message-signature pairs

Python Dockerfile JavaScript Shell

Updated: 1 month ago
328 stars 47 fork 47 watcher
Born at : Feb. 7, 2021, 6:24 p.m. This repo has been linked 1 different CVEs too.

Collection of online security resources

Updated: 1 month, 2 weeks ago
276 stars 54 fork 54 watcher
Born at : Oct. 20, 2020, 7:17 a.m. This repo has been linked 2 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2017-11424 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2017-11424 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://www.debian.org/security/2017/dsa-3979
    Added Reference https://github.com/jpadilla/pyjwt/pull/277
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CWE Remap by [email protected]

    Oct. 03, 2019

    Action Type Old Value New Value
    Changed CWE CWE-284 NVD-CWE-noinfo
  • Modified Analysis by [email protected]

    May. 10, 2019

    Action Type Old Value New Value
    Changed Reference Type http://www.debian.org/security/2017/dsa-3979 No Types Assigned http://www.debian.org/security/2017/dsa-3979 Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Nov. 04, 2017

    Action Type Old Value New Value
    Added Reference http://www.debian.org/security/2017/dsa-3979 [No Types Assigned]
  • Initial Analysis by [email protected]

    Sep. 08, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:N/I:P/A:N)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
    Changed Reference Type https://github.com/jpadilla/pyjwt/pull/277 No Types Assigned https://github.com/jpadilla/pyjwt/pull/277 Issue Tracking, Patch, Third Party Advisory
    Added CWE CWE-284
    Added CPE Configuration OR *cpe:2.3:a:pyjwt_project:pyjwt:1.5.0:*:*:*:*:*:*:* (and previous)
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 5
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

1.30 }} -11.42%

score

0.77862

percentile