Skip to navigation

CVE Database

CVE-2012-4522

Impact: Moderate
Public: 2012-10-12
Bugzilla: 865940: CVE-2012-4522 ruby: unintentional file creation caused by inserting an illegal NUL character

Details

The MITRE CVE dictionary describes this issue as:

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.

Find out more about CVE-2012-4522 from the MITRE CVE dictionary and NIST NVD.

Statement

This issue did not affect the versions of ruby as shipped with Red Hat Enterprise Linux 6.

CVSS v2 metrics

Base Score: 4.3
Base Metrics: AV:N/AC:M/Au:N/C:N/I:P/A:N
Access Vector: Network
Access Complexity: Medium
Authentication: None
Confidentiality Impact: None
Integrity Impact: Partial
Availability Impact: None

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Red Hat security errata

Platform Errata Release Date
Red Hat Enterprise Linux version 5 (ruby) RHSA-2013:0129 January 08, 2013
Red Hat OpenShift Enterprise Client Tools RHSA-2013:0582 February 28, 2013

External References

This page is generated automatically and has not been checked for errors or omissions.

For clarification or corrections please contact the Red Hat Security Response Team.