CVE-2012-4522
Summary
| CVE | CVE-2012-4522 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2012-11-24 20:55:03 UTC |
| Updated | 2026-04-29 01:13:23 UTC |
| 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. |
Risk And Classification
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
LowAuthentication
NoneConfidentiality
NoneIntegrity
PartialAvailability
NoneAV:N/AC:L/Au:N/C:N/I:P/A:N
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| [SECURITY] Fedora 17 Update: ruby-1.9.3.286-18.fc17 | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| oss-security - Re: CVE request: ruby file creation due in insertion of illegal NUL character | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| oss-security - Re: CVE request: ruby file creation due in insertion of illegal NUL character | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| [SECURITY] Fedora 18 Update: ruby-1.9.3.286-19.fc18 | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| [ruby] Revision 37163 | af854a3a-2127-422b-91ae-364da2661108 | svn.ruby-lang.org | |
| Unintentional file creation caused by inserting an illegal NUL character (CVE-2012-4522) | af854a3a-2127-422b-91ae-364da2661108 | www.ruby-lang.org | |
| Red Hat Customer Portal | af854a3a-2127-422b-91ae-364da2661108 | rhn.redhat.com | |
| oss-security - CVE request: ruby file creation due in insertion of illegal NUL character | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.