Skip to content
Memory corruption Disclosed report Beginner CVE-2014-9130

Ruby 2.3.x and 2.2.x still bundle DoS vulnerable verision of libYAML

Ruby 2.3.x and 2.2.x still bundle libYAML 0.1.6, which is affected by a denial-of-service vulnerability tracked as CVE-2014-9130. The reporter, who maintains those branches, notes that Ruby 2.4.x already bundles the fixed 0.1.7 version.

usa Follow

Originally disclosed on HackerOne

Medium 5.3 View original
  • Fixed in 3 months
  • Disclosed after 5 months

libYAML 0.1.6 (and 0.1.5) has a DoS vulnerablitity known as CVE-2014-9130. Now Ruby 2.4.x bundles fixed version 0.1.7, but 2.3.x and 2.2.x still bundle 0.1.6.

Note that I'm the maintainer of Ruby 2.3.x and 2.2.x. Therefore, this report is a kind of remainder.

The original report as published on HackerOne, by usa. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the older Ruby branches were not updated to bundle the patched libYAML 0.1.7, leaving the known CVE-2014-9130 flaw in place.

Impact

A crafted YAML input could cause a denial of service in applications running on Ruby 2.3.x or 2.2.x, though the text gives no exploitation detail.

What the attacker needed

Ruby 2.3.x or 2.2.x; attacker-supplied YAML input

The fix

The affected Ruby branches should bundle the fixed libYAML 0.1.7, as Ruby 2.4.x already does.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

libYAML is a library that reads YAML, a text format often used for configuration files. An older version has a flaw that can cause a denial of service. This report is a reminder that two older Ruby releases still ship that old version.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More from Ruby

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.