Advisory

GHSA-pw54-mh39-w3hc

Also known as: CVE-2020-7754, GHSA-xgh6-85xh-479p

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-05-10 19:08 UTC
Modified
2026-07-08 06:49 UTC

Affected packages and fixes

npm-user-validate

npm · All systems

Affected

  • introduced 0, fixed 1.0.1 (semver)

Fixed versions

1.0.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences