Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-27290

ssri 5.2.2-8.0.0, fixed in 8.0.1, 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-27290
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:34 UTC · Revision 1

Source evidence

CVE-2021-27290

core-osv · Original source

Published 12 Mar 2021, 22:15 UTC

ssri 5.2.2-8.0.0, fixed in 8.0.1, 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.

osv:CVE-2021-27290
Complete source record
{
  "id": "eb5b7aed11f0b859fa35048589e7f496289e040eb1e3da3652df87ba93904395",
  "url": "https://osv.dev/vulnerability/CVE-2021-27290",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-27290",
    "summary": "ssri 5.2.2-8.0.0, fixed in 8.0.1, 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.",
    "evidence": "osv:CVE-2021-27290",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-27290",
      "aliases": [
        "CVE-2021-27290",
        "GHSA-vx3p-948g-6vhq"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/graalvm/graalvm-ce-builds",
              "type": "GIT",
              "events": [
                {
                  "introduced": "55ff3f2503007a859219b5e7f68b0f6ca95225f0"
                },
                {
                  "last_affected": "771d7a8d2b73cf72a2622ca6305dcc9e9306f296"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:oracle:graalvm:20.3.3:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "20.3.3"
                      },
                      {
                        "last_affected": "20.3.3"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:oracle:graalvm:21.2.0:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "21.2.0"
                      },
                      {
                        "last_affected": "21.2.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "20.3.3",
            "21.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-27290.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/npm/ssri",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0fb45e7e0eba615bf0080bf350c95e19412ff9a9"
                },
                {
                  "fixed": "b7c8c7c61db89aeb9fbf7596c0ef17071bc216ef"
                },
                {
                  "introduced": "9c76e0cf1079a314880078ddfa1dd2b241ba4133"
                },
                {
                  "fixed": "3eec7a375a8c7664d4e33c212058313c6fb43c57"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:ssri_project:ssri:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "5.2.2"
                      },
                      {
                        "fixed": "6.0.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:ssri_project:ssri:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "7.0.0"
                      },
                      {
                        "fixed": "8.0.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v7.1.0",
            "v6.0.1",
            "v8.0.0",
            "v7.0.1",
            "v7.0.0",
            "v6.0.0",
            "v5.3.0",
            "v5.2.4",
            "v5.2.3",
            "v5.2.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-27290.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:20.324925391Z",
      "provider": "osv",
      "references": [
        "https://npmjs.com",
        "https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf",
        "https://doyensec.com/resources/Doyensec_Advisory_ssri_redos.pdf",
        "https://www.oracle.com/security-alerts/cpuoct2021.html",
        "https://github.com/yetingli/SaveResults/blob/main/pdf/ssri-redos.pdf"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:siemens:sinec_infrastructure_network_services:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "siemens:sinec_infrastructure_network_services",
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "1.0.1.1"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:ssri_project:ssri:*:*:*:*:*:node.js:*:*"
            ],
            "vendor_product": "ssri_project:ssri",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "5.2.2"
                  },
                  {
                    "fixed": "6.0.2"
                  },
                  {
                    "introduced": "7.0.0"
                  },
                  {
                    "fixed": "8.0.1"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-27290",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 430238,
  "published_at": "2021-03-12T22:15:14.843+00:00"
}