cve.bz

CVE-2021-43308 markdown-link-extractor project markdown-link-extractor

7.5 highExploit referenceEPSS 1.1%Fix available

High (7.5) in markdown-link-extractor project markdown-link-extractor. EPSS 1.1% estimated probability of exploitation activity in the next 30 days. Fixed in markdown-link-extractor 3.0.2, 4.0.1.

On this page
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

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 66th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-1333 Inefficient Regular Expression Complexity
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • markdown-link-extractor (npm): fixed in 3.0.2, 4.0.1
  • markdown-link-extractor markdown-link-extractor: fixed in 4.0.1

Ask an AI about this CVE

Show the promptExplain CVE-2021-43308 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-43308?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-43308?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-43308 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
markdown-link-extractorbefore 3.0.2

Fixed in

ProductFixed in
markdown-link-extractor4.0.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mmh6-m7v9-5956npmmarkdown-link-extractor<3.0.23.0.2
GHSA-mmh6-m7v9-5956npmmarkdown-link-extractor>=4.0.0 <4.0.14.0.1

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON