🛡️ CVE-2018-10875 — ansible
Description
Ansible Arbitrary Code Execution
A flaw was found in ansible. ansible.cfg is read from the current working directory which can be altered to make it point to a plugin or a module path under the control of an attacker, thus allowing the attacker to execute arbitrary code.
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-10875 is classified as CWE-426: Untrusted Search Path. The product resolves a library or executable using a search path an attacker can influence.
Affected software
CVE-2018-10875 is recorded against 1 package.
- ansible (from 2.6.0a1 up to 2.6.1)
Timeline and source
Published on 13 May 2022 and last revised on 5 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)
github.com (Web)
github.com (Web)
www.debian.org (Web)
web.archive.org (Web)
usn.ubuntu.com (Web)
lists.debian.org (Web)
github.com (Web)
github.com (Package)
bugzilla.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.0a1 | 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-10875 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.