CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
  Take a third party risk management course for FREE
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2012-4522

The rb_get_path_check function in file.c in Ruby 1.9.3 before patchlevel 286 and Ruby 2.0.0 before r37163 allows context-dependent attackers to create files in unexpected locations or with unexpected names via a NUL byte in a file path.
Publish Date : 2012-11-24 Last Update Date : 2013-05-04
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
5.0
Confidentiality Impact None (There is no impact to the confidentiality of the system.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact None (There is no impact to the availability of the system.)
Access Complexity Low (Specialized access conditions or extenuating circumstances do not exist. Very little knowledge or skill is required to exploit. )
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s)
CWE ID 264

- Related OVAL Definitions

Title Definition Id Class Family
DEPRECATED: ELSA-2013-0129 -- ruby security and bug fix update (moderate) oval:org.mitre.oval:def:27340 unix
ELSA-2013:0129: ruby security and bug fix update (Moderate) oval:org.mitre.oval:def:23147 unix
RHSA-2013:0129: ruby security and bug fix update (Moderate) oval:org.mitre.oval:def:20949 unix
RHSA-2013:0129: ruby security and bug fix update (Moderate) oval:com.redhat.rhsa:def:20130129 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2012-4522

# Product Type Vendor Product Version Update Edition Language
1 Application Ruby-lang Ruby 1.9.3 * * * Version Details Vulnerabilities
2 Application Ruby-lang Ruby 2.0.0 * * * Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Ruby-lang Ruby 2

- References For CVE-2012-4522

http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090235.html
FEDORA FEDORA-2012-16071
http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090515.html
FEDORA FEDORA-2012-16086
http://www.openwall.com/lists/oss-security/2012/10/16/1
MLIST [oss-security] 20121016 Re: CVE request: ruby file creation due in insertion of illegal NUL character
http://www.openwall.com/lists/oss-security/2012/10/12/6
MLIST [oss-security] 20121012 CVE request: ruby file creation due in insertion of illegal NUL character
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=37163
http://www.ruby-lang.org/en/news/2012/10/12/poisoned-NUL-byte-vulnerability/ CONFIRM
http://www.openwall.com/lists/oss-security/2012/10/13/1
MLIST [oss-security] 20121013 Re: CVE request: ruby file creation due in insertion of illegal NUL character
http://rhn.redhat.com/errata/RHSA-2013-0129.html
REDHAT RHSA-2013:0129

- Metasploit Modules Related To CVE-2012-4522

There are not any metasploit modules related to this CVE entry (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.