CVE-2018-10874

Aliases:GHSA-3xvg-x47j-x75wPYSEC-2018-81
Advisory lineage Upstream: 0 Downstream: 15
Modified
Published: 02 Jul 2018, 13:00
Last modified:05 Aug 2024, 07:46

Vulnerability Summary

Overall Risk (default)
medium
31/100
CVSS Score
7.8 HIGH
v3.0 (cve.org)
EPSS Score
0.05% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

02 Jul 2018, 13:00
Published
Vulnerability first disclosed
05 Aug 2024, 07:46
Last Modified
Vulnerability information updated

Description

In ansible it was found that inventory variables are loaded from current working directory when running ad-hoc command which are under attacker's control, allowing to run arbitrary code as a result.

CVSS Metrics

  • v4.0HIGHScore: 8.5CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
  • v3.0HIGHScore: 7.8CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • v2.0MEDIUMScore: 4.6AV:L/AC:L/Au:N/C:P/I:P/A:P

EPSS Trends

Current EPSS score: 0.05% Percentile: 16%

Techniques & Countermeasures

  • CWE-20Improper Input Validation

    The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.

  • CWE-426Untrusted Search Path

    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 Systems

  • PyPIansible

    < 2.4.6.0 | ≥ 2.5, < 2.5.6 | ≥ 2.6, < 2.6.1

  • redhatansible_engine

    2.0 | 2.4 | 2.5 | 2.6

  • redhatopenstack

    10 | 12 | 13

  • redhatvirtualization

    4.0

  • redhatvirtualization_host

    4.0

  • [unknown]ansible

    n/a

References (22)