01 Record
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
UnratedPUBLISHEDCNA: redhat
CNA base scoreUnratedNo CNA CVSS vector
02 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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 2.20% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 82.0% of scored records. A rank, not a probability.
- NVD base score
- The NVD has published no score for this record
- NVD CVSS vector
- No NVD score to derive
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-16.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2012-11-24 20:00Z13 YR AGO
- Last updated
- 2024-08-06 20:42Z2 YR AGO
- Reserved
- 2012-08-21
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- Data version
- 5.1
- Document digest
- 0cfea8fdd66ace0900b38862bebcb5bad8fce8566d0687f33b5b83c074fef08a
05 Affected products
VendorProductVersionsPlatforms
06 References
- lists.fedoraproject.orgFEDORA-2012-16071http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090235.html
- svn.ruby-lang.orghttp://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=37163
- lists.fedoraproject.orgFEDORA-2012-16086http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090515.html
- www.openwall.com[oss-security] 20121013 Re: CVE request: ruby file creation due in insertion of illegal NUL characterhttp://www.openwall.com/lists/oss-security/2012/10/13/1
- rhn.redhat.comRHSA-2013:0129http://rhn.redhat.com/errata/RHSA-2013-0129.html
- www.openwall.com[oss-security] 20121016 Re: CVE request: ruby file creation due in insertion of illegal NUL characterhttp://www.openwall.com/lists/oss-security/2012/10/16/1
- www.openwall.com[oss-security] 20121012 CVE request: ruby file creation due in insertion of illegal NUL characterhttp://www.openwall.com/lists/oss-security/2012/10/12/6
- www.ruby-lang.orghttp://www.ruby-lang.org/en/news/2012/10/12/poisoned-NUL-byte-vulnerability/