Vulnerability · Published Jun 1, 2022 · Assigned by JFROG

CVE-2021-43308Exponential ReDoS in markdown-link-extractor

Medium 5.9

In plain English

A medium-severity regular-expression denial of service in markdown-link-extractor from markdown-link-extractor. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 66% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)1.1%top 34.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmmarkdown-link-extractor3.0.2GHSA-mmh6-m7v9-5956
npmmarkdown-link-extractor4.0.1GHSA-mmh6-m7v9-5956

Affected products (as reported)

VendorProductVersions
markdown-link-extractor markdown-link-extractor unspecified – before 3.0.2

Weakness: CWE-1333 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

References