Input validation error in Ruby - CVE-2015-7551

 

Input validation error in Ruby - CVE-2015-7551

Published: March 24, 2016 / Updated: July 28, 2020


Vulnerability identifier: #VU32356
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2015-7551
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows context-dependent attackers to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input. A remote attacker can execute arbitrary code or cause a denial of service (application crash) via a crafted string, related to the DL module and the libffi library.


Affected software

Ruby
Amazon Linux AMI
Ubuntu
Fedora
Opensuse
ruby (Alpine package)
ruby1.9.1 (Ubuntu package)
libruby1.9.1 (Ubuntu package)
libruby2.0 (Ubuntu package)
ruby2.0 (Ubuntu package)
libruby2.3 (Ubuntu package)
ruby2.3 (Ubuntu package)
ruby
rh-ruby22-ruby (Red Hat package)

How to mitigate CVE-2015-7551

The vendor has issued the following versions to address this vulnerability: 2.1.8, 2.2.4.

Ruby - addressed in versions 2.1.8, 2.2.4
ruby (Alpine package) - update to 2.2.4-r0
ruby1.9.1 (Ubuntu package) - update to 1.9.3.484-2ubuntu1.3
libruby1.9.1 (Ubuntu package) - update to 1.9.3.484-2ubuntu1.3
libruby2.0 (Ubuntu package) - update to 2.0.0.484-1ubuntu2.4
ruby2.0 (Ubuntu package) - update to 2.0.0.484-1ubuntu2.4
libruby2.3 (Ubuntu package) - addressed in versions 2.3.1-2~16.04.2, 2.3.3-1ubuntu0.1
ruby2.3 (Ubuntu package) - addressed in versions 2.3.1-2~16.04.2, 2.3.3-1ubuntu0.1
ruby - addressed in versions 2.2.4-47.fc22, 2.2.4-47.fc23
rh-ruby22-ruby (Red Hat package) - addressed in versions 2.2.9-19.el6, 2.2.9-19.el7

External References

Related Security Bulletins