Regular Expression Denial of Service (ReDoS)
Affected releases · ssri
- 8.x8.0.0Fixed in 8.0.1
- 7.x7.0.0 – 7.1.0Fixed in 7.1.1
- 6.x6.0.0 – 6.0.1Fixed in 6.0.2
- 5.x5.2.2 – 5.3.0No fix on this line yet
On 8.x, the newest line:
npm install ssri@8.0.1Every release on a timeline
Not affected
14.0.0
1 release, latest
Affected
8.0.0
1 release
Fixed
8.0.1
1 release
Affected
7.0.0 – 7.1.0
3 releases
Fixed
7.1.1
1 release
Affected
6.0.0 – 6.0.1
2 releases
Fixed
6.0.2
1 release
Not affected
5.0.0 – 5.2.1
3 releases
Affected
5.2.2 – 5.3.0
4 releases
What happens
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.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.