CVE-2018-10874

unknown
Published 2022-05-13 · Modified 2023-11-08
CVSS v3
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v2
VIR risk

Description

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.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2018-10874.html

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2018-10874

OS impact

OSVersionStatusFixed in
debian debiansidfixed2.6.1+dfsg-1
debian debiantrixiefixed2.6.1+dfsg-1
debian debianbullseyefixed2.6.1+dfsg-1
debian debianforkyfixed2.6.1+dfsg-1
debian debianbookwormfixed2.6.1+dfsg-1
suse slesaffected

Package impact

EcosystemPackageVulnerableFixed
python PyPIansible>=2.5,<2.5.62.5.6
python PyPIansible<2.4.6.02.4.6.0
python PyPIansible>=2.6,<2.6.12.6.1

References

Verify integrity in audit chain (admin only). AS-IS.