CVE-2022-21681: fedoraproject fedora Uncontrolled Resource Consumption
Vulnerability summary
CVE-2022-21681 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in fedoraproject fedora. EPSS estimates a 2.77% chance of exploitation in the next 30 days, higher than 86.1% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 14-01-2022PublishedVulnerability first disclosed.
- 22-04-2025Last modifiedVulnerability information updated.
Description
Marked is a markdown parser and compiler. Prior to version 4.0.10, the regular expression `inline.reflinkSearch` may cause catastrophic backtracking against some strings and lead to a denial of service (DoS). 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.
CVSS metrics
7 scores · 6 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · NpmEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
2.77%
Chance of exploitation in the next 30 days
Percentile
86%
Versus all other CVEs
30-day change
+0.02 pp
From 2.74% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundMarked
Maturity: poc
Weaknesses
CWE · root cause- CWE-400Uncontrolled Resource ConsumptionThe product does not properly control the allocation and maintenance of a limited resource.
- CWE-1333Inefficient Regular Expression ComplexityThe product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.
Affected systems
Chainguard2 products
- arangodb-3.11All versions (No fix recorded)
- arangodb-3.12< 3.12.9.4-r14
Debian1 product
- node-marked< 4.0.12+ds+~4.0.1-1
Fedoraproject1 product
- fedoraEOL36
Marked_project1 product
- marked< 4.0.10
Markedjs1 product
- marked< 4.0.10
Npm1 product
- marked< 4.0.10
Ubuntu1 product
- node-markedAll versions (No fix recorded)
7 vendors · 8 products
References
11 links- github.com/markedjs/marked/security/advisories/GHSA-5v2h-r2cx-5xgjREPORTWEBAdvisoryExploitThird Party Advisory
- github.com/markedjs/marked/commit/8f806573a3f6c6b7a39b8cdb66ab5ebb8d55a5f5WEBFIXPatchThird Party Advisory
- github.com/markedjs/markedPACKAGE