Vulnerability in Ruby-Lang Ruby
CVE-2012-4522
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.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.022 (81.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 82nd percentile — 81.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.022 · newest: 0.022 · change: 0.000
Affected products
- Ruby-Lang Ruby — versions 1.9.3, 2.0.0
Weakness classification (CWE)
References
- lists.fedoraproject.org/pipermail/package-announce/2012-October/090235.html (vendor-advisory)
- svn.ruby-lang.org/cgi-bin/viewvc.cgi
- lists.fedoraproject.org/pipermail/package-announce/2012-October/090515.html (vendor-advisory)
- www.openwall.com/lists/oss-security/2012/10/13/1 (mailing-list)
- rhn.redhat.com/errata/RHSA-2013-0129.html (vendor-advisory)
- www.openwall.com/lists/oss-security/2012/10/16/1 (mailing-list)
- www.openwall.com/lists/oss-security/2012/10/12/6 (mailing-list)
- www.ruby-lang.org/en/news/2012/10/12/poisoned-NUL-byte-vulnerability/