CVE-2020-10744 Exposure of Resource to Wrong Sphere and Insecure Temporary File in Ansible

Medium 5.0 Published Updated

Attackers can exploit a race condition in Ansible's temporary directory handling on systems with ACLs or FUSE to escalate privileges or execute code.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-10744?

CVE-2020-10744 is a medium-severity vulnerability in Redhat Ansible Tower, published on 15 May 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

An incomplete fix was found for the fix of the flaw CVE-2020-1733 ansible: insecure temporary directory when running become_user from become directive. The provided fix is insufficient to prevent the race condition on systems using ACLs and FUSE filesystems. Ansible Engine 2.7.18, 2.8.12, and 2.9.9 as well as previous versions are affected and Ansible Tower 3.4.5, 3.5.6 and 3.6.4 as well as previous versions are affected.

Weakness: CWE-362, CWE-377

Which versions are affected by CVE-2020-10744?

5 open source packages ship an affected version, including ansible. It affects 2 products.

PackageAffectedFixed in
ansible PyPIAll versions2.9.12
ansible PyPIAll versions2.9.12
ansible PyPIFrom 2.10.0a12.10.0rc1
ansible PyPIFrom 2.10.0a12.10.0rc1
ansible PyPIFrom 2.7.02.8.0a1, 2.8.13, 2.9.10

Products include Redhat Ansible, Redhat Ansible Tower.

How do I fix CVE-2020-10744?

Upgrade ansible to a fixed version for your release line: 2.9.12, 2.10.0rc1, 2.8.0a1 or 2.8.13.

Is CVE-2020-10744 being exploited?

There is no known exploitation of CVE-2020-10744 in the wild and no public exploit code.

All Redhat Ansible Tower vulnerabilities

Sources

Also known as DEBIAN-CVE-2020-10744, GHSA-vp9j-rghq-8jhh, PYSEC-2020-208, UBUNTU-CVE-2020-10744.

Is CVE-2020-10744 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free