Lookup for vulnerable packages by Package URL.

Purlpkg:npm/npm-user-validate@1.0.1
Typenpm
Namespace
Namenpm-user-validate
Version1.0.1
Qualifiers
Subpath
Is_vulnerablefalse
Next_non_vulnerable_versionnull
Latest_non_vulnerable_versionnull
Affected_by_vulnerabilities
Fixing_vulnerabilities
0
url VCID-khpz-njyn-5qd1
vulnerability_id VCID-khpz-njyn-5qd1
summary
Regular Expression Denial of Service in npm-user-validate
`npm-user-validate` before version `1.0.1` is vulnerable to a Regular Expression Denial of Service (REDos). The regex that validates user emails took exponentially longer to process long input strings beginning with `@` characters.

### Impact
The issue affects the `email` function. If you use this function to process arbitrary user input with no character limit the application may be susceptible to Denial of Service.

### Patches
The issue is patched in version 1.0.1 by improving the regular expression used and also enforcing a 254 character limit.

### Workarounds
Restrict the character length to a reasonable degree before passing a value to `.emal()`; Also, consider doing a more rigorous sanitizing/validation beforehand.
references
0
reference_url https://github.com/npm/npm-user-validate/security/advisories/GHSA-xgh6-85xh-479p
reference_id
reference_type
scores
0
value LOW
scoring_system cvssv3.1_qr
scoring_elements
1
value LOW
scoring_system generic_textual
scoring_elements
url https://github.com/npm/npm-user-validate/security/advisories/GHSA-xgh6-85xh-479p
1
reference_url https://github.com/advisories/GHSA-xgh6-85xh-479p
reference_id GHSA-xgh6-85xh-479p
reference_type
scores
0
value LOW
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-xgh6-85xh-479p
fixed_packages
0
url pkg:npm/npm-user-validate@1.0.1
purl pkg:npm/npm-user-validate@1.0.1
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/npm-user-validate@1.0.1
aliases GHSA-xgh6-85xh-479p
risk_score 1.4
exploitability 0.5
weighted_severity 2.7
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-khpz-njyn-5qd1
1
url VCID-v5h1-gpt1-97bj
vulnerability_id VCID-v5h1-gpt1-97bj
summary
Regular expression denial of service in npm-user-validate
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.
references
0
reference_url https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-7754.json
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
url https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-7754.json
1
reference_url https://api.first.org/data/v1/epss?cve=CVE-2020-7754
reference_id
reference_type
scores
0
value 0.0163
scoring_system epss
scoring_elements 0.81996
published_at 2026-05-07T12:55:00Z
1
value 0.0163
scoring_system epss
scoring_elements 0.8187
published_at 2026-04-08T12:55:00Z
2
value 0.0163
scoring_system epss
scoring_elements 0.81877
published_at 2026-04-09T12:55:00Z
3
value 0.0163
scoring_system epss
scoring_elements 0.81897
published_at 2026-04-11T12:55:00Z
4
value 0.0163
scoring_system epss
scoring_elements 0.81885
published_at 2026-04-12T12:55:00Z
5
value 0.0163
scoring_system epss
scoring_elements 0.8188
published_at 2026-04-13T12:55:00Z
6
value 0.0163
scoring_system epss
scoring_elements 0.81916
published_at 2026-04-18T12:55:00Z
7
value 0.0163
scoring_system epss
scoring_elements 0.81918
published_at 2026-04-21T12:55:00Z
8
value 0.0163
scoring_system epss
scoring_elements 0.81941
published_at 2026-04-24T12:55:00Z
9
value 0.0163
scoring_system epss
scoring_elements 0.81952
published_at 2026-04-26T12:55:00Z
10
value 0.0163
scoring_system epss
scoring_elements 0.81956
published_at 2026-04-29T12:55:00Z
11
value 0.0163
scoring_system epss
scoring_elements 0.81977
published_at 2026-05-05T12:55:00Z
12
value 0.0163
scoring_system epss
scoring_elements 0.81814
published_at 2026-04-01T12:55:00Z
13
value 0.0163
scoring_system epss
scoring_elements 0.81824
published_at 2026-04-02T12:55:00Z
14
value 0.0163
scoring_system epss
scoring_elements 0.81847
published_at 2026-04-04T12:55:00Z
15
value 0.0163
scoring_system epss
scoring_elements 0.81844
published_at 2026-04-07T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2020-7754
2
reference_url https://github.com/npm/npm-user-validate/commit/c8a87dac1a4cc6988b5418f30411a8669bef204e
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/npm/npm-user-validate/commit/c8a87dac1a4cc6988b5418f30411a8669bef204e
3
reference_url https://github.com/npm/npm-user-validate/security/advisories/GHSA-xgh6-85xh-479p
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/npm/npm-user-validate/security/advisories/GHSA-xgh6-85xh-479p
4
reference_url https://nvd.nist.gov/vuln/detail/CVE-2020-7754
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2020-7754
5
reference_url https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1019353
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1019353
6
reference_url https://snyk.io/vuln/SNYK-JS-NPMUSERVALIDATE-1019352
reference_id
reference_type
scores
0
value 7.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1
value HIGH
scoring_system generic_textual
scoring_elements
url https://snyk.io/vuln/SNYK-JS-NPMUSERVALIDATE-1019352
7
reference_url https://bugzilla.redhat.com/show_bug.cgi?id=1892430
reference_id 1892430
reference_type
scores
url https://bugzilla.redhat.com/show_bug.cgi?id=1892430
8
reference_url https://github.com/advisories/GHSA-pw54-mh39-w3hc
reference_id GHSA-pw54-mh39-w3hc
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-pw54-mh39-w3hc
9
reference_url https://access.redhat.com/errata/RHSA-2021:0421
reference_id RHSA-2021:0421
reference_type
scores
url https://access.redhat.com/errata/RHSA-2021:0421
10
reference_url https://access.redhat.com/errata/RHSA-2021:0485
reference_id RHSA-2021:0485
reference_type
scores
url https://access.redhat.com/errata/RHSA-2021:0485
11
reference_url https://access.redhat.com/errata/RHSA-2021:0521
reference_id RHSA-2021:0521
reference_type
scores
url https://access.redhat.com/errata/RHSA-2021:0521
12
reference_url https://access.redhat.com/errata/RHSA-2021:0548
reference_id RHSA-2021:0548
reference_type
scores
url https://access.redhat.com/errata/RHSA-2021:0548
13
reference_url https://access.redhat.com/errata/RHSA-2021:0549
reference_id RHSA-2021:0549
reference_type
scores
url https://access.redhat.com/errata/RHSA-2021:0549
14
reference_url https://access.redhat.com/errata/RHSA-2021:0551
reference_id RHSA-2021:0551
reference_type
scores
url https://access.redhat.com/errata/RHSA-2021:0551
fixed_packages
0
url pkg:npm/npm-user-validate@1.0.1
purl pkg:npm/npm-user-validate@1.0.1
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/npm-user-validate@1.0.1
aliases CVE-2020-7754, GHSA-pw54-mh39-w3hc
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-v5h1-gpt1-97bj
Risk_scorenull
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:npm/npm-user-validate@1.0.1