Advisory

PYSEC-2020-199

Also known as: CVE-2014-4657, GHSA-qg47-5px9-32g7

Summary

The record has no summary.

Details

The safe_eval function in Ansible before 1.5.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrary code via crafted instructions.

Severity

Not rated by the source.

Dates

Published
2020-02-20 15:15 UTC
Modified
2026-06-10 17:00 UTC

Affected packages and fixes

ansible

PyPI · All systems

Affected

  • introduced 0, fixed 1.5.4 (ecosystem)

Fixed versions

1.5.4

Fix

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

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