Advisory

GHSA-c2w9-48qc-qpj4

Also known as: CVE-2017-2809, PYSEC-2017-5

Summary

Code injection in ansible

Details

An exploitable vulnerability exists in the yaml loading functionality of ansible-vault before 1.0.5. A specially crafted vault can execute arbitrary python commands resulting in command execution. An attacker can insert python into the vault to trigger this vulnerability.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2018-07-13 15:16 UTC
Modified
2024-09-03 21:31 UTC

Affected packages and fixes

ansible-vault

PyPI · All systems

Affected

  • introduced 0, fixed 1.0.5 (ecosystem)

Fixed versions

1.0.5

Fix

  • Fixed version 1.0.5
    pip install --upgrade ansible-vault==1.0.5

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