VYPR
High severity7.5NVD Advisory· Published Aug 24, 2017· Updated Jun 17, 2026

CVE-2017-11424

CVE-2017-11424

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
pyjwtPyPI
< 1.5.11.5.1

Affected products

4
  • cpe:2.3:a:pyjwt_project:pyjwt:*:*:*:*:*:*:*:*
    Range: <=1.5.0
  • Debian/linux2 versions
    cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*+ 1 more
    • cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
    • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • ghsa-coords
    Range: < 1.5.1

Patches

Vulnerability mechanics

References

5

News mentions

0

No linked articles in our index yet.