High severity · published Jul 2, 2018
CVE-2018-10874
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…
7.8
CVSS
0.5%
EPSS
No
On KEV
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 vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 42% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AE
Ansible Engine · Redhat
2.0; 2.4; 2.5; 2.6 · source: NVD
OP
Openstack · Redhat
10; 12; 13 · source: NVD
VI
Virtualization · Redhat
4.0 · source: NVD
VH
Virtualization Host · Redhat
4.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2018-10874
CVE.org
https://www.cve.org/CVERecord?id=CVE-2018-10874
Third Party Advisory
http://www.securitytracker.com/id/1041396
Vendor Advisory
https://access.redhat.com/errata/RHBA-2018:3788
Vendor Advisory
https://access.redhat.com/errata/RHSA-2018:2150
Vendor Advisory
https://access.redhat.com/errata/RHSA-2018:2151
Vendor Advisory
https://access.redhat.com/errata/RHSA-2018:2152
Vendor Advisory
https://access.redhat.com/errata/RHSA-2018:2166
More from Ansible Engine
9.8
CVE-2017-7481
Ansible before versions 2.3.1.0 and 2.4.0.0 fails to properly mark lookup-plugin results as unsafe
9.8
CVE-2018-7750
transport.py in the SSH server implementation of Paramiko before 1.17.6, 1.18.x before 1.18.5, 2.0.x before 2.0.8, 2.1.x before 2.1.5, 2.2.x before 2.2.3, 2.3.x before 2.3.2, and…
7.8
CVE-2020-1737
A flaw was found in Ansible 2.7.17 and prior, 2.8.9 and prior, and 2.9.6 and prior when using the Extract-Zip function from the win_unzip module as the extracted file(s) are not…
7.8
CVE-2019-14846
In Ansible, all Ansible Engine versions up to ansible-engine 2.8.5, ansible-engine 2.7.13, ansible-engine 2.6.19, were logging at the DEBUG level which lead to a disclosure of…
7.8
CVE-2018-16837
Ansible "User" module leaks any data which is passed on as a parameter to ssh-keygen
