Advisory

GHSA-3xvg-x47j-x75w

Also known as: CVE-2018-10874, PYSEC-2018-81

Summary

Ansible Improper Input Validation vulnerability

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

High Basis: The source's own band: HIGH

Dates

Published
2022-05-13 01:07 UTC
Modified
2024-09-09 21:20 UTC

Affected packages and fixes

ansible

PyPI · All systems

Affected

  • introduced 0, fixed 2.4.6.0 (ecosystem)

Fixed versions

2.4.6.0

Fix

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

ansible

PyPI · All systems

Affected

  • introduced 2.5, fixed 2.5.6 (ecosystem)

Fixed versions

2.5.6

Fix

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

ansible

PyPI · All systems

Affected

  • introduced 2.6, fixed 2.6.1 (ecosystem)

Fixed versions

2.6.1

Fix

  • 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences