Advisory

PYSEC-2018-81

Also known as: CVE-2018-10874, GHSA-3xvg-x47j-x75w

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

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

Affected packages and fixes

ansible

PyPI · All systems

Affected

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

Fixed versions

2.4.6.0, 2.5.6, 2.6.1

Fix

  • Fixed version 2.4.6.0
    pip install --upgrade ansible==2.4.6.0
  • Fixed version 2.5.6
    pip install --upgrade ansible==2.5.6
  • 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