#VU32601 Heap-based buffer overflow in Ruby - CVE-2013-4164

 

#VU32601 Heap-based buffer overflow in Ruby - CVE-2013-4164

Published: November 23, 2013 / Updated: July 29, 2020


Vulnerability identifier: #VU32601
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:A/U:Green
CVE-ID: CVE-2013-4164
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vulnerable software:
Ruby
Software vendor:
Ruby

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in Heap-based buffer overflow in Ruby 1.8, 1.9 before 1.9.3-p484, 2.0 before 2.0.0-p353, 2.1 before 2.1.0 preview2, and trunk before revision 43780. A remote attacker can use a string that is converted to a floating point value to trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Remediation

Update to version 2.1.0.

External links