CVE-2021-27290
HIGH7.5EPSS 2.5%Regular Expression Denial of Service (ReDoS)
發布日:2021/3/19修改日:2023/11/8
描述
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.
受影響套件(3)
- Alpine/nodejsfrom 0, < 14.16.1-r1
- Debian/node-ssrifrom 0, < 8.0.1-1
- npm/ssri>= 5.2.2, < 6.0.2
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
參考連結(14)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-27290
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2021-27290
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-27290
- PATCHhttps://github.com/npm/ssri
- WEBhttps://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- WEBhttps://doyensec.com/resources/Doyensec_Advisory_ssri_redos.pdf
- WEBhttps://github.com/npm/ssri/commit/76e223317d971f19e4db8191865bdad5edee40d2
- WEBhttps://github.com/npm/ssri/commit/809c84d09ea87c3857fa171d42914586899d4538
- WEBhttps://github.com/npm/ssri/commit/b30dfdb00bb94ddc49a25a85a18fb27afafdfbb1
- WEBhttps://github.com/npm/ssri/pull/20#issuecomment-842677644
- WEBhttps://github.com/yetingli/SaveResults/blob/main/pdf/ssri-redos.pdf
- WEBhttps://npmjs.com
- WEBhttps://www.npmjs.com/package/ssri
- WEBhttps://www.oracle.com/security-alerts/cpuoct2021.html