Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:4916
HistoryAug 16, 2017 - 10:26 p.m.

Key Confusion Attacks

2017-08-1622:26:05
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
14

EPSS

0.001

Percentile

35.1%

PyJWT is vulnerable to asymmetric/symmetric key confusion attacks. PKCS1 PEM keys that begin with -----BEGIN RSA PUBLIC KEY----- will not be rejected by the invalid_strings check in HMACAlgorithm.prepare_key. Using this flaw, attackers can cause symmetric/asymmetric confusion and create JWTs from scratch.