Advisory

PYSEC-2018-43

Also known as: CVE-2018-10875, GHSA-fc4h-467w-46rh

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2018-07-13 22:29 UTC
Modified
2026-06-10 17:00 UTC

Affected packages and fixes

ansible

PyPI · All systems

Affected

  • introduced 2.5, fixed 2.5.6, introduced 2.4, fixed 2.4.6.0, introduced 2.6, fixed 2.6.1 (ecosystem)

Fixed versions

2.5.6, 2.4.6.0, 2.6.1

Fix

  • Fixed version 2.5.6
    pip install --upgrade ansible==2.5.6
  • Fixed version 2.4.6.0
    pip install --upgrade ansible==2.4.6.0
  • Fixed version 2.6.1
    pip install --upgrade ansible==2.6.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences