Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 635600 (CVE-2017-11424) - <dev-python/pyjwt-1.5.3: Improper Access Control
Summary: <dev-python/pyjwt-1.5.3: Improper Access Control
Status: RESOLVED FIXED
Alias: CVE-2017-11424
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL:
Whiteboard: B3 [noglsa cve]
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-27 16:39 UTC by GLSAMaker/CVETool Bot
Modified: 2018-01-20 15:14 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description GLSAMaker/CVETool Bot gentoo-dev 2017-10-27 16:39:08 UTC
CVE-2017-11424 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2017-11424):
  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.
Comment 1 Christopher Díaz Riveros (RETIRED) gentoo-dev Security 2017-10-27 16:40:25 UTC
@Maintainers please clean 1.4.0 and 1.5.0 from tree. 

Thank you
Comment 2 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2018-01-05 14:19:06 UTC
no glsa for this vuln.
Comment 3 Aaron Bauman (RETIRED) gentoo-dev 2018-01-20 15:14:20 UTC
Tree is clean.