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
2026-07-08T06:49:44Z
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
{
    "cwe_ids":  [
        "CWE-400"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2021-04-20T17:21:44Z",
    "nvd_published_at":  "2020-10-27T15:15:00Z",
    "severity":  "HIGH"
}
References

Affected packages

npm / npm-user-validate

Package

Name
npm-user-validate
View open source insights on deps.dev
Purl
pkg:npm/npm-user-validate

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-pw54-mh39-w3hc/GHSA-pw54-mh39-w3hc.json"