CVE Vulnerabilities

CVE-2014-3627

Improper Link Resolution Before File Access ('Link Following')

Published: Dec 05, 2014 | Modified: Nov 07, 2023
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:P/I:N/A:N
RedHat/V2
6.4 MODERATE
AV:N/AC:L/Au:N/C:P/I:P/A:N
RedHat/V3
Ubuntu

The YARN NodeManager daemon in Apache Hadoop 0.23.0 through 0.23.11 and 2.x before 2.5.2, when using Kerberos authentication, allows remote cluster users to change the permissions of certain files to world-readable via a symlink attack in a public tar archive, which is not properly handled during localization, related to distributed cache.

Weakness

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 Software

Name Vendor Start Version End Version
Hadoop Apache 0.23.0 (including) 0.23.0 (including)
Hadoop Apache 0.23.1 (including) 0.23.1 (including)
Hadoop Apache 0.23.3 (including) 0.23.3 (including)
Hadoop Apache 0.23.4 (including) 0.23.4 (including)
Hadoop Apache 0.23.5 (including) 0.23.5 (including)
Hadoop Apache 0.23.6 (including) 0.23.6 (including)
Hadoop Apache 0.23.7 (including) 0.23.7 (including)
Hadoop Apache 0.23.8 (including) 0.23.8 (including)
Hadoop Apache 0.23.9 (including) 0.23.9 (including)
Hadoop Apache 0.23.10 (including) 0.23.10 (including)
Hadoop Apache 0.23.11 (including) 0.23.11 (including)
Hadoop Apache 2.0.0-alpha (including) 2.0.0-alpha (including)
Hadoop Apache 2.0.1-alpha (including) 2.0.1-alpha (including)
Hadoop Apache 2.0.2-alpha (including) 2.0.2-alpha (including)
Hadoop Apache 2.0.3-alpha (including) 2.0.3-alpha (including)
Hadoop Apache 2.0.4-alpha (including) 2.0.4-alpha (including)
Hadoop Apache 2.0.5-alpha (including) 2.0.5-alpha (including)
Hadoop Apache 2.0.6-alpha (including) 2.0.6-alpha (including)
Hadoop Apache 2.1.0-beta (including) 2.1.0-beta (including)
Hadoop Apache 2.1.1-beta (including) 2.1.1-beta (including)
Hadoop Apache 2.2.0 (including) 2.2.0 (including)
Hadoop Apache 2.3.0 (including) 2.3.0 (including)
Hadoop Apache 2.4.0 (including) 2.4.0 (including)
Hadoop Apache 2.4.1 (including) 2.4.1 (including)
Hadoop Apache 2.5.0 (including) 2.5.0 (including)
Hadoop Apache 2.5.1 (including) 2.5.1 (including)

Potential Mitigations

  • Follow the principle of least privilege when assigning access rights to entities in a software system.
  • Denying access to a file can prevent an attacker from replacing that file with a link to a sensitive file. Ensure good compartmentalization in the system to provide protected areas that can be trusted.

References