Lucene search
K

5 matches found

Snyk
Snyk
added 2026/04/02 8:37 p.m.3 views

Use of a Broken or Risky Cryptographic Algorithm

Overview fast-jwt is a Fast JSON Web Token implementation Affected versions of this package are vulnerable to Use of a Broken or Risky Cryptographic Algorithm in the performDetectPublicKeyAlgorithms function due to improper handling of leading whitespace in PEM key strings. An attacker can gain...

9.1CVSS6.4AI score0.00729EPSS
Exploits2References2
SUSE CVE
SUSE CVE
added 2023/02/15 4:42 a.m.1 views

SUSE CVE-2017-11424

In PyJWT 1.5.0 and below the invalidstrings check in HMACAlgorithm.preparekey 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 enable...

7.5CVSS7.6AI score0.00193EPSS
Exploits0References3
OSV
OSV
added 2022/05/13 1:42 a.m.5 views

GHSA-R9JW-MWHQ-WP62 PyJWT vulnerable to key confusion attacks

In PyJWT 1.5.0 and below the invalidstrings check in HMACAlgorithm.preparekey 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 enable...

7.5CVSS5.9AI score0.00193EPSS
Exploits0References5
PyPA
PyPA
added 2017/08/24 4:29 p.m.5 views

PYSEC-2017-24

In PyJWT 1.5.0 and below the invalidstrings check in HMACAlgorithm.preparekey 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 enable...

7.5CVSS6.9AI score0.00193EPSS
Exploits0References3Affected Software1
Veracode
Veracode
added 2017/08/16 10:26 p.m.25 views

Key Confusion Attacks

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 invalidstrings check in HMACAlgorithm.preparekey. Using this flaw, attackers can cause symmetric/asymmetric confusion and create JWTs from...

7.5CVSS7.2AI score0.00193EPSS
Exploits0References3Affected Software1
Rows per page
Query Builder