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.
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 vulnerability database at X-Force (60135).
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
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
ATT&CK: Unknown
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: 🔍
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 🔍
07/31/2019 🔍
Sources
Advisory: ruby-lang.orgStatus: Not defined
Confirmation: 🔍
CVE: CVE-2010-2489 (🔍)
X-Force: 60135
Vulnerability Center: 30755 - Ruby 1.9-1.9.1-p378 Local Privilege Escalation Vulnerability via a Crafted ARGF.inplace_mode Value, Medium
SecurityFocus: 41321 - Ruby 'ARGF.inplace_mode' Buffer Overflow Vulnerability
Secunia: 40442
OSVDB: 66040 - Ruby on Windows ARGF.inplace_mode Variable Local Overflow
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 03/19/2015 14:37Updated: 07/31/2019 17:53
Changes: 03/19/2015 14:37 (65), 07/31/2019 17:53 (9)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.