Input validation error in Ruby



| Updated: 2020-07-28
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2015-7551
CWE-ID CWE-20
Exploitation vector Local
Public exploit N/A
Vulnerable software
Ruby
Universal components / Libraries / Scripting languages

Vendor Ruby

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Input validation error

EUVDB-ID: #VU32356

Risk: High

CVSSv4.0: 6.1 [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/E:U/U:Amber]

CVE-ID: CVE-2015-7551

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

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

CPE2.3 External links

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796344
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796551
https://lists.apple.com/archives/security-announce/2016/Mar/msg00004.html
https://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
https://www.securityfocus.com/bid/76060
https://access.redhat.com/errata/RHSA-2018:0583
https://github.com/ruby/ruby/commit/339e11a7f178312d937b7c95dd3115ce7236597a
https://people.canonical.com/~ubuntu-security/cve/2015/CVE-2015-7551.html
https://puppet.com/security/cve/ruby-dec-2015-security-fixes
https://support.apple.com/HT206167
https://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.



###SIDEBAR###