🛡️ CVE-2018-10874 — ansible
Description
Ansible Improper Input Validation vulnerability
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 this vulnerability can be exploited
This issue can be reached with local access to the system, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. Rated impact: confidentiality high, integrity high, availability high.
Weakness class
CVE-2018-10874 is classified as CWE-20: Improper Input Validation. The application accepts input without checking that it has the expected form, so malformed values reach code that assumes they are well formed.
Affected software
CVE-2018-10874 is recorded against 1 package.
- ansible (from 2.6 up to 2.6.1)
Timeline and source
Published on 13 May 2022 and last revised on 9 September 2024. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
nvd.nist.gov (Advisory)
github.com (Web)
github.com (Web)
github.com (Web)
github.com (Web)
web.archive.org (Web)
usn.ubuntu.com (Web)
github.com (Web)
github.com (Package)
bugzilla.redhat.com (Web)
bugzilla.redhat.com (Web)
access.redhat.com (Web)
access.redhat.com (Web)
access.redhat.com (Web)
access.redhat.com (Web)
Details
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
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| ansible | 2.6 | 2.6.1 |
References
Similar Threats
- Unknown CLSA-2025-1745052021
- Unknown CLSA-2025-1744709445
- Unknown CLSA-2025-1744719966
- Unknown CLSA-2025-1744628190
- Unknown CLSA-2025-1744116044
More CVE 2018 advisories
Browse all of CVE 2018 in the advisory index.
Site Security Check
Is ansible part of your stack?
CVE-2018-10874 is rated CVSS 8.0 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.