Ruby up to 1.9.1 on Windows ARGFinplace_mode memory corruption
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
8.4 | $0-$5k | 0.00 |
A vulnerability was found in Ruby up to 1.9.1 on Windows (Programming Language Software). It has been classified as critical. Affected is an unknown code. The manipulation of the argument ARGFinplace_mode
with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
Buffer overflow in Ruby 1.9.x before 1.9.1-p429 on Windows might allow local users to gain privileges via a crafted ARGF.inplace_mode value that is not properly handled when constructing the filenames of the backup files.
The bug was discovered 07/04/2010. The weakness was presented 07/02/2010 (Website). The advisory is shared for download at ruby-lang.org. This vulnerability is traded as CVE-2010-2489 since 06/28/2010. The exploitability is told to be easy. The attack needs to be approached locally. The exploitation doesn't require any form of authentication. Technical details and a public exploit are known.
A public exploit has been developed in Perl. The exploit is shared for download at securityfocus.com. It is declared as proof-of-concept. The commercial vulnerability scanner Qualys is able to test this issue with plugin 118185 (Ruby "ARGF.inplace_mode" Buffer Overflow Vulnerability).
Upgrading to version 1.9.1 eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (60135), SecurityFocus (BID 41321†), OSVDB (66040†), Secunia (SA40442†) and Vulnerability Center (SBV-30755†). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 9.3VulDB Meta Temp Score: 8.4
VulDB Base Score: 9.3
VulDB Temp Score: 8.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Local: Yes
Remote: No
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Programming Language: 🔍
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
OpenVAS ID: 801375
OpenVAS Name: Ruby ARGF.inplace_mode Buffer Overflow Vulnerability
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: Ruby 1.9.1
Timeline
06/28/2010 🔍07/02/2010 🔍
07/02/2010 🔍
07/02/2010 🔍
07/02/2010 🔍
07/04/2010 🔍
07/07/2010 🔍
07/12/2010 🔍
04/03/2011 🔍
03/19/2015 🔍
01/23/2025 🔍
Sources
Advisory: ruby-lang.orgStatus: Confirmed
Confirmation: 🔍
CVE: CVE-2010-2489 (🔍)
GCVE (CVE): GCVE-0-2010-2489
GCVE (VulDB): GCVE-100-53988
X-Force: 60135
SecurityFocus: 41321 - Ruby 'ARGF.inplace_mode' Buffer Overflow Vulnerability
Secunia: 40442
OSVDB: 66040 - Ruby on Windows ARGF.inplace_mode Variable Local Overflow
Vulnerability Center: 30755 - Ruby 1.9-1.9.1-p378 Local Privilege Escalation Vulnerability via a Crafted ARGF.inplace_mode Value, Medium
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 03/19/2015 02:37 PMUpdated: 01/23/2025 04:31 PM
Changes: 03/19/2015 02:37 PM (65), 07/31/2019 05:53 PM (9), 01/23/2025 04:31 PM (19)
Complete: 🔍
Cache ID: 18:117:40
No comments yet. Languages: en.
Please log in to comment.