Security mailing lists by PureSourceCode

CVE-2018-10875

HIGH 7.8CVSS 3.1

Ansible Arbitrary Code Execution

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.

Published
13 Jul 2018
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-426
Also known as
GHSA-fc4h-467w-46rhPYSEC-2018-43
Sources
NVDJSONOSV GHSA-fc4h-467w-46rhJSONOSV PYSEC-2018-43JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD secalert@redhat.com (Secondary) CVSS 3.0 HIGH 7.8 CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.6 AV:L/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD redhat ansible_engine
cpe:2.3:a:redhat:ansible_engine:2.0:*:*:*:*:*:*:*
= 2.0
NVD redhat ansible_engine
cpe:2.3:a:redhat:ansible_engine:2.4:*:*:*:*:*:*:*
= 2.4
NVD redhat ansible_engine
cpe:2.3:a:redhat:ansible_engine:2.5:*:*:*:*:*:*:*
= 2.5
NVD redhat ansible_engine
cpe:2.3:a:redhat:ansible_engine:2.6:*:*:*:*:*:*:*
= 2.6
NVD redhat ceph_storage
cpe:2.3:a:redhat:ceph_storage:2.0:*:*:*:*:*:*:*
= 2.0
NVD redhat ceph_storage
cpe:2.3:a:redhat:ceph_storage:3.0:*:*:*:*:*:*:*
= 3.0
NVD redhat gluster_storage
cpe:2.3:a:redhat:gluster_storage:3.0.0:*:*:*:*:*:*:*
= 3.0.0
NVD redhat openshift
cpe:2.3:a:redhat:openshift:3.0:*:*:*:enterprise:*:*:*
= 3.0
NVD redhat openstack
cpe:2.3:a:redhat:openstack:10:*:*:*:*:*:*:*
= 10
NVD redhat openstack
cpe:2.3:a:redhat:openstack:12:*:*:*:*:*:*:*
= 12
NVD redhat openstack
cpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:*
= 13
NVD redhat virtualization
cpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:*
= 4.0
NVD redhat virtualization_host
cpe:2.3:a:redhat:virtualization_host:4.0:*:*:*:*:*:*:*
= 4.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD suse package_hub
cpe:2.3:a:suse:package_hub:-:*:*:*:*:*:*:*
(no version)
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
= 16.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
= 18.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*
= 19.04
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
= 8.0
OSV PyPI ansible < 2.4.6.0 2.4.6.0
OSV PyPI ansible >= 2.5.0a1, < 2.5.6 2.5.6
OSV PyPI ansible >= 2.6.0a1, < 2.6.1 2.6.1
OSV PyPI ansible >= 2.5, < 2.5.6; >= 2.4, < 2.4.6.0; >= 2.6, < 2.6.1 2.5.6, 2.4.6.0, 2.6.1

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 13 Jul 2018)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2018)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.