Executive Summary

Informations
Name CVE-2012-4522 First vendor Publication 2012-11-24
Vendor Cve Last vendor Modification 2013-05-04

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:L/Au:N/C:N/I:P/A:N)
Cvss Base Score 5 Attack Range Network
Cvss Impact Score 2.9 Attack Complexity Low
Cvss Expoit Score 10 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

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.

Original Source

Url : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-4522

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-264 Permissions, Privileges, and Access Controls

OVAL Definitions

Definition Id: oval:org.mitre.oval:def:18024
 
Oval ID: oval:org.mitre.oval:def:18024
Title: USN-1614-1 -- ruby1.9.1 vulnerabilities
Description: Several security issues were fixed in Ruby.
Family: unix Class: patch
Reference(s): USN-1614-1
CVE-2012-4464
CVE-2012-4466
CVE-2012-4522
Version: 7
Platform(s): Ubuntu 12.10
Ubuntu 12.04
Product(s): ruby1.9.1
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:20949
 
Oval ID: oval:org.mitre.oval:def:20949
Title: RHSA-2013:0129: ruby security and bug fix update (Moderate)
Description: 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.
Family: unix Class: patch
Reference(s): RHSA-2013:0129-00
CESA-2013:0129
CVE-2012-4481
CVE-2012-4522
Version: 31
Platform(s): Red Hat Enterprise Linux 5
CentOS Linux 5
Product(s): ruby
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:23147
 
Oval ID: oval:org.mitre.oval:def:23147
Title: ELSA-2013:0129: ruby security and bug fix update (Moderate)
Description: 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.
Family: unix Class: patch
Reference(s): ELSA-2013:0129-00
CVE-2012-4481
CVE-2012-4522
Version: 13
Platform(s): Oracle Linux 5
Product(s): ruby
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:27340
 
Oval ID: oval:org.mitre.oval:def:27340
Title: DEPRECATED: ELSA-2013-0129 -- ruby security and bug fix update (moderate)
Description: [1.8.5-27] - unintentional file creation caused by inserting an illegal NUL character * ruby-1.8.6-CVE-2012-4522-io.c-pipe_open-command-name-should-not-contain-null-.patch - Related: rhbz#867750 [1.8.5-26] - escaping vulnerability about Exception#to_s / NameError#to_s * ruby-1.8.7-p371-CVE-2012-4481.patch - Resolves: rhbz#867750 - unintentional file creation caused by inserting an illegal NUL character * ruby-1.8.6-CVE-2012-4522-io.c-rb_open_file-should-check-NUL-in-path.patch - Resolves: rhbz#867750 [1.8.5-25] - Resolve buffer overflow causing gem installation issues. * ruby-1.8.7-syck-avoid-buffer-overflow.patch - Resolves: rhbz#834381
Family: unix Class: patch
Reference(s): ELSA-2013-0129
CVE-2012-4481
CVE-2012-4522
Version: 4
Platform(s): Oracle Linux 5
Product(s): ruby
Definition Synopsis:

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 2

OpenVAS Exploits

Date Description
2012-11-26 Name : FreeBSD Ports: ruby
File : nvt/freebsd_ruby14.nasl
2012-11-19 Name : Fedora Update for ruby FEDORA-2012-18017
File : nvt/gb_fedora_2012_18017_ruby_fc17.nasl
2012-10-23 Name : Fedora Update for ruby FEDORA-2012-16086
File : nvt/gb_fedora_2012_16086_ruby_fc17.nasl
2012-10-23 Name : Ubuntu Update for ruby1.9.1 USN-1614-1
File : nvt/gb_ubuntu_USN_1614_1.nasl

Nessus® Vulnerability Scanner

Date Description
2015-06-01 Name : The remote Debian host is missing a security update.
File : debian_DLA-235.nasl - Type : ACT_GATHER_INFO
2014-06-13 Name : The remote openSUSE host is missing a security update.
File : openSUSE-2013-167.nasl - Type : ACT_GATHER_INFO
2013-07-12 Name : The remote Oracle Linux host is missing one or more security updates.
File : oraclelinux_ELSA-2013-0129.nasl - Type : ACT_GATHER_INFO
2013-03-13 Name : The remote SuSE 11 host is missing one or more security updates.
File : suse_11_ruby-130221.nasl - Type : ACT_GATHER_INFO
2013-01-17 Name : The remote CentOS host is missing one or more security updates.
File : centos_RHSA-2013-0129.nasl - Type : ACT_GATHER_INFO
2013-01-17 Name : The remote Scientific Linux host is missing one or more security updates.
File : sl_20130108_ruby_on_SL5_x.nasl - Type : ACT_GATHER_INFO
2013-01-08 Name : The remote Red Hat host is missing one or more security updates.
File : redhat-RHSA-2013-0129.nasl - Type : ACT_GATHER_INFO
2012-11-02 Name : The remote FreeBSD host is missing a security-related update.
File : freebsd_pkg_3decc87d249811e2b0c7000d601460a4.nasl - Type : ACT_GATHER_INFO
2012-10-23 Name : The remote Ubuntu host is missing a security-related patch.
File : ubuntu_USN-1614-1.nasl - Type : ACT_GATHER_INFO
2012-10-22 Name : The remote Fedora host is missing a security update.
File : fedora_2012-16086.nasl - Type : ACT_GATHER_INFO
2012-10-18 Name : The remote Fedora host is missing a security update.
File : fedora_2012-16071.nasl - Type : ACT_GATHER_INFO

Sources (Detail)

Source Url
CONFIRM http://www.ruby-lang.org/en/news/2012/10/12/poisoned-NUL-byte-vulnerability/
FEDORA http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090235...
http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090515...
MISC http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=37163
MLIST http://www.openwall.com/lists/oss-security/2012/10/12/6
http://www.openwall.com/lists/oss-security/2012/10/13/1
http://www.openwall.com/lists/oss-security/2012/10/16/1
REDHAT http://rhn.redhat.com/errata/RHSA-2013-0129.html

Alert History

If you want to see full details history, please login or register.
0
1
2
3
4
5
6
7
8
9
10
11
Date Informations
2021-05-04 12:21:37
  • Multiple Updates
2021-04-22 01:25:45
  • Multiple Updates
2020-05-23 00:34:40
  • Multiple Updates
2016-04-26 22:15:10
  • Multiple Updates
2015-06-02 13:27:50
  • Multiple Updates
2014-06-14 13:33:38
  • Multiple Updates
2014-02-17 11:13:19
  • Multiple Updates
2013-05-10 22:46:12
  • Multiple Updates
2013-05-04 17:20:14
  • Multiple Updates
2013-04-11 13:20:50
  • Multiple Updates
2012-11-27 00:21:41
  • Multiple Updates
2012-11-25 00:21:06
  • First insertion