CVE-2012-4522
- State
- Published
- Severity
- Not scored
- Published
- Nov 24, 2012
- Updated
- Aug 6, 2024
- Reserved
- Aug 21, 2012
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.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
n/an/a |
|
References
- FEDORA-2012-16071vendor-advisory
- http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=37163
- FEDORA-2012-16086vendor-advisory
- [oss-security] 20121013 Re: CVE request: ruby file creation due in insertion of illegal NUL charactermailing-list
- RHSA-2013:0129vendor-advisory
- [oss-security] 20121016 Re: CVE request: ruby file creation due in insertion of illegal NUL charactermailing-list
- [oss-security] 20121012 CVE request: ruby file creation due in insertion of illegal NUL charactermailing-list
- http://www.ruby-lang.org/en/news/2012/10/12/poisoned-NUL-byte-vulnerability/
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.