ID:3618 - Exploit for Heap-based buffer overflow in Ruby - CVE-2013-4164

 
Main Vulnerability Database Exploits ID:3618 - Exploit for Heap-based buffer overflow in Ruby - CVE-2013-4164

ID:3618 - Exploit for Heap-based buffer overflow in Ruby - CVE-2013-4164

Published: July 29, 2020


Vulnerability identifier: #VU32601
Vulnerability risk: Medium
CVE-ID: CVE-2013-4164
CWE-ID: CWE-122
Exploitation vector: Remote access
Vulnerable software:
Ruby

Link to public exploit:


Vulnerability 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.