# CVE-2018-0114

A vulnerability in the Cisco node-jose open source library before 0.11.0 could allow an unauthenticated, remote attacker to re-sign tokens using a key that is embedded within the token. The vulnerability is due to node-jose following the JSON Web Signature (JWS) standard for JSON Web Tokens (JWTs). This standard specifies that a JSON Web Key (JWK) representing a public key can be embedded within the header of a JWS. This public key is then trusted for verification. An attacker could exploit this by forging valid JWS objects by removing the original signature, adding a new public key to the header, and then signing the object using the (attacker-owned) private key associated with the public key embedded in that JWS header.

- Page: https://www.vulneraibility.com/cve/CVE-2018-0114
- CVSS: 7.5
- Known exploited: not in CISA KEV as of our last sync
- EPSS: 42.65% (percentile 98.7)
- Public exploit code: 1 on Exploit-DB · 14 GitHub proofs of concept (first 2018-03-20)
- CISA SSVC: exploitation poc, automatable yes, technical impact partial (assessed 2024-12-02)
- Weakness: CWE-347
- Published: 2018-01-04

## Affected versions

- Node-jose Library: affected Node-jose Library

A version outside these ranges is not a statement that it is unaffected.

## References

- [other] https://tools.cisco.com/security/center/viewAlert.x?alertId=56326
- [other] https://github.com/zi0Black/POC-CVE-2018-0114
- [other] https://github.com/cisco/node-jose/blob/master/CHANGELOG.md
- [exploit] https://www.exploit-db.com/exploits/44324/
- [other] http://www.securityfocus.com/bid/102445

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
