Local vault-data disclosure via uncleared temporary files
Published May 11, 2020 · Updated Aug 4, 2024
Incomplete cleanup in affected Red Hat Ansible Engine and Tower releases allows local users to read decrypted vault data from temporary files. DataLoader created plaintext content with tempfile.mkstemp() in the system temporary directory, while worker processes failed to remove every tracked file after module execution. Exposure requires an authorized operator to process vault-encrypted input through an affected file-using module on a system with disk-backed temporary storage.
Summary
What happened
Incomplete cleanup in affected Red Hat Ansible Engine and Tower releases allows local users to read decrypted vault data from temporary files. DataLoader created plaintext content with tempfile.mkstemp() in the system temporary directory, while worker processes failed to remove every tracked file after module execution. Exposure requires an authorized operator to process vault-encrypted input through an affected file-using module on a system with disk-backed temporary storage.
The record
- CVE
- CVE-2020-10685
- Published
- May 11, 2020
- Updated
- Aug 4, 2024
- Vendor
- Red Hat
- Product
- Ansible
- Classifications
- CWE-459, T1005
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 11, 2020CVE publishedPublication date reported by the CVE source.
- Aug 4, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=ansible-engine 2.8.x before 2.8.11
- Affected versionversion=ansible-engine 2.9.x before 2.9.7
- Affected versionversion=ansible-engine versions 2.7.x before 2.7.17
- Affected versionversion=Ansible Tower <= 3.4.5
- Affected versionversion=Ansible Tower <= 3.5.5
- Affected versionversion=Ansible Tower <= 3.6.3
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo