{
  "@id": "urn:uuid:274f3004-49ab-4edc-a343-613128b40e7a",
  "role": "Document Creator",
  "author": "https://tuxcare.com",
  "version": 4,
  "@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@5.1.16",
          "identifiers": {
            "purl": "pkg:npm/nanoid@5.1.16"
          }
        }
      ],
      "timestamp": "2026-11-14T08:08:32.621821+00:00",
      "status_notes": "Vulnerability CVE-2021-23566 affects version 5.1.16 of nanoid.",
      "vulnerability": {
        "name": "CVE-2021-23566"
      },
      "action_statement": "Vulnerability CVE-2021-23566 affects version 5.1.16 of nanoid."
    },
    {
      "status": "affected",
      "products": [
        {
          "@id": "pkg:npm/nanoid@5.1.16",
          "identifiers": {
            "purl": "pkg:npm/nanoid@5.1.16"
          }
        }
      ],
      "timestamp": "2026-11-14T08:08:32.621821+00:00",
      "status_notes": "Vulnerability CVE-2024-55565 affects version 5.1.16 of nanoid.",
      "vulnerability": {
        "name": "CVE-2024-55565"
      },
      "action_statement": "Vulnerability CVE-2024-55565 affects version 5.1.16 of nanoid."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/nanoid@5.1.16",
          "identifiers": {
            "purl": "pkg:npm/nanoid@5.1.16"
          }
        }
      ],
      "timestamp": "2026-11-26T13:00:21.804332+00:00",
      "status_notes": "Vulnerability CVE-2026-67213 does not affect version 5.1.16 of nanoid. vc: not_affected \u2014 nanoid 5.1.16 already contains the upstream fix for CVE-2026-67213. In both customRandom implementations (Node and browser), the returned generator starts with `if (!size) return ''`, so a size of 0 never reaches the `while(true)` loop. The fix came in the upstream release and is not a TuxCare backport.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2026-67213"
      },
      "impact_statement": "vc: not_affected \u2014 nanoid 5.1.16 already contains the upstream fix for CVE-2026-67213. In both customRandom implementations (Node and browser), the returned generator starts with `if (!size) return ''`, so a size of 0 never reaches the `while(true)` loop. The fix came in the upstream release and is not a TuxCare backport."
    },
    {
      "status": "not_affected",
      "products": [
        {
          "@id": "pkg:npm/nanoid@5.1.16",
          "identifiers": {
            "purl": "pkg:npm/nanoid@5.1.16"
          }
        }
      ],
      "timestamp": "2026-12-02T18:20:00.052499+00:00",
      "status_notes": "Vulnerability CVE-2026-67214 does not affect version 5.1.16 of nanoid. Target nanoid version 5.1.16 is not affected by CVE-2026-67214. The vulnerability (infinite loop when negative size parameter is passed to non-secure nanoid/customAlphabet functions) was fixed in upstream commit 6de05d794f62eeac3f527c74c34c6af0c1d32e49 by spokodev, which was included in the upstream release 5.1.16 before TuxCare's involvement. Both vulnerable functions now use `while (i-- > 0)` instead of `while (i--)`, preventing infinite loops on negative input.",
      "justification": "vulnerable_code_not_present",
      "vulnerability": {
        "name": "CVE-2026-67214"
      },
      "impact_statement": "Target nanoid version 5.1.16 is not affected by CVE-2026-67214. The vulnerability (infinite loop when negative size parameter is passed to non-secure nanoid/customAlphabet functions) was fixed in upstream commit 6de05d794f62eeac3f527c74c34c6af0c1d32e49 by spokodev, which was included in the upstream release 5.1.16 before TuxCare's involvement. Both vulnerable functions now use `while (i-- > 0)` instead of `while (i--)`, preventing infinite loops on negative input."
    },
    {
      "status": "affected",
      "products": [
        {
          "@id": "pkg:npm/nanoid@5.1.16",
          "identifiers": {
            "purl": "pkg:npm/nanoid@5.1.16"
          }
        }
      ],
      "timestamp": "2026-11-14T08:08:32.621821+00:00",
      "status_notes": "Vulnerability CVE-2026-73086 affects version 5.1.16 of nanoid.",
      "vulnerability": {
        "name": "CVE-2026-73086"
      },
      "action_statement": "Vulnerability CVE-2026-73086 affects version 5.1.16 of nanoid."
    }
  ]
}
