Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. ssri
  4. ›
  5. CVE-2021-27290

CVE-2021-27290: Uncontrolled Resource Consumption

March 12, 2021 (updated May 13, 2022)

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.

References

  • nvd.nist.gov/vuln/detail/CVE-2021-27290

Code Behaviors & Features

Detect and mitigate CVE-2021-27290 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.2.2 before 6.0.2, all versions starting from 7.0.0 before 8.0.1

Fixed versions

  • 6.0.2
  • 8.0.1

Solution

Upgrade to versions 6.0.2, 8.0.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Source file

npm/ssri/CVE-2021-27290.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:22 +0000.