{
  "cveId": "CVE-2022-46175",
  "url": "https://patchblox.com/security/cve/CVE-2022-46175",
  "summary": "CVE-2022-46175 is fixed in node-json5 on 1 platform, first by node-json5 0.5.1-1ubuntu0.1~esm1, released December 23, 2022. It is not reported as exploited. Patch Radar priority: High.",
  "title": "node-json5: JSON5 is an extension to the popular JSON file format that aims to be easier to write and maintain by hand (e.g",
  "description": "JSON5 is an extension to the popular JSON file format that aims to be easier to write and maintain by hand (e.g. for config files). The \u0060parse\u0060 method of the JSON5 library before and including versions 1.0.1 and 2.2.1 does not restrict parsing of keys named \u0060__proto__\u0060, allowing specially crafted strings to pollute the prototype of the resulting object. This vulnerability pollutes the prototype of the object returned by \u0060JSON5.parse\u0060 and not the global Object prototype, which is the commonly understood definition of Prototype Pollution. However, polluting the prototype of a single object can have significant security impact for an application if the object is later used in trusted operations. This vulnerability could allow an attacker to set arbitrary and unexpected keys on the object returned from \u0060JSON5.parse\u0060. The actual impact will depend on how applications utilize the returned object and how they filter unwanted keys, but could include denial of service, cross-site scripting, elevation of privilege, and in extreme cases, remote code execution. \u0060JSON5.parse\u0060 should restrict parsing of \u0060__proto__\u0060 keys when parsing JSON strings to objects. As a point of reference, the \u0060JSON.parse\u0060 method included in JavaScript ignores \u0060__proto__\u0060 keys. Simply changing \u0060JSON5.parse\u0060 to \u0060JSON.parse\u0060 in the examples above mitigates this vulnerability. This vulnerability is patched in json5 versions 1.0.2, 2.2.2, and later.",
  "published": "2022-12-23T20:15:00Z",
  "severity": "high",
  "cvss": 8.8,
  "cvssVector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
  "epss": 0.09698,
  "epssPercentile": 0.9554,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "node-json5",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "2.2.3\u002Bdfsg-1",
      "fix": "DEBIAN-CVE-2022-46175",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-46175",
      "released": "2022-12-24T04:15:08Z"
    },
    {
      "platform": "linux",
      "product": "node-json5",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "2.2.3\u002Bdfsg-1",
      "fix": "DEBIAN-CVE-2022-46175",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-46175",
      "released": "2022-12-24T04:15:08Z"
    },
    {
      "platform": "linux",
      "product": "node-json5",
      "release": "Debian 14",
      "fixedVersion": "2.2.3\u002Bdfsg-1",
      "fix": "DEBIAN-CVE-2022-46175",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-46175",
      "released": "2022-12-24T04:15:08Z"
    },
    {
      "platform": "linux",
      "product": "node-json5",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "0.5.1-1ubuntu0.1~esm1",
      "fix": "node-json5 0.5.1-1ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-node-json5-0.5.1-1ubuntu0.1-esm1",
      "released": "2022-12-23T20:15:00Z"
    },
    {
      "platform": "linux",
      "product": "node-json5",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "0.5.1-3ubuntu0.1",
      "fix": "node-json5 0.5.1-3ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-node-json5-0.5.1-3ubuntu0.1",
      "released": "2022-12-23T20:15:00Z"
    },
    {
      "platform": "linux",
      "product": "node-json5",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "2.2.0\u002Bdfsg-1ubuntu0.1~esm1",
      "fix": "node-json5 2.2.0\u002Bdfsg-1ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-node-json5-2.2.0-dfsg-1ubuntu0.1-esm1",
      "released": "2022-12-23T20:15:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T06:59:42Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}