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 arbitrary code as a result.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:redhat:ansible_engine:2.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:ansible_engine:2.4:*:*:*:*:*:*:*
cpe:2.3:a:redhat:ansible_engine:2.5:*:*:*:*:*:*:*
cpe:2.3:a:redhat:ansible_engine:2.6:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openstack:10:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openstack:12:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:*
cpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:virtualization_host:4.0:*:*:*:*:*:*:*

History

13 Feb 2023, 04:51

Type Values Removed Values Added
Summary CVE-2018-10874 ansible: Inventory variables are loaded from current working directory when running ad-hoc command that can lead to code execution 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.
References
  • {'url': 'https://access.redhat.com/security/cve/CVE-2018-10874', 'name': 'https://access.redhat.com/security/cve/CVE-2018-10874', 'tags': [], 'refsource': 'MISC'}
  • {'url': 'https://bugzilla.redhat.com/show_bug.cgi?id=1596528', 'name': 'https://bugzilla.redhat.com/show_bug.cgi?id=1596528', 'tags': [], 'refsource': 'MISC'}
CWE CWE-20 CWE-426

02 Feb 2023, 21:18

Type Values Removed Values Added
Summary 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. CVE-2018-10874 ansible: Inventory variables are loaded from current working directory when running ad-hoc command that can lead to code execution
References
  • (MISC) https://access.redhat.com/security/cve/CVE-2018-10874 -
  • (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=1596528 -

04 Aug 2021, 17:14

Type Values Removed Values Added
CPE cpe:2.3:a:redhat:openstack:13.0:*:*:*:*:*:*:* cpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:*

Information

Published : 2018-07-02 13:29

Updated : 2023-12-10 12:30


NVD link : CVE-2018-10874

Mitre link : CVE-2018-10874

CVE.ORG link : CVE-2018-10874


JSON object : View

Products Affected

redhat

  • virtualization
  • openstack
  • virtualization_host
  • ansible_engine
CWE
CWE-426

Untrusted Search Path

CWE-20

Improper Input Validation