CVE-2018-10874
HIGHCVSS 7.8/10EPSS 0.48%
Last modified
CVE-2018-10874 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 0.48% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Redhat | Ansible Engine | 2.0 |
| Redhat | Ansible Engine | 2.4 |
| Redhat | Ansible Engine | 2.5 |
| Redhat | Ansible Engine | 2.6 |
| Redhat | Openstack | 10 |
| Redhat | Openstack | 12 |
| Redhat | Openstack | 13 |
| Redhat | Virtualization | 4.0 |
| Redhat | Virtualization Host | 4.0 |
References
- http://www.securitytracker.com/id/1041396Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHBA-2018:3788Vendor Advisory
- https://access.redhat.com/errata/RHSA-2018:2150Vendor Advisory
- https://access.redhat.com/errata/RHSA-2018:2151Vendor Advisory
- https://access.redhat.com/errata/RHSA-2018:2152Vendor Advisory
- https://access.redhat.com/errata/RHSA-2018:2166Vendor Advisory
- https://access.redhat.com/errata/RHSA-2018:2321Vendor Advisory
- https://access.redhat.com/errata/RHSA-2018:2585Vendor Advisory
- https://access.redhat.com/errata/RHSA-2019:0054Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10874Issue Tracking, Vendor Advisory
- http://www.securitytracker.com/id/1041396Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHBA-2018:3788Vendor Advisory
- https://access.redhat.com/errata/RHSA-2018:2150Vendor Advisory
- https://access.redhat.com/errata/RHSA-2018:2151Vendor Advisory
- https://access.redhat.com/errata/RHSA-2018:2152Vendor Advisory
- https://access.redhat.com/errata/RHSA-2018:2166Vendor Advisory
- https://access.redhat.com/errata/RHSA-2018:2321Vendor Advisory
- https://access.redhat.com/errata/RHSA-2018:2585Vendor Advisory
- https://access.redhat.com/errata/RHSA-2019:0054Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10874Issue Tracking, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is 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.
How severe is CVE-2018-10874?
CVE-2018-10874 has a CVSS score of 7.8/10 (HIGH severity). The EPSS model estimates a 0.48% probability of exploitation in the next 30 days.
How do I fix CVE-2018-10874?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2018
- CVE-2018-10869redhat-certification does not properly restrict files that c…7.5
- CVE-2018-1087kernel KVM before versions kernel 4.16, kernel 4.16-rc7, ker…8
- CVE-2018-10870redhat-certification does not properly sanitize paths in rhc…9.8
- CVE-2018-10871389-ds-base before versions 1.3.8.5, 1.4.0.12 is vulnerable …3.8
- CVE-2018-10872A flaw was found in the way the Linux kernel handled excepti…6.5
- CVE-2018-10873A vulnerability was discovered in SPICE before version 0.14.…8.3
- CVE-2018-10875A flaw was found in ansible. ansible.cfg is read from the cu…7.8
- CVE-2018-10876A flaw was found in Linux kernel in the ext4 filesystem code…5
- CVE-2018-10877Linux kernel ext4 filesystem is vulnerable to an out-of-boun…7.3
- CVE-2018-10878A flaw was found in the Linux kernel's ext4 filesystem. A lo…7.8
- CVE-2018-10879A flaw was found in the Linux kernel's ext4 filesystem. A lo…4.2
- CVE-2018-1088A privilege escalation flaw was found in gluster 3.x snapsho…8.1
Are you affected by CVE-2018-10874?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
