GHSA-qrpm-p2h7-hrv2

Suggest an improvement
Source
https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-qrpm-p2h7-hrv2/GHSA-qrpm-p2h7-hrv2.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-qrpm-p2h7-hrv2
Aliases
Published
2022-01-21T23:57:06Z
Modified
2024-12-10T22:57:32.192035Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
Exposure of Sensitive Information to an Unauthorized Actor in nanoid
Details

The package nanoid from 3.0.0, before 3.1.31, are vulnerable to Information Exposure via the valueOf() function which allows to reproduce the last id generated.

Database specific
{
    "nvd_published_at": "2022-01-14T20:15:00Z",
    "github_reviewed_at": "2022-01-18T21:54:04Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-200"
    ]
}
References

Affected packages

npm / nanoid

Package

Affected ranges

Type
SEMVER
Events
Introduced
3.0.0
Fixed
3.1.31