redcarpet Gem for Ruby html.c header_anchor() Function Stack Overflow

Metadata

high
7.5
redcarpet
CVE-2015-5147
seclists.org
2015-06-22
2017-06-16 19:15
CVE-2015-5147 ruby-redcarpet
CVE-2015-5147
2017-04-01 19:10
2017-01-05 20:15

Description

redcarpet Gem for Ruby contains a flaw that allows a stack overflow.
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.

Am I vulnerable?

The constraints below list the versions that this vulnerability is patched in, and versions that are unaffected. If a patch is ready but unrealeased, then it is pending.

Or, you can just let us figure it out for you! Appcanary continously monitor your installed packages, and tell you if any of them are vulnerable.

Sign up for monitoring

Affected package information

Package Patched in Unaffected in
redcarpet >= 3.3.2 < 3.3.0