Untrusted Search Path Affecting gluster/glusterfs package, versions [3.12.0,3.12.14)[4.1.0,4.1.4)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.39% (74th percentile)

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-UNMANAGED-GLUSTERGLUSTERFS-2364750
  • published26 Jan 2022
  • disclosed4 Sept 2018
  • creditUnknown

Introduced: 4 Sep 2018

CVE-2018-10904  (opens in a new tab)
CWE-426  (opens in a new tab)

How to fix?

Upgrade gluster/glusterfs to version 3.12.14, 4.1.4 or higher.

Overview

Affected versions of this package are vulnerable to Untrusted Search Path. It was found that glusterfs server does not properly sanitize file paths in the "trusted.io-stats-dump" extended attribute which is used by the "debug/io-stats" translator. Attacker can use this flaw to create files and execute arbitrary code. To exploit this attacker would require sufficient access to modify the extended attributes of files on a gluster volume.

References

CVSS Scores

version 3.1