Advisory

PYSEC-2020-203

Also known as: CVE-2014-4678, GHSA-66c7-5pwv-mm3j

Summary

The record has no summary.

Details

The safe_eval function in Ansible before 1.6.4 does not properly restrict the code subset, which allows remote attackers to execute arbitrary code via crafted instructions. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-4657.

Severity

Not rated by the source.

Dates

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

Affected packages and fixes

ansible

PyPI · All systems

Affected

  • introduced 0, fixed 1.6.4 (ecosystem)

Fixed versions

1.6.4

Fix

  • Fixed version 1.6.4
    pip install --upgrade ansible==1.6.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