Skip to main content

Inefficient Regular Expression Complexity

CVE-2021-43308

Severity High
Score 7.5/10

Summary

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

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • HIGH

CWE-1333 - Inefficient Regular Expression Complexity

The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.

Advisory Timeline

  • Published