CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2022 · Marked Project

CVE-2022-21680
Marked Project Marked vulnerability

Marked is a markdown parser and compiler. Prior to version 4.0.10, the regular expression `block.def` may cause catastrophic backtracking against some strings and lead to a regular expression denial of service (ReDoS). Anyone who runs untrusted markdown through a vulnerable version of marked and does not use a worker with a time limit may be affected. This issue is patched in version 4.0.10. As a workaround, avoid running untrusted markdown through marked or run marked on a worker thread and set a reasonable time limit to prevent draining resources.

Affected products

Marked, Fedora. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Marked Project Marked runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Marked Project products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.