Advisory

GHSA-3m8p-xpm6-8ww3

Also known as: CVE-2017-7466, PYSEC-2018-40

Summary

Ansible Arbitrary Code Execution

Details

Ansible before version 2.3 has an input validation vulnerability in the handling of data sent from client systems. An attacker with control over a client system being managed by Ansible, and the ability to send facts back to the Ansible server, could use this flaw to execute arbitrary code on the Ansible server using the Ansible server privileges.

Severity

High Basis: The source's own band: HIGH

Dates

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

Affected packages and fixes

ansible

PyPI · All systems

Affected

  • introduced 0, fixed 2.2.3.0 (ecosystem)

Fixed versions

2.2.3.0

Fix

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

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