Advisory

PYSEC-2021-358

Also known as: CVE-2021-3583, GHSA-2pfh-q76x-gwvm

Summary

The record has no summary.

Details

A flaw was found in Ansible, where a user's controller is vulnerable to template injection. This issue can occur through facts used in the template if the user is trying to put templates in multi-line YAML strings and the facts being handled do not routinely include special template characters. This flaw allows attackers to perform command injection, which discloses sensitive information. The highest threat from this vulnerability is to confidentiality and integrity.

Severity

Not rated by the source.

Dates

Published
2021-09-22 12:15 UTC
Modified
2023-11-08 04:06 UTC

Affected packages and fixes

ansible

PyPI · All systems

Affected

  • introduced 0, fixed 2.9.23 (ecosystem)

Fixed versions

2.9.23

Fix

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

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