Arbitrary Code Execution Affecting redcarpet package, versions < 3.3.2, >= 3.3.0
Threat Intelligence
EPSS
0.86% (83rd
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RUBY-REDCARPET-20231
- published 21 Jun 2015
- disclosed 21 Jun 2015
- credit Giancarlo Canales Barreto
Introduced: 21 Jun 2015
CVE-2015-5147 Open this link in a new tabOverview
redcarpet
is a fast, safe and extensible Markdown to (X)HTML parser.
Vulnerable versions of redcarpet
Ruby contain a flaw that allows Arbitrary code execution via stack overflow.
Details
This flaw exists because the header_anchor()
function in html.c uses variable length arrays (VLA) without any range checking. This may allow a remote attacker to execute arbitrary code.
CVSS Scores
version 3.1