VDB
CVE-2018-10874
CVE-2018-10874
PUBLISHED
CVSS 7.8 HIGH
Ansible Improper Input Validation vulnerability
Reported by redhat · Published July 2, 2018
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.
Risk scores
CVSS 3.0
7.8
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| [UNKNOWN] | ansible | n/a |
| [UNKNOWN] | ansible | * |
| PyPI | ansible | 2.0, 2.4 |
Timeline
- Jul 2, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch (9 in total, the first dated here)
- Mar 6, 2026 Security Advisory (14 in total, the first dated here)
- Jun 7, 2026 CVE Updated
- Sep 26, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-10874
vulnetix vdb fixes CVE-2018-10874
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-10874/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2018:2166 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:2152 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- RHSA-2018:2150 vendor-advisoryx_refsource_REDHAT
- 1041396 vdb-entryx_refsource_SECTRACK
- RHBA-2018:3788 vendor-advisoryx_refsource_REDHAT
- RHSA-2019:0054 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:2151 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:2321 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:2585 vendor-advisoryx_refsource_REDHAT
- USN-4072-1 vendor-advisoryx_refsource_UBUNTU
- https://nvd.nist.gov/vuln/detail/CVE-2018-10874 advisory