Errata overview
Errata ID 394
Date 2018-05-08
Source package pyjwt
Fixed in version 0.2.1-1+deb8u2
This update addresses the following issue:
* 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. (CVE-2017-11424)
Additional notes
CVE ID CVE-2017-11424
UCS Bug number #46157