From 70bdd4a95c1161dbbfc27531cf2381bf78903ae6 Mon Sep 17 00:00:00 2001 From: Andrey Sitnik Date: Mon, 3 Aug 2026 12:40:58 +0200 Subject: [PATCH] Improve GHSA-2v37-7h3g-55p8 --- .../GHSA-2v37-7h3g-55p8.json | 48 ++++++++++++++++--- 1 file changed, 42 insertions(+), 6 deletions(-) diff --git a/advisories/unreviewed/2026/07/GHSA-2v37-7h3g-55p8/GHSA-2v37-7h3g-55p8.json b/advisories/unreviewed/2026/07/GHSA-2v37-7h3g-55p8/GHSA-2v37-7h3g-55p8.json index 338f36b61b57..c2c91884f32d 100644 --- a/advisories/unreviewed/2026/07/GHSA-2v37-7h3g-55p8/GHSA-2v37-7h3g-55p8.json +++ b/advisories/unreviewed/2026/07/GHSA-2v37-7h3g-55p8/GHSA-2v37-7h3g-55p8.json @@ -1,23 +1,59 @@ { "schema_version": "1.4.0", "id": "GHSA-2v37-7h3g-55p8", - "modified": "2026-07-29T15:31:12Z", + "modified": "2026-07-29T15:31:18Z", "published": "2026-07-29T15:31:12Z", "aliases": [ "CVE-2026-67213" ], + "summary": "Infinite loop in Nano ID on size 0", "details": "nanoid (Nano ID) before 5.1.6 contains an infinite loop in the customAlphabet and customRandom functions. When these functions are configured with a size of 0, the internal generation loop never satisfies its exit condition and spins indefinitely, hanging the calling thread. An application that passes an unvalidated, attacker-controlled size of 0 to these functions is exposed to a denial-of-service condition.", "severity": [ { - "type": "CVSS_V3", - "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H" + "type": "CVSS_V4", + "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N" + } + ], + "affected": [ + { + "package": { + "ecosystem": "npm", + "name": "nanoid" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "4.0.0" + }, + { + "fixed": "5.1.6" + } + ] + } + ] }, { - "type": "CVSS_V4", - "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X" + "package": { + "ecosystem": "npm", + "name": "nanoid" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "3.3.17" + } + ] + } + ] } ], - "affected": [], "references": [ { "type": "ADVISORY",