{
  "@id": "urn:uuid:c22a9caf-de96-4de6-a4d7-439e4c5ba6f9",
  "role": "Document Creator",
  "author": "https://tuxcare.com",
  "version": 5,
  "@context": "https://openvex.dev/ns/v0.2.0",
  "timestamp": "2026-12-02T18:20:00.052499+00:00",
  "statements": [
    {
      "status": "affected",
      "products": [
        {
          "@id": "pkg:npm/nanoid@3.3.17",
          "identifiers": {
            "purl": "pkg:npm/nanoid@3.3.17"
          }
        }
      ],
      "timestamp": "2026-11-14T08:08:32.621821+00:00",
      "status_notes": "Vulnerability CVE-2021-23566 affects version 3.3.17 of nanoid.",
      "vulnerability": {
        "name": "CVE-2021-23566"
      },
      "action_statement": "Vulnerability CVE-2021-23566 affects version 3.3.17 of nanoid."
    },
    {
      "status": "affected",
      "products": [
        {
          "@id": "pkg:npm/nanoid@3.3.17",
          "identifiers": {
            "purl": "pkg:npm/nanoid@3.3.17"
          }
        }
      ],
      "timestamp": "2026-11-14T08:08:32.621821+00:00",
      "status_notes": "Vulnerability CVE-2024-55565 affects version 3.3.17 of nanoid.",
      "vulnerability": {
        "name": "CVE-2024-55565"
      },
      "action_statement": "Vulnerability CVE-2024-55565 affects version 3.3.17 of nanoid."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/nanoid@3.3.17",
          "identifiers": {
            "purl": "pkg:npm/nanoid@3.3.17"
          }
        }
      ],
      "timestamp": "2026-10-08T15:25:06.858040+00:00",
      "status_notes": "Vulnerability CVE-2026-67213 does not affect version 3.3.17 of nanoid. The target nanoid version 3.3.17 is not affected by CVE-2026-67213. The upstream vendor (Andrey Sitnik, original nanoid author) already applied the fix in commit f9d13f150847d117877adee3460a46eceb0cf49b on 2026-08-03. This fix adds `if (size <= 0) return ''` to all secure ID generation functions (customRandom, customAlphabet) in both sync and async variants, preventing the infinite loop when size=0. The fix is present in HEAD at the analyzed SHA cb401d79ae87781184a97ccf0429a94892f1266e. This is an upstream vendor fix, not a TuxCare backport.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2026-67213"
      },
      "impact_statement": "The target nanoid version 3.3.17 is not affected by CVE-2026-67213. The upstream vendor (Andrey Sitnik, original nanoid author) already applied the fix in commit f9d13f150847d117877adee3460a46eceb0cf49b on 2026-08-03. This fix adds `if (size <= 0) return ''` to all secure ID generation functions (customRandom, customAlphabet) in both sync and async variants, preventing the infinite loop when size=0. The fix is present in HEAD at the analyzed SHA cb401d79ae87781184a97ccf0429a94892f1266e. This is an upstream vendor fix, not a TuxCare backport."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/nanoid@3.3.17",
          "identifiers": {
            "purl": "pkg:npm/nanoid@3.3.17"
          }
        }
      ],
      "timestamp": "2026-12-02T18:20:00.052499+00:00",
      "status_notes": "Vulnerability CVE-2026-67214 does not affect version 3.3.17 of nanoid. The target nanoid version 3.3.17 is NOT affected by CVE-2026-67214. The vulnerability (infinite loop when customAlphabet or nanoid functions receive negative size) has been fixed by upstream commit e835c9b, which was already present in upstream release 3.3.16 before TuxCare onboarded this version. Both non-secure/index.js and non-secure/index.cjs contain the fix: `while (i-- > 0)` instead of the vulnerable `while (i--)`. The fix prevents infinite loops by adding an explicit comparison that terminates immediately when size is negative.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2026-67214"
      },
      "impact_statement": "The target nanoid version 3.3.17 is NOT affected by CVE-2026-67214. The vulnerability (infinite loop when customAlphabet or nanoid functions receive negative size) has been fixed by upstream commit e835c9b, which was already present in upstream release 3.3.16 before TuxCare onboarded this version. Both non-secure/index.js and non-secure/index.cjs contain the fix: `while (i-- > 0)` instead of the vulnerable `while (i--)`. The fix prevents infinite loops by adding an explicit comparison that terminates immediately when size is negative."
    },
    {
      "status": "affected",
      "products": [
        {
          "@id": "pkg:npm/nanoid@3.3.17",
          "identifiers": {
            "purl": "pkg:npm/nanoid@3.3.17"
          }
        }
      ],
      "timestamp": "2026-11-14T08:08:32.621821+00:00",
      "status_notes": "Vulnerability CVE-2026-73086 affects version 3.3.17 of nanoid.",
      "vulnerability": {
        "name": "CVE-2026-73086"
      },
      "action_statement": "Vulnerability CVE-2026-73086 affects version 3.3.17 of nanoid."
    }
  ]
}
