GHSA-vx3p-948g-6vhq

Regular Expression Denial of Service (ReDoS)

En bref

Publiée
Mise à jour
CVE
CVE-2021-27290
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Description

npm `ssri` 5.2.2-6.0.1 and 7.0.0-8.0.0, processes SRIs using a regular expression which is vulnerable to a denial of service. Malicious SRIs could take an extremely long time to process, leading to denial of service. This issue only affects consumers using the strict option.

Paquets affectés

PaquetVersions
npm · ssriintroduced 5.2.2, fixed 6.0.2
npm · ssriintroduced 7.0.0, fixed 7.1.1
npm · ssriintroduced 8.0.0, fixed 8.0.1

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database