Advisory

DEBIAN-CVE-2022-21680

Also known as: CVE-2022-21680

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2022-01-14 17:15 UTC
Modified
2026-11-18 06:02 UTC

Affected packages and fixes

node-marked

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 4.0.12+ds+~4.0.1-1 (ecosystem)

Fixed versions

4.0.12+ds+~4.0.1-1

Fix

  • Fixed version 4.0.12+ds+~4.0.1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

node-marked

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 4.0.12+ds+~4.0.1-1 (ecosystem)

Fixed versions

4.0.12+ds+~4.0.1-1

Fix

  • Fixed version 4.0.12+ds+~4.0.1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

node-marked

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 4.0.12+ds+~4.0.1-1 (ecosystem)

Fixed versions

4.0.12+ds+~4.0.1-1

Fix

  • Fixed version 4.0.12+ds+~4.0.1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences