SB2018040523 - Fedora EPEL 7 update for python-jwt



SB2018040523 - Fedora EPEL 7 update for python-jwt

Published: April 5, 2018 Updated: April 24, 2025

Security Bulletin ID SB2018040523
Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Data manipulation

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 security vulnerability.


1) Input validation error (CVE-ID: CVE-2017-11424)

The vulnerability allows a remote non-authenticated attacker to manipulate data.

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.


Remediation

Install update from vendor's website.