Directory Hijacking Affecting fileutils package, versions <0.7.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUBY-FILEUTILS-20078
  • published27 Feb 2013
  • disclosed27 Feb 2013
  • creditUnknown

Introduced: 27 Feb 2013

CVE NOT AVAILABLE CWE-642  (opens in a new tab)

How to fix?

Upgrade fileutils to version 0.7.1 or higher.

Overview

Affected versions of this package are vulnerable to Directory Hijacking due to the program not verifying the existence of a directory before attempting to create it. This may allow a local attacker to create the directory in advance, thus owning any files subsequently written to it.

References

CVSS Base Scores

version 3.1