GHSA-pw54-mh39-w3hc

Suggest an improvement
Source
https://github.com/advisories/GHSA-pw54-mh39-w3hc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-pw54-mh39-w3hc/GHSA-pw54-mh39-w3hc.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-pw54-mh39-w3hc
Aliases
Published
2021-05-10T19:08:15Z
Modified
2023-11-08T04:04:08.622642Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Regular expression denial of service in npm-user-validate
Details

This affects the package npm-user-validate before 1.0.1. The regex that validates user emails took exponentially longer to process long input strings beginning with @ characters.

Database specific
{
    "nvd_published_at": "2020-10-27T15:15:00Z",
    "github_reviewed_at": "2021-04-20T17:21:44Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-400"
    ]
}
References

Affected packages

npm / npm-user-validate

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.1