The package nanoid from 3.0.0 and before 3.1.31 are vulnerable to Information Exposure via the valueOf() function which allows to reproduce the last id generated.
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:nanoid_project:nanoid:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "3.0.0"
},
{
"fixed": "3.1.31"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "2b7bd9332bc49b6330c7ddb08e5c661833db2575"
}
],
"source": "REFERENCES_COMMIT"
}
]
}