Improper Input Validation Affecting ruby-devel package, versions <0:1.8.7.357-1.10.amzn1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
4.06% (90th 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 IDSNYK-AMZN201803-RUBYDEVEL-1662618
  • published27 Sept 2021
  • disclosed30 Dec 2011

Introduced: 30 Dec 2011

CVE-2011-4815  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 ruby-devel to version 0:1.8.7.357-1.10.amzn1 or higher.
This issue was patched in ALAS-2012-35.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-devel package and not the ruby-devel package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

Ruby (aka CRuby) before 1.8.7-p357 computes hash values without restricting the ability to trigger hash collisions predictably, which allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted input to an application that maintains a hash table.

CVSS Base Scores

version 3.1