Live threats

All CVEs / Redhat

CVE-2018-10875Redhat Ansible Engine

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
0.6%
probability of exploitation in 30 days · percentile 48
Auth required
Yes
Published
Jul 13, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-426
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

A flaw was found in ansible. ansible.cfg is read from the current working directory which can be altered to make it point to a plugin or a module path under the control of an attacker, thus allowing the attacker to execute arbitrary code.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ansible Engine.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI ansible < 2.4.6.0 2.4.6.0 pip install "ansible>=2.4.6.0"
PyPI ansible ≥ 2.5.0a1 < 2.5.6 2.5.6 pip install "ansible>=2.5.6"
PyPI ansible ≥ 2.6.0a1 < 2.6.1 2.6.1 pip install "ansible>=2.6.1"
PyPI ansible ≥ 2.5 < 2.5.6 2.5.6 pip install "ansible>=2.5.6"
PyPI ansible ≥ 2.4 < 2.4.6.0 2.4.6.0 pip install "ansible>=2.4.6.0"
PyPI ansible ≥ 2.6 < 2.6.1 2.6.1 pip install "ansible>=2.6.1"

Per OSV / GitHub Advisories (GHSA-fc4h-467w-46rh, PYSEC-2018-43). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
redhatansible_engine2.0
redhatansible_engine2.4
redhatansible_engine2.5
redhatansible_engine2.6
redhatceph_storage2.0
redhatceph_storage3.0
redhatgluster_storage3.0.0
redhatopenshift3.0
redhatopenstack10
redhatopenstack12
redhatopenstack13
redhatvirtualization4.0
redhatvirtualization_host4.0
debiandebian_linux9.0
susepackage_huball
canonicalubuntu_linux16.04
canonicalubuntu_linux18.04
canonicalubuntu_linux19.04
debiandebian_linux8.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.