CVE-2018-10875
Aliases:GHSA-fc4h-467w-46rhPYSEC-2018-43
Advisory lineage Upstream: 0 Downstream: 25
Modified
Published: 13 Jul 2018, 22:00
Last modified:05 Aug 2024, 07:46
Vulnerability Summary
Overall Risk (default)
medium
31/100 CVSS Score
7.8 HIGH
v3.0 (cve.org)
EPSS Score
0.07% LOW
0% probability +0.02%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
13 Jul 2018, 22:00
Published
Vulnerability first disclosed
05 Aug 2024, 07:46
Last Modified
Vulnerability information updated
Description
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.
CVSS Metrics
- v4.0•HIGH•Score: 8.5CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- v3.0•HIGH•Score: 7.8CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- v2.0•MEDIUM•Score: 4.6AV:L/AC:L/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 0.07%• Percentile: 21%
Techniques & Countermeasures
- CWE-426•Untrusted Search Path
The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control.
Affected Systems
- canonical•ubuntu_linux
16.04 | 18.04 | 19.04
- debian•debian_linux
9.0 | 8.0
- PyPI•ansible
< 2.4.6.0 | ≥ 2.5.0a1, < 2.5.6 | ≥ 2.6.0a1, < 2.6.1 | ≥ 2.6, < 2.6.1
- redhat•ansible_engine
2.0 | 2.4 | 2.5 | 2.6
- redhat•ceph_storage
2.0 | 3.0
- redhat•gluster_storage
3.0.0
- redhat•openshift
3.0
- redhat•openstack
10 | 12 | 13
- redhat•virtualization
4.0
- redhat•virtualization_host
4.0
- suse•package_hub
na
- [unknown]•ansible
n/a
References (25)
- https://access.redhat.com/errata/RHSA-2018:2166
- https://access.redhat.com/errata/RHSA-2018:2152
- https://access.redhat.com/errata/RHSA-2018:2150
- http://www.securitytracker.com/id/1041396
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10875
- https://access.redhat.com/errata/RHBA-2018:3788
- https://access.redhat.com/errata/RHSA-2019:0054
- https://access.redhat.com/errata/RHSA-2018:2151
- https://access.redhat.com/errata/RHSA-2018:2321
- https://access.redhat.com/errata/RHSA-2018:2585
- https://www.debian.org/security/2019/dsa-4396
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html
- https://usn.ubuntu.com/4072-1/
- https://lists.debian.org/debian-lts-announce/2019/09/msg00016.html
- https://nvd.nist.gov/vuln/detail/CVE-2018-10875
- https://github.com/ansible/ansible/issues/42388
- https://github.com/ansible/ansible/pull/43583
- https://github.com/ansible/ansible/pull/42070
- https://github.com/ansible/ansible/commit/ff980afefdbe4ceb828bdb1bb2eef03cf616bf63
- https://github.com/ansible/ansible/commit/4cecbe81adbc655d7ab734165d3ac539f8ba5981
- https://github.com/ansible/ansible/commit/f32c42c37aaf7b9db93ea3151b2f42a0c4bd8172
- https://web.archive.org/web/20201130165946/http://www.securitytracker.com/id/1041396
- https://usn.ubuntu.com/4072-1
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-43.yaml
- https://github.com/ansible/ansible