GitHub Advisoryadvisory · PyPI

GHSA-86hp-cj9j-33vv 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

MEDIUM Published 2021-04-07 Modified 2024-09-09 Official page ↗
Aliases
CVE-2020-1753
Ecosystem
PyPI
Packages
ansible
Severity
Moderate
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-200, CWE-532
Reviewed
2021-04-05

Affected packages

• PyPI ansible: >= 2.7.0a1, < 2.7.18 → fixed in 2.7.18 • PyPI ansible: >= 2.8.0a1, < 2.8.12 → fixed in 2.8.12 • PyPI ansible: >= 2.9.0a1, < 2.9.7 → fixed in 2.9.7

Description

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.

Related

Alias · CVE (1)

  • CVE-2020-1753 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… vulnerability

Weakness · CWE (2)

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
  • CWE-532 Insertion of Sensitive Information into Log File weakness

References