1. CVE archive
  2. 2016
  3. CVE-2016-10555

CVE-2016-10555

6.5 Medium severity CVSS v3.0 · source NVD CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N 6.5 – Medium

Description

Since "algorithm" isn't enforced in jwt.decode()in jwt-simple 0.3.0 and earlier, a malicious user could choose what algorithm is sent sent to the server. If the server is expecting RSA but is sent HMAC-SHA with RSA's public key, the server will think the public key is actually an HMAC private key. This could be used to forge any data an attacker wants.

Affected products

VendorProductVersionPlatform
jwt-simple project jwt-simple <= 0.3.0 node.js

Vulnerability type

CWE-310 Cryptographic Issues

Weaknesses in this category are related to the design and implementation of data confidentiality and integrity. Frequently these deal with the use of encoding techniques, encryption libraries, and hashing algorithms. The weaknesses in this category could lead to a degradation of the quality data if they are not addressed.

Broad category: NVD uses it when it does not assign a more specific type.

All 2,451 CWE-310 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org