Live threats

All CVEs / Jwt-simple Project

CVE-2016-10555Jwt-simple Project Jwt-simple

Medium 6.5

Priority
39
CVSS 3.0
6.5
EPSS
4.7%
probability of exploitation in 30 days · percentile 93
Auth required
Yes
Published
May 31, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20, CWE-310
Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Jwt-simple.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm jwt-simple < 0.3.1 0.3.1 npm install jwt-simple@0.3.1

Per OSV / GitHub Advisories (GHSA-vgrx-w6rg-8fqf). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
jwt-simple_projectjwt-simple≤ 0.3.0

Official sources

References

Links published by the sources. Open them with care.