cve.bz

CVE-2017-11424

7.5 highEPSS 1.8%Fix available

High (7.5). EPSS 1.8% estimated probability of exploitation activity in the next 30 days. Fixed in pyjwt 1.5.1.

On this page
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.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
1.8% (unchanged from 1.8% a week ago; 1.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 79th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-11424 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-11424?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-11424?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-11424 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
pyjwt_project:pyjwtthrough 1.5.0
debian:debian_linux8.0
debian:debian_linux9.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-r9jw-mwhq-wp62PyPIpyjwt<1.5.11.5.1
PYSEC-2017-24PyPIpyjwt<1.5.11.5.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8pyjwt0.2.1-1+deb8u2DSA-3979-1
Debian9pyjwt1.4.2-1+deb9u1DSA-3979-1
Debian12, 13, 14pyjwt1.4.2-1.1DEBIAN-CVE-2017-11424
Ubuntu16.04:LTSpyjwt1.3.0-1ubuntu0.1UBUNTU-CVE-2017-11424 USN-3407-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7python-jwtNot affected
Red Hat Storage 3python-jwtWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-11424.

References

Check your stackJSON