#VU32356 Input validation error in Ruby


Published: 2016-03-24 | Updated: 2020-07-28

Vulnerability identifier: #VU32356

Vulnerability risk: High

CVSSv3.1: 7.3 [AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2015-7551

CWE-ID: CWE-20

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
Ruby
Universal components / Libraries / Scripting languages

Vendor: Ruby

Description

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.

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

Vulnerable software versions

Ruby: 2.0.0 - 2.2.3


External links
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796344
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796551
http://lists.apple.com/archives/security-announce/2016/Mar/msg00004.html
http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
http://www.securityfocus.com/bid/76060
http://access.redhat.com/errata/RHSA-2018:0583
http://github.com/ruby/ruby/commit/339e11a7f178312d937b7c95dd3115ce7236597a
http://people.canonical.com/~ubuntu-security/cve/2015/CVE-2015-7551.html
http://puppet.com/security/cve/ruby-dec-2015-security-fixes
http://support.apple.com/HT206167
http://www.ruby-lang.org/en/news/2015/12/16/unsafe-tainted-string-usage-in-fiddle-and-dl-cve-2015-7551/


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability