CVE-2020-25635 Ansible does not collect garbage after playbook run

Medium 5.0 Published Updated

Ansible AWS SSM plugin fails to clean up temporary files, potentially exposing sensitive data in storage buckets.

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-25635?

CVE-2020-25635 is a medium-severity vulnerability in AWS Community Community Collections, published on 5 Oct 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

A flaw was found in Ansible Base when using the aws_ssm connection plugin as garbage collector is not happening after playbook run is completed. Files would remain in the bucket exposing the data. This issue affects directly data confidentiality.

Weakness: CWE-212

Which versions are affected by CVE-2020-25635?

3 open source packages ship an affected version, including ansible. It affects 1 product.

PackageAffectedFixed in
ansible PyPIAll versions2.10.1
ansible PyPIAll versions2.10.1
ansible PyPIAll versions2.10.1

Products include Redhat Ansible.

How do I fix CVE-2020-25635?

Upgrade ansible to 2.10.1 or later.

Is CVE-2020-25635 being exploited?

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

Sources

Also known as GHSA-f556-49jc-4rvc, PYSEC-2020-220, UBUNTU-CVE-2020-25635.

Is CVE-2020-25635 in your software?

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

Check your SBOMs for free