CVE-2011-1004
Advisory lineage Upstream: 0 Downstream: 2
Downstream
Modified
Published: 02 Mar 2011, 19:00
Last modified:06 Aug 2024, 22:14
Vulnerability Summary
Overall Risk (default)
medium
25/100 CVSS Score
6.3 MEDIUM
v2.0 (nvd)
EPSS Score
0.04% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
02 Mar 2011, 19:00
Published
Vulnerability first disclosed
06 Aug 2024, 22:14
Last Modified
Vulnerability information updated
Description
The FileUtils.remove_entry_secure method in Ruby 1.8.6 through 1.8.6-420, 1.8.7 through 1.8.7-330, 1.8.8dev, 1.9.1 through 1.9.1-430, 1.9.2 through 1.9.2-136, and 1.9.3dev allows local users to delete arbitrary files via a symlink attack.
CVSS Metrics
- v2.0•MEDIUM•Score: 6.3AV:L/AC:M/Au:N/C:N/I:C/A:C
EPSS Trends
Current EPSS score: 0.04%• Percentile: 14%
Techniques & Countermeasures
- CWE-59•Improper Link Resolution Before File Access ('Link Following')
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Affected Systems
- ruby-lang•ruby
1.8.6 | 1.8.7 | 1.8.8:dev | 1.9.1 | 1.9.2 | 1.9.3:dev
References (16)
- http://www.redhat.com/support/errata/RHSA-2011-0910.html
- http://www.securityfocus.com/bid/46460
- http://www.openwall.com/lists/oss-security/2011/02/21/5
- http://www.vupen.com/english/advisories/2011/0539
- http://www.redhat.com/support/errata/RHSA-2011-0909.html
- https://bugzilla.redhat.com/show_bug.cgi?id=678913
- http://secunia.com/advisories/43573
- http://www.openwall.com/lists/oss-security/2011/02/21/2
- http://osvdb.org/70958
- http://lists.fedoraproject.org/pipermail/package-announce/2011-March/054422.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-March/054436.html
- http://secunia.com/advisories/43434
- http://www.ruby-lang.org/en/news/2011/02/18/fileutils-is-vulnerable-to-symlink-race-attacks/
- http://support.apple.com/kb/HT5281
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:097
- http://lists.apple.com/archives/security-announce/2012/May/msg00001.html