CVE-2012-4522
Advisory lineage Upstream: 0 Downstream: 3
Downstream
Modified
Published: 24 Nov 2012, 20:00
Last modified:06 Aug 2024, 20:42
Vulnerability Summary
Overall Risk (default)
low
20/100 CVSS Score
5 MEDIUM
v2.0 (nvd)
EPSS Score
0.22% LOW
0% probability -0.19%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
24 Nov 2012, 20:00
Published
Vulnerability first disclosed
06 Aug 2024, 20:42
Last Modified
Vulnerability information updated
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.
CVSS Metrics
- v2.0•MEDIUM•Score: 5AV:N/AC:L/Au:N/C:N/I:P/A:N
EPSS Trends
Current EPSS score: 0.22%• Percentile: 45%
Techniques & Countermeasures
- CWE-264•Permissions, Privileges, and Access Controls
Weaknesses in this category are related to the management of permissions, privileges, and other security features that are used to perform access control.
Affected Systems
- ruby-lang•ruby
1.9.3 | 2.0.0
References (8)
- http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090235.html
- http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=37163
- http://lists.fedoraproject.org/pipermail/package-announce/2012-October/090515.html
- http://www.openwall.com/lists/oss-security/2012/10/13/1
- http://rhn.redhat.com/errata/RHSA-2013-0129.html
- http://www.openwall.com/lists/oss-security/2012/10/16/1
- http://www.openwall.com/lists/oss-security/2012/10/12/6
- http://www.ruby-lang.org/en/news/2012/10/12/poisoned-NUL-byte-vulnerability/