Advisory

GHSA-86hp-cj9j-33vv

Also known as: CVE-2020-1753, PYSEC-2020-210

Summary

Insertion of Sensitive Information into Log File, Invocation of Process Using Visible Sensitive Information, and Exposure of Sensitive Information to an Unauthorized Actor in Ansible

Details

A security flaw was found in Ansible Engine, all Ansible 2.7.x versions prior to 2.7.17, all Ansible 2.8.x versions prior to 2.8.11 and all Ansible 2.9.x versions prior to 2.9.7, when managing kubernetes using the k8s module. Sensitive parameters such as passwords and tokens are passed to kubectl from the command line, not using an environment variable or an input configuration file. This will disclose passwords and tokens from process list and no_log directive from debug module would not have any effect making these secrets being disclosed on stdout and log files.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-04-07 20:33 UTC
Modified
2024-09-09 21:31 UTC

Affected packages and fixes

ansible

PyPI · All systems

Affected

  • introduced 2.7.0a1, fixed 2.7.18 (ecosystem)

Fixed versions

2.7.18

Fix

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

ansible

PyPI · All systems

Affected

  • introduced 2.8.0a1, fixed 2.8.12 (ecosystem)

Fixed versions

2.8.12

Fix

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

ansible

PyPI · All systems

Affected

  • introduced 2.9.0a1, fixed 2.9.7 (ecosystem)

Fixed versions

2.9.7

Fix

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

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