CVE-2012-4522
UnknownEPSS 2.20%
Last modified
CVE-2012-4522 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 2.20% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Ruby-Lang | Ruby | 1.9.3 |
| Ruby-Lang | Ruby | 2.0.0 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is 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.
How severe is CVE-2012-4522?
Severity scoring for CVE-2012-4522 is pending analysis. The EPSS model estimates a 2.20% probability of exploitation in the next 30 days.
How do I fix CVE-2012-4522?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2012-4522?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
