LiveActive security incident?Get immediate response
CVE Record

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

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

MediumCVSS 5.9Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2021-43308 is a denial-of-service issue in the npm package markdown-link-extractor. If an application lets attackers submit text that this package parses, crafted input can make processing take excessive time and degrade availability.

Executive priority

Treat as a targeted availability risk, not a data-theft issue. Prioritize internet-facing services that parse user-submitted Markdown and have weak request limits.

Technical view

The issue is CWE-1333: an inefficient regular expression with exponential behavior in the package's exported function. The CVSS vector is network-reachable, unauthenticated, high complexity, no confidentiality or integrity impact, and high availability impact.

Likely exposure

Exposure is likely limited to Node.js applications that use markdown-link-extractor directly or transitively and pass attacker-controlled Markdown or text into its exported function.

Exploitation context

The bundle does not show KEV listing or other evidence of active exploitation. Successful abuse requires arbitrary input reaching the vulnerable parser and is rated high complexity.

Researcher notes

Affected versions and a fixed version are not specified in the supplied bundle. Validation should focus on dependency reachability, attacker-controlled input paths, and operational blast radius.

Mitigation direction

  • Inventory direct and transitive use of markdown-link-extractor.
  • Check maintainer or JFrog guidance for affected and fixed versions.
  • Avoid sending untrusted large Markdown input to this parser.
  • Apply request size, timeout, and worker isolation controls around Markdown processing.
  • Replace or remove the dependency if no maintained fix is available.

Validation and detection

  • Search dependency manifests and lockfiles for markdown-link-extractor.
  • Identify application paths that parse user-supplied Markdown or text.
  • Confirm deployed package versions against vendor or advisory guidance.
  • Review availability monitoring for parser-related latency or resource spikes.
  • Add regression coverage for bounded processing of malformed Markdown input.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-1333: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-43308 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.9 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.9CVSS 3.1MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H2.23.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

5.9Medium
CVSS 3.1 vector shape for CVE-2021-43308Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
markdown-link-extractormarkdown-link-extractorunspecifiedListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-1333 · source CWE mapping

Inefficient Regular Expression Complexity

Inefficient Regular Expression Complexity represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.