Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. markdown-link-extractor
  4. ›
  5. CVE-2021-43308

CVE-2021-43308: Regular expression denial of service in markdown-link-extractor

June 3, 2022

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

References

  • github.com/advisories/GHSA-mmh6-m7v9-5956
  • nvd.nist.gov/vuln/detail/CVE-2021-43308
  • research.jfrog.com/vulnerabilities/markdown-link-extractor-redos-xray-211350/

Code Behaviors & Features

Detect and mitigate CVE-2021-43308 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 before 3.0.2, all versions starting from 4.0.0 before 4.0.1

Fixed versions

  • 3.0.2
  • 4.0.1

Solution

Upgrade to versions 3.0.2, 4.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/markdown-link-extractor/CVE-2021-43308.yml

Spotted a mistake? Edit the file on GitLab.

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

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