GHSA-vx3p-948g-6vhq

Suggest an improvement
Source
https://github.com/advisories/GHSA-vx3p-948g-6vhq
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/03/GHSA-vx3p-948g-6vhq/GHSA-vx3p-948g-6vhq.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-vx3p-948g-6vhq
Aliases
Published
2021-03-19T21:24:36Z
Modified
2023-11-08T04:05:24.003426Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Regular Expression Denial of Service (ReDoS)
Details

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.

Database specific
{
    "nvd_published_at": "2021-03-12T22:15:00Z",
    "cwe_ids": [
        "CWE-400"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2021-03-15T18:24:30Z"
}
References

Affected packages

npm / ssri

Package

Affected ranges

Type
SEMVER
Events
Introduced
5.2.2
Fixed
6.0.2

npm / ssri

Package

Affected ranges

Type
SEMVER
Events
Introduced
7.0.0
Fixed
7.1.1

npm / ssri

Package

Affected ranges

Type
SEMVER
Events
Introduced
8.0.0
Fixed
8.0.1

Affected versions

8.*

8.0.0