{"schema_version":"1.7.3","id":"GHSA-vx3p-948g-6vhq","published":"2021-03-19T21:24:36Z","modified":"2023-11-08T04:05:24.003426Z","aliases":["CVE-2021-27290"],"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.","affected":[{"package":{"name":"ssri","ecosystem":"npm","purl":"pkg:npm/ssri"},"ranges":[{"type":"SEMVER","events":[{"introduced":"5.2.2"},{"fixed":"6.0.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/03/GHSA-vx3p-948g-6vhq/GHSA-vx3p-948g-6vhq.json"}},{"package":{"name":"ssri","ecosystem":"npm","purl":"pkg:npm/ssri"},"ranges":[{"type":"SEMVER","events":[{"introduced":"7.0.0"},{"fixed":"7.1.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/03/GHSA-vx3p-948g-6vhq/GHSA-vx3p-948g-6vhq.json"}},{"package":{"name":"ssri","ecosystem":"npm","purl":"pkg:npm/ssri"},"ranges":[{"type":"SEMVER","events":[{"introduced":"8.0.0"},{"fixed":"8.0.1"}]}],"versions":["8.0.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/03/GHSA-vx3p-948g-6vhq/GHSA-vx3p-948g-6vhq.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27290"},{"type":"WEB","url":"https://github.com/npm/ssri/pull/20#issuecomment-842677644"},{"type":"WEB","url":"https://github.com/npm/ssri/commit/76e223317d971f19e4db8191865bdad5edee40d2"},{"type":"WEB","url":"https://github.com/npm/ssri/commit/809c84d09ea87c3857fa171d42914586899d4538"},{"type":"WEB","url":"https://github.com/npm/ssri/commit/b30dfdb00bb94ddc49a25a85a18fb27afafdfbb1"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf"},{"type":"WEB","url":"https://doyensec.com/resources/Doyensec_Advisory_ssri_redos.pdf"},{"type":"PACKAGE","url":"https://github.com/npm/ssri"},{"type":"WEB","url":"https://github.com/yetingli/SaveResults/blob/main/pdf/ssri-redos.pdf"},{"type":"WEB","url":"https://npmjs.com"},{"type":"WEB","url":"https://www.npmjs.com/package/ssri"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpuoct2021.html"}],"database_specific":{"cwe_ids":["CWE-400"],"github_reviewed":true,"github_reviewed_at":"2021-03-15T18:24:30Z","nvd_published_at":"2021-03-12T22:15:00Z","severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}