Unrated severityNVD Advisory· Published Nov 24, 2012· Updated Jun 16, 2026
CVE-2012-4522
CVE-2012-4522
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
3Patches
Vulnerability mechanics
References
8- lists.fedoraproject.org/pipermail/package-announce/2012-October/090235.htmlnvd
- lists.fedoraproject.org/pipermail/package-announce/2012-October/090515.htmlnvd
- rhn.redhat.com/errata/RHSA-2013-0129.htmlnvd
- svn.ruby-lang.org/cgi-bin/viewvc.cginvd
- www.openwall.com/lists/oss-security/2012/10/12/6nvd
- www.openwall.com/lists/oss-security/2012/10/13/1nvd
- www.openwall.com/lists/oss-security/2012/10/16/1nvd
- www.ruby-lang.org/en/news/2012/10/12/poisoned-NUL-byte-vulnerability/nvd
News mentions
0No linked articles in our index yet.