Advisory

GHSA-77g3-3j5w-64w4

Also known as: CVE-2020-10685, PYSEC-2020-1

Summary

Exposure of Resource to Wrong Sphere and Insecure Temporary File in Ansible

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-04-07 20:36 UTC
Modified
2024-09-06 20:21 UTC

Affected packages and fixes

ansible

PyPI · All systems

Affected

  • introduced 2.7.0a1, fixed 2.7.17 (ecosystem)

Fixed versions

2.7.17

Fix

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

ansible

PyPI · All systems

Affected

  • introduced 2.8.0a1, fixed 2.8.11 (ecosystem)

Fixed versions

2.8.11

Fix

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

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