Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-0114
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 09:59 UTC · Revision 1

Source evidence

CVE-2018-0114

core-osv · Original source

Published 4 Jan 2018, 06:29 UTC

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.

osv:CVE-2018-0114
Complete source record
{
  "id": "a058be632679ab8b1dc5e0f6d8dd5cde2838db2a067ec412f41ae83b98128f26",
  "url": "https://osv.dev/vulnerability/CVE-2018-0114",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-0114",
    "summary": "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.",
    "evidence": "osv:CVE-2018-0114",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2018-0114",
      "aliases": [
        "CVE-2018-0114",
        "GHSA-jfxm-w8g2-4rcv"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/cisco/node-jose",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "f15bd4637c96a79e715ff90a5e479177fccb3d25"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:cisco:node-jose:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.11.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.10.0",
            "0.9.5",
            "0.9.4",
            "0.9.3",
            "0.9.2",
            "0.9.1",
            "0.9.0",
            "0.8.1",
            "0.8.0",
            "0.7.1",
            "0.7.0",
            "0.6.0",
            "0.5.2",
            "0.5.0",
            "0.4.0",
            "0.3.1",
            "0.3.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-0114.json"
          }
        }
      ],
      "modified": "2026-10-20T10:49:38.601859193Z",
      "provider": "osv",
      "references": [
        "https://github.com/cisco/node-jose/blob/master/CHANGELOG.md",
        "https://www.exploit-db.com/exploits/44324/",
        "https://tools.cisco.com/security/center/viewAlert.x?alertId=56326",
        "https://github.com/zi0Black/POC-CVE-2018-0114"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-0114",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 380629,
  "published_at": "2018-01-04T06:29:00.417+00:00"
}