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
Published May 31, 2018
6.5
MEDIUMCVSS 3.0
EPSS 4.86%
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
-
- Version <=0.3.0StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| HackerOne | Jwt-Simple Node Module | n/a |
|
- ≤ 0.3.0
No data.
No Red Hat product state for this CVE.
jwt-simple
npm
Introduced 0 Fixed 0.3.1
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | jwt-simple | 0 | 0.3.1 |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
AV:N/AC:L/Au:S/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (26 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 4.86% (0.04858) | 91.76th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.90% (0.04898) | 90.93th | v5 (v2026.06.15) |
| Dec 1, 2025 | 81.65% (0.81652) | 99.14th | v4 (v2025.03.14) |
| Oct 10, 2025 | 78.50% (0.78503) | 98.99th | v4 (v2025.03.14) |
| Sep 10, 2025 | 73.33% (0.73334) | 98.76th | v4 (v2025.03.14) |
| Aug 24, 2025 | 74.59% (0.74595) | 98.81th | v4 (v2025.03.14) |
| Aug 16, 2025 | 82.72% (0.82721) | 99.19th | v4 (v2025.03.14) |
| Jul 18, 2025 | 85.14% (0.85144) | 99.30th | v4 (v2025.03.14) |
| Jun 15, 2025 | 71.69% (0.71686) | 98.63th | v4 (v2025.03.14) |
| May 15, 2025 | 60.47% (0.60471) | 98.15th | v4 (v2025.03.14) |
| Mar 30, 2025 | 58.11% (0.58106) | 98.00th | v4 (v2025.03.14) |
| Mar 29, 2025 | 62.63% (0.62628) | 97.69th | v4 (v2025.03.14) |
| Mar 28, 2025 | 58.11% (0.58106) | 98.00th | v4 (v2025.03.14) |
| Mar 27, 2025 | 62.63% (0.62628) | 98.14th | v4 (v2025.03.14) |
| Mar 20, 2025 | 67.57% (0.67574) | 98.50th | v4 (v2025.03.14) |
| Mar 19, 2025 | 62.63% (0.62628) | 98.18th | v4 (v2025.03.14) |
| Mar 17, 2025 | 67.57% (0.67574) | 98.46th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.10% (0.00102) | 43.52th | v3 (v2023.03.01) |
| Oct 22, 2023 | 0.10% (0.00102) | 41.48th | v3 (v2023.03.01) |
| Jul 8, 2023 | 0.09% (0.00090) | 37.33th | v3 (v2023.03.01) |
| May 25, 2023 | 0.11% (0.00109) | 42.60th | v3 (v2023.03.01) |
| May 8, 2023 | 0.13% (0.00132) | 46.86th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.11% (0.00109) | 42.31th | v3 (v2023.03.01) |
| Mar 6, 2023 | 6.73% (0.06726) | 91.57th | v2 (v2022.01.01) |
| Apr 1, 2022 | 6.73% (0.06726) | 90.75th | v2 (v2022.01.01) |
| Feb 4, 2022 | 6.73% (0.06726) | 78.88th | v2 (v2022.01.01) |
References (8)
- https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/ x_refsource_MISCBroken LinkThird Party Advisory
- https://github.com/advisories/GHSA-vgrx-w6rg-8fqf Advisory
- https://github.com/hokaccha/node-jwt-simple/commit/957957cfa44474049b4603b293569588ee9ffd97
- https://github.com/hokaccha/node-jwt-simple/pull/14 x_refsource_MISCIssue TrackingThird Party Advisory
- https://github.com/hokaccha/node-jwt-simple/pull/16 x_refsource_MISCIssue TrackingThird Party Advisory
- https://nodesecurity.io/advisories/87 x_refsource_MISCThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2016-10555
- https://www.npmjs.com/advisories/87
| Link | Providers | Tags |
|---|---|---|
| https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/ | x_refsource_MISCBroken LinkThird Party Advisory | |
| https://github.com/advisories/GHSA-vgrx-w6rg-8fqf | Advisory | |
| https://github.com/hokaccha/node-jwt-simple/commit/957957cfa44474049b4603b293569588ee9ffd97 | ||
| https://github.com/hokaccha/node-jwt-simple/pull/14 | x_refsource_MISCIssue TrackingThird Party Advisory | |
| https://github.com/hokaccha/node-jwt-simple/pull/16 | x_refsource_MISCIssue TrackingThird Party Advisory | |
| https://nodesecurity.io/advisories/87 | x_refsource_MISCThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2016-10555 | ||
| https://www.npmjs.com/advisories/87 |
Change history (0)
No recorded changes yet.