Ruby 'ARGF.inplace_mode' Buffer Overflow Vulnerability
🗓️ 16 Jul 2010 00:00:00Reported by Copyright (C) 2010 Greenbone AGType
openvas🔗 plugins.openvas.org👁 19 Views
| Reporter | Title | Published | Views | Family All 9 |
|---|---|---|---|---|
| CVE-2010-2489 | 9 Jul 201019:00 | – | cve | |
| CVE-2010-2489 | 9 Jul 201019:00 | – | cvelist | |
| EUVD-2010-2494 | 7 Oct 202500:30 | – | euvd | |
| CVE-2010-2489 | 12 Jul 201013:27 | – | nvd | |
| Ruby 'ARGF.inplace_mode' Buffer Overflow Vulnerability | 16 Jul 201000:00 | – | openvas | |
| Buffer overflow | 12 Jul 201013:27 | – | prion | |
| Ruby on Windows ARGF.inplace_mode Variable Local Overflow | 2 Jul 201000:00 | – | rubygems | |
| Ruby ARGF.inplace_mode变量缓冲区溢出漏洞 | 8 Jul 201000:00 | – | seebug | |
| CVE-2010-2489 | 12 Jul 201013:27 | – | ubuntucve |
| Source | Link |
|---|---|
| svn | www.svn.ruby-lang.org/repos/ruby/tags/v1_9_1_429/ChangeLog |
| secunia | www.secunia.com/advisories/40442 |
| xforce | www.xforce.iss.net/xforce/xfdb/60135 |
| rubyforge | www.rubyforge.org/frs/ |
| securityfocus | www.securityfocus.com/bid/41321 |
# SPDX-FileCopyrightText: 2010 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
CPE = "cpe:/a:ruby-lang:ruby";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.801375");
script_version("2025-09-09T05:38:49+0000");
script_tag(name:"last_modification", value:"2025-09-09 05:38:49 +0000 (Tue, 09 Sep 2025)");
script_tag(name:"creation_date", value:"2010-07-16 19:44:55 +0200 (Fri, 16 Jul 2010)");
script_cve_id("CVE-2010-2489");
script_tag(name:"cvss_base", value:"7.2");
script_tag(name:"cvss_base_vector", value:"AV:L/AC:L/Au:N/C:C/I:C/A:C");
script_name("Ruby 'ARGF.inplace_mode' Buffer Overflow Vulnerability");
script_xref(name:"URL", value:"http://secunia.com/advisories/40442");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/41321");
script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/60135");
script_xref(name:"URL", value:"http://svn.ruby-lang.org/repos/ruby/tags/v1_9_1_429/ChangeLog");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2010 Greenbone AG");
script_family("Buffer overflow");
script_dependencies("gb_ruby_consolidation.nasl", "os_detection.nasl");
script_mandatory_keys("ruby/detected", "Host/runs_windows");
script_tag(name:"insight", value:"The flaw caused by improper bounds checking when handling filenames on Windows
systems. It is not properly validating value assigned to the 'ARGF.inplace_mode' variable.");
script_tag(name:"solution", value:"Update to version 1.9.1-p429 or later.");
script_tag(name:"summary", value:"Ruby is prone to a buffer overflow vulnerability.");
script_tag(name:"impact", value:"Successful exploitation will allow local attackers to cause buffer overflow
and execute arbitrary code on the system or cause the application to crash.");
script_tag(name:"affected", value:"Ruby version 1.9.x before 1.9.1-p429 on Windows only.");
script_tag(name:"qod_type", value:"registry");
script_tag(name:"solution_type", value:"VendorFix");
script_xref(name:"URL", value:"http://rubyforge.org/frs/?group_id=167");
exit(0);
}
include("host_details.inc");
include("version_func.inc");
if( isnull( port = get_app_port( cpe:CPE ) ) )
exit( 0 );
if( ! infos = get_app_version_and_location( cpe:CPE, port:port, exit_no_version:TRUE ) )
exit( 0 );
vers = infos["version"];
path = infos["location"];
if( version_in_range( version:vers, test_version:"1.9.0", test_version2:"1.9.1.428" ) ) {
report = report_fixed_ver( installed_version:vers, fixed_version:"1.9.1-p429", install_path:path );
security_message( port:port, data:report );
exit( 0 );
}
exit( 99 );
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
09 Sep 2025 00:00Current
7.3High risk
Vulners AI Score7.3
CVSS 27.2
EPSS0.00406