Skip to content

Commit 1428fc6

Browse files
Merge pull request #8955 from github/ai-GHSA-2v37-7h3g-55p8
2 parents ae9a2f0 + 70bdd4a commit 1428fc6

1 file changed

Lines changed: 42 additions & 6 deletions

File tree

advisories/unreviewed/2026/07/GHSA-2v37-7h3g-55p8/GHSA-2v37-7h3g-55p8.json

Lines changed: 42 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,59 @@
11
{
22
"schema_version": "1.4.0",
33
"id": "GHSA-2v37-7h3g-55p8",
4-
"modified": "2026-07-29T15:31:12Z",
4+
"modified": "2026-07-29T15:31:18Z",
55
"published": "2026-07-29T15:31:12Z",
66
"aliases": [
77
"CVE-2026-67213"
88
],
9+
"summary": "Infinite loop in Nano ID on size 0",
910
"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.",
1011
"severity": [
1112
{
12-
"type": "CVSS_V3",
13-
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
13+
"type": "CVSS_V4",
14+
"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"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "npm",
21+
"name": "nanoid"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "4.0.0"
29+
},
30+
{
31+
"fixed": "5.1.6"
32+
}
33+
]
34+
}
35+
]
1436
},
1537
{
16-
"type": "CVSS_V4",
17-
"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"
38+
"package": {
39+
"ecosystem": "npm",
40+
"name": "nanoid"
41+
},
42+
"ranges": [
43+
{
44+
"type": "ECOSYSTEM",
45+
"events": [
46+
{
47+
"introduced": "0"
48+
},
49+
{
50+
"fixed": "3.3.17"
51+
}
52+
]
53+
}
54+
]
1855
}
1956
],
20-
"affected": [],
2157
"references": [
2258
{
2359
"type": "ADVISORY",

0 commit comments

Comments
 (0)