Missing algorithm enforcement in jwt.decode() in jwt-simple
HackerOne jwt-simple node module
At a glance
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.
Source description · CVE List / CNA
System impact
CVSS summary v3.0
- Published:
- Updated:
- EPSS:
- 4.733%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:HackerOne | jwt-simple node module | Affected versions: <=0.3.0 |
| Vendor:jwt-simple_project | jwt-simpleEnvironments (1)
| Affected versions: ≤ 0.3.0 |
| Vendor:npm | jwt-simple | Affected versions: < 0.3.1 |
| Vendor:jwt-simple_project | jwt-simple | Affected versions:≤ 0.3.0Show full version range for jwt-simple
|
1–4 of 4 · Page 1 of 1
CVSS scores and metrics5
[email protected] · NVD (Primary)Primary6.5 / 10MediumCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- High
- Availability
- None
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NCVE-2016-10555 · OSV (source-vector)6.5 / 10MediumCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- High
- Availability
- None
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:Nnvd · Wazuh CTI (cna)6.5 / 10MediumCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- High
- Availability
- None
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N[email protected] · NVD (Primary)4.0 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Single
Source vector
AV:N/AC:L/Au:S/C:N/I:P/A:Nnvd · Wazuh CTI (cna)4.0 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Single
Source vector
AV:N/AC:L/Au:S/C:N/I:P/A:NCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences