ssri@6.0.1 vulnerabilities

Standard Subresource Integrity library -- parses, serializes, generates, and verifies integrity metadata according to the SRI spec.

Direct Vulnerabilities

Known vulnerabilities in the ssri package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Regular Expression Denial of Service (ReDoS)

ssri is a Standard Subresource Integrity library -- parses, serializes, generates, and verifies integrity metadata according to the SRI spec.

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS). ssri 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.

How to fix Regular Expression Denial of Service (ReDoS)?

Upgrade ssri to version 6.0.2, 7.1.1, 8.0.1 or higher.

>=5.2.2 <6.0.2 >=7.0.0 <7.1.1 >=8.0.0 <8.0.1