Advisory

GHSA-qg47-5px9-32g7

Also known as: CVE-2014-4657, PYSEC-2020-199

Summary

Ansible Remote Code Execution

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

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-05-17 19:57 UTC
Modified
2025-02-19 05:27 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences