HighGHSA-f5w6-r7rg-mcgqCVE-2014-8882

Regular Expression Denial of Service in validator

Published 31 Aug 2020 · Updated 8 Nov 2023

Affected package

Affected
<3.22.1
Fixed in
3.22.1
Update to the fixed version for your release line, for example:npm install validator@3.22.1

Details

Versions of validator prior to 3.22.1 are affected by a regular expression denial of service vulnerability in the isURL method.

Recommendation

Update to version 3.22.1 or later.

Is GHSA-f5w6-r7rg-mcgq in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected validator, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.