🛡️ CVE-2018-10875 — ansible

🟠 CVSS 8.0 — High ✅ No Known Exploit CWE-426 OSV
8.0
CVSS Score
0 Low4 Medium7 High9 Critical10

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

Severity HIGH
CVSS Score 8.0
CVSS Vector 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
CWE CWE-426
Public Exploit ✅ No
Source OSV
Published 2022-05-13
Updated 2026-08-12
Modified 2024-09-05
Fix URL N/A

Affected Packages

Software From version Fixed in
ansible 2.6.0a1 2.6.1

References

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.