REDHAT-BUG-678913: Race Condition

Published Feb 20, 2011
·
Updated

A race condition was found in the way the secure implementation of Ruby fileutils' remove system entries method (removeentrysecure()), removed directory trees. A local attacker could use this flaw to conduct symbolic link attacks, leading to removal of arbitrary files or directories on the system.

References: [1] http://www.ruby-lang.org/en/news/2011/02/18/fileutils-is-vulnerable-to-symlink-race-attacks/

Upstream patch (against trunk): [2] http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30896

Affected Software

1 affected component
Ruby FileUtils

Event History

Feb 20, 2011
Data Sourced
via Red Hat·07:16 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-678913?

The severity of REDHAT-BUG-678913 is considered high due to the potential for arbitrary file or directory removal via symbolic link attacks.

2

How do I fix REDHAT-BUG-678913?

To fix REDHAT-BUG-678913, update to the latest version of Ruby FileUtils that addresses the race condition issue.

3

Who is affected by REDHAT-BUG-678913?

All users of Ruby FileUtils implementing the remove_entry_secure() method are affected by REDHAT-BUG-678913.

4

What kind of attack is enabled by REDHAT-BUG-678913?

REDHAT-BUG-678913 enables symbolic link attacks, allowing local attackers to manipulate directory trees.

5

What happens if I'm vulnerable to REDHAT-BUG-678913?

If vulnerable to REDHAT-BUG-678913, an attacker could remove arbitrary files or directories on your system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203