Advisory

GHSA-j377-2x76-558h

Also known as: CVE-2021-36716

Summary

Improper Input Validation in is-email

Details

is-email helps validate an email address. A ReDoS (regular expression denial of service) flaw was found in the Segment is-email package before 1.0.1 for Node.js. An attacker that is able to provide crafted input to the isEmail(input) function may cause an application to consume an excessive amount of CPU.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-12-10 17:25 UTC
Modified
2023-11-08 04:06 UTC

Affected packages and fixes

is-email

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