Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-43308

An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the markdown-link-extractor npm package, when an attacker is able to supply arbitrary input to the module's exported function

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

Source evidence

CVE-2021-43308

core-osv · Original source

Published 2 Jun 2022, 14:15 UTC

An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the markdown-link-extractor npm package, when an attacker is able to supply arbitrary input to the module's exported function

osv:CVE-2021-43308
Complete source record
{
  "id": "0d31cd46c1365bffdc9d1391e2cf464dd7ec313c329b4bafcf199b36f3f95229",
  "url": "https://osv.dev/vulnerability/CVE-2021-43308",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-43308",
    "summary": "An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the markdown-link-extractor npm package, when an attacker is able to supply arbitrary input to the module's exported function",
    "evidence": "osv:CVE-2021-43308",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-43308",
      "aliases": [
        "CVE-2021-43308",
        "GHSA-mmh6-m7v9-5956"
      ],
      "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/tcort/markdown-link-extractor",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "aab659c50ae3e5459584dd0944f7c1489b03a4c0"
                },
                {
                  "introduced": "d31d69333fb2654a4b02ffdc28a9ba18d13b420d"
                },
                {
                  "last_affected": "d31d69333fb2654a4b02ffdc28a9ba18d13b420d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:markdown-link-extractor_project:markdown-link-extractor:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.0.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:markdown-link-extractor_project:markdown-link-extractor:4.0.0:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0"
                      },
                      {
                        "last_affected": "4.0.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.0.0",
            "v3.0.1",
            "v3.0.0",
            "v4.0.0",
            "v2.0.1",
            "v2.0.0",
            "v1.3.1",
            "v1.3.0",
            "v1.2.7",
            "v1.2.6",
            "v1.2.5",
            "v1.2.3",
            "v1.2.2",
            "v1.2.1",
            "v1.2.0",
            "v1.1.2",
            "v1.1.1",
            "v1.1.0",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-43308.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:16.104606929Z",
      "provider": "osv",
      "references": [
        "https://research.jfrog.com/vulnerabilities/markdown-link-extractor-redos-xray-211350/"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-43308",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 429287,
  "published_at": "2022-06-02T14:15:31.047+00:00"
}