GitHub Advisoryadvisory · PyPI

GHSA-77g3-3j5w-64w4 Exposure of Resource to Wrong Sphere and Insecure Temporary File in Ansible

MEDIUM Published 2021-04-07 Modified 2024-09-06 Official page ↗
Aliases
CVE-2020-10685
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-377, CWE-459, CWE-668
Reviewed
2021-04-05

Affected packages

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

Description

A flaw was found in Ansible Engine affecting Ansible Engine versions 2.7.x before 2.7.17 and 2.8.x before 2.8.11 and 2.9.x before 2.9.7 as well as Ansible Tower before and including versions 3.4.5 and 3.5.5 and 3.6.3 when using modules which decrypts vault files such as assemble, script, unarchive, win_copy, aws_s3 or copy modules. The temporary directory is created in /tmp leaves the s ts unencrypted. On Operating Systems which /tmp is not a tmpfs but part of the root partition, the directory is only cleared on boot and the decryp emains when the host is switched off. The system will be vulnerable when the system is not running. So decrypted data must be cleared as soon as possible and the data which normally is encrypted ble.

Related

Weakness · not in database (1)

Alias · CVE (1)

  • CVE-2020-10685 A flaw was found in Ansible Engine affecting Ansible Engine versions 2.7.x before 2.7.17 and 2.8.x before 2.8.11 and 2.9.x before 2.9.7 as… vulnerability

Weakness · CWE (2)

  • CWE-459 Incomplete Cleanup weakness
  • CWE-668 Exposure of Resource to Wrong Sphere weakness

References