Nixpkgs security tracker

Login with GitHub
⚠️ You are using a production deployment that is still only suitable for demo purposes. Any work done in this might be wiped later without notice.

Suggestions search

With package: marked-man

Found 2 matching suggestions

View:
Compact
Detailed
Untriaged
created 1 month ago Activity log
  • Created suggestion
Marked: OOM Denial of Service via Infinite Recursion in marked Tokenizer

Marked is a markdown parser and compiler. From 18.0.0 to 18.0.1, a critical Denial of Service (DoS) vulnerability exists in marked. By providing a specific 3-byte input sequence a tab, a vertical tab, and a newline (\x09\x0b\n)—an unauthenticated attacker can trigger an infinite recursion loop during parsing. This leads to unbounded memory allocation, causing the host Node.js application to crash via Memory Exhaustion (OOM). This vulnerability is fixed in 18.0.2.

Affected products

marked
  • ==>= 18.0.0, < 18.0.2

Matching in nixpkgs

Package maintainers

Published
updated 1 year ago by @fricklerhandwerk Activity log
  • Created suggestion
  • @fricklerhandwerk accepted
  • @fricklerhandwerk published on GitHub
Regular Expression Denial of Service (ReDoS) in markedjs/marked

Marked prior to version 0.3.17 is vulnerable to a Regular Expression Denial of Service (ReDoS) attack due to catastrophic backtracking in several regular expressions used for parsing HTML tags and markdown links. An attacker can exploit this vulnerability by providing specially crafted markdown input, such as deeply nested or repetitively structured brackets or tag attributes, which cause the parser to hang and lead to a Denial of Service.

Affected products

marked
  • <0.3.17

Matching in nixpkgs

pkgs.marked-man

Markdown to roff wrapper around marked

Package maintainers