CVE catalog

CVE-2017-11424

pyjwt: CVE-2017-11424

[CVE catalog]

Severity
Medium · CVSS 5.3CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
1.80% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpyjwtsid2.15.1-1fixed
Debianpyjwtforky2.15.1-1fixed
Debianpyjwttrixie2.10.1-2+deb13u1fixed
Debianpyjwttrixie-security2.10.1-2+deb13u1fixed
Debianpyjwtbookworm2.6.0-1+deb12u1fixed
Debianpyjwtbookworm-security2.6.0-1+deb12u1fixed
Ubuntupyjwt16.041.0.0-0ubuntu1vulnerable
Ubuntupyjwt16.041.3.0-1vulnerable
Ubuntupyjwt16.041.3.0-1ubuntu0.1fixed
Ubuntupyjwt16.041.0.0-0ubuntu1vulnerable
Ubuntupyjwt16.041.3.0-1vulnerable
Ubuntupyjwt16.041.3.0-1ubuntu0.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpyjwtsourcesid1.4.2-1.1not yet assignedNot reported[873244]
Debianpyjwtsourceforky1.4.2-1.1not yet assignedNot reported[873244]
Debianpyjwtsourcetrixie1.4.2-1.1not yet assignedNot reported[873244]
Debianpyjwtsourcebookworm1.4.2-1.1not yet assignedNot reported[873244]
Ubuntupyjwtdeb16.041.3.0-1ubuntu0.1Not reportedUSN-3407-1Not reported
Ubuntupyjwtdeb16.041.3.0-1ubuntu0.1Not reportedUBUNTU-CVE-2017-11424Not reported

[Debian bug #873244]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [python3-jwt]Unknown

    Source package: [pyjwt]

    Details (4)
    • 2.6.0-1+deb12u1 · all · bookworm

      Fixed · Fixed: 1.4.2-1.1

      dsa · pyjwt · debian · bookworm; dsa · pyjwt · debian · 12

    • 2.6.0-1+deb12u1 · all · bookworm

      Fixed · Fixed: 1.4.2-1.1

      dsa · pyjwt · debian · bookworm; dsa · pyjwt · debian · 12

    • 2.6.0-1+deb12u1 · all · bookworm-security

      Fixed · Fixed: 1.4.2-1.1

      dsa · pyjwt · debian · bookworm; dsa · pyjwt · debian · 12

    • 2.6.0-1+deb12u1 · all · bookworm-security

      Fixed · Fixed: 1.4.2-1.1

      dsa · pyjwt · debian · bookworm; dsa · pyjwt · debian · 12

[Debian 13 (Trixie)]

  • [python3-jwt]Unknown

    Source package: [pyjwt]

    Details (4)
    • 2.10.1-2+deb13u1 · all · trixie

      Fixed · Fixed: 1.4.2-1.1

      dsa · pyjwt · debian · 13

    • 2.10.1-2+deb13u1 · all · trixie

      Fixed · Fixed: 1.4.2-1.1

      dsa · pyjwt · debian · 13

    • 2.10.1-2+deb13u1 · all · trixie-security

      Fixed · Fixed: 1.4.2-1.1

      dsa · pyjwt · debian · 13

    • 2.10.1-2+deb13u1 · all · trixie-security

      Fixed · Fixed: 1.4.2-1.1

      dsa · pyjwt · debian · 13

  • Source package: [pyjwt]

    Details (4)
    • 2.10.1-2+deb13u1 · all · trixie

      Fixed · Fixed: 1.4.2-1.1

      dsa · pyjwt · debian · 13

    • 2.10.1-2+deb13u1 · all · trixie

      Fixed · Fixed: 1.4.2-1.1

      dsa · pyjwt · debian · 13

    • 2.10.1-2+deb13u1 · all · trixie-security

      Fixed · Fixed: 1.4.2-1.1

      dsa · pyjwt · debian · 13

    • 2.10.1-2+deb13u1 · all · trixie-security

      Fixed · Fixed: 1.4.2-1.1

      dsa · pyjwt · debian · 13

Observed:

References