CVE Vulnerabilities

CVE-2017-15566

Untrusted Search Path

Published: Nov 01, 2017 | Modified: Oct 03, 2019
CVSS 3.x
7.8
HIGH
Source:
NVD
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.2 HIGH
AV:L/AC:L/Au:N/C:C/I:C/A:C
RedHat/V2
RedHat/V3
Ubuntu
HIGH

Insecure SPANK environment variable handling exists in SchedMD Slurm before 16.05.11, 17.x before 17.02.9, and 17.11.x before 17.11.0rc2, allowing privilege escalation to root during Prolog or Epilog execution.

Weakness

The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product’s direct control.

Affected Software

Name Vendor Start Version End Version
Slurm Schedmd * 16.05.11 (excluding)
Slurm Schedmd 17.02.0 (including) 17.2.09 (excluding)
Slurm Schedmd 17.11.0-rc1 (including) 17.11.0-rc1 (including)
Slurm-llnl Ubuntu artful *
Slurm-llnl Ubuntu esm-apps/xenial *
Slurm-llnl Ubuntu upstream *
Slurm-llnl Ubuntu xenial *
Slurm-llnl Ubuntu zesty *

Extended Description

This might allow attackers to execute their own programs, access unauthorized data files, or modify configuration in unexpected ways. If the product uses a search path to locate critical resources such as programs, then an attacker could modify that search path to point to a malicious program, which the targeted product would then execute. The problem extends to any type of critical resource that the product trusts. Some of the most common variants of untrusted search path are:

Potential Mitigations

References