{"schemaVersion":3,"id":"CVE-2020-10685","aliases":["GHSA-77g3-3j5w-64w4","PYSEC-2020-1","UBUNTU-CVE-2020-10685","DEBIAN-CVE-2020-10685"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2020-05-11T00:00:00.000Z","modified":"2024-08-04T11:06:10.628Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":6.8,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":4.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":1.9,"severity":"low","vector":"AV:L/AC:M/Au:N/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00364,"percentile":0.28762,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.014999999999999996,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00379},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00364,"percentile":0.28762}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00379,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00364,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00364,"percentile":0.28762}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-459","name":"Incomplete Cleanup","description":"The product does not properly \"clean up\" and remove temporary or supporting resources after they have been used.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/459.html"}],"affected":[{"vendor":"debian","product":"ansible","name":"ansible","label":"ansible","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/ansible","purlType":"deb","versions":[{"text":"< 2.9.7+dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.9.7+dfsg-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ansible","name":"ansible","label":"ansible","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ansible","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"10.0","eol":{"isEol":true,"eolDate":"2024-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"10","label":"10 (Buster)","eolFrom":"2024-06-30T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"10.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"PyPI","product":"ansible","name":"ansible","label":"ansible","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/ansible","purlType":"pypi","versions":[{"text":"≥ 2.7.0a1, < 2.7.17","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.8.0a1, < 2.8.11","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.9.0a1, < 2.9.7","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.9.0, < 2.9.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.7.0a1, < 2.7.17 | ≥ 2.8.0a1, < 2.8.11 | ≥ 2.9.0a1, < 2.9.7 | ≥ 2.9.0, < 2.9.7","eol":null,"hubHref":null},{"vendor":"red hat","product":"ansible","name":"Ansible","label":"ansible","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"ansible-engine versions 2.7.x before 2.7.17","noFixRecorded":false,"fixedIn":null},{"text":"ansible-engine 2.8.x before 2.8.11","noFixRecorded":false,"fixedIn":null},{"text":"ansible-engine 2.9.x before 2.9.7","noFixRecorded":false,"fixedIn":null},{"text":"Ansible Tower <= 3.4.5","noFixRecorded":false,"fixedIn":null},{"text":"Ansible Tower <= 3.5.5","noFixRecorded":false,"fixedIn":null},{"text":"Ansible Tower <= 3.6.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"ansible-engine versions 2.7.x before 2.7.17 | ansible-engine 2.8.x before 2.8.11 | ansible-engine 2.9.x before 2.9.7 | Ansible Tower <= 3.4.5 | Ansible Tower <= 3.5.5 | Ansible Tower <= 3.6.3","eol":null,"hubHref":"/vendor/red_hat/ansible"},{"vendor":"redhat","product":"ansible_engine","name":"ansible engine","label":"ansible_engine","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.7.0, < 2.7.17","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.8.0, < 2.8.11","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.9.0, < 2.9.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.7.0, < 2.7.17 | ≥ 2.8.0, < 2.8.11 | ≥ 2.9.0, < 2.9.7","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"ansible-core","label":"Ansible-core","category":"framework"}},"hubHref":"/vendor/redhat/ansible_engine"},{"vendor":"redhat","product":"ansible_tower","name":"ansible tower","label":"ansible_tower","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 3.4.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.5.0, ≤ 3.5.5","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.6.0, ≤ 3.6.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 3.4.5 | ≥ 3.5.0, ≤ 3.5.5 | ≥ 3.6.0, ≤ 3.6.3","eol":null,"hubHref":"/vendor/redhat/ansible_tower"},{"vendor":"redhat","product":"ceph_storage","name":"ceph storage","label":"ceph_storage","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2.0","noFixRecorded":false,"fixedIn":null},{"text":"3.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"2.0 | 3.0","eol":null,"hubHref":"/vendor/redhat/ceph_storage"},{"vendor":"redhat","product":"openstack","name":"openstack","label":"openstack","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"10","noFixRecorded":false,"fixedIn":null},{"text":"13","noFixRecorded":false,"fixedIn":null},{"text":"15","noFixRecorded":false,"fixedIn":null}],"versionsText":"10 | 13 | 15","eol":null,"hubHref":"/vendor/redhat/openstack"},{"vendor":"redhat","product":"storage","name":"storage","label":"storage","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"3.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.0","eol":null,"hubHref":"/vendor/redhat/storage"}],"affectedCount":10,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://security.gentoo.org/glsa/202006-11","label":"security.gentoo.org/glsa/202006-11","hostname":"security.gentoo.org","tags":["Vendor Advisory","WEB","Advisory","Third Party Advisory"]},{"url":"https://www.debian.org/security/2021/dsa-4950","label":"www.debian.org/security/2021/dsa-4950","hostname":"www.debian.org","tags":["Vendor Advisory","WEB","Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10685","label":"bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10685","hostname":"bugzilla.redhat.com","tags":["WEB","REPORT","Issue Tracking","Patch","Vendor Advisory"]},{"url":"https://github.com/ansible/ansible/pull/68433","label":"github.com/ansible/ansible/pull/68433","hostname":"github.com","tags":["WEB","REPORT","Patch","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10685","label":"nvd.nist.gov/vuln/detail/CVE-2020-10685","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/ansible/ansible/commit/4e1fe80e681fa466626e9dea53efe6b0253ea1b2","label":"github.com/ansible/ansible/commit/4e1fe80e681fa466626e9dea53efe6b0253ea1b2","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/ansible/ansible/commit/51d2514753544a9d58cd7524e27e696b2c944fb5","label":"github.com/ansible/ansible/commit/51d2514753544a9d58cd7524e27e696b2c944fb5","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/ansible/ansible/commit/e1273b6faf036ed84e4f4edee85b888a4e256aee","label":"github.com/ansible/ansible/commit/e1273b6faf036ed84e4f4edee85b888a4e256aee","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-77g3-3j5w-64w4","label":"github.com/advisories/GHSA-77g3-3j5w-64w4","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/ansible/ansible","label":"github.com/ansible/ansible","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-1.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-1.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2020-10685","label":"ubuntu.com/security/CVE-2020-10685","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-10685","label":"www.cve.org/CVERecord?id=CVE-2020-10685","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-10685","label":"security-tracker.debian.org/tracker/CVE-2020-10685","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-4950-1","OPENSUSE-SU-2022:0081-1","OPENSUSE-SU-2024:14244-1","OPENSUSE-SU-2024:14536-1","OPENSUSE-SU-2025:15605-1","OPENSUSE-SU-2025:15753-1","OPENSUSE-SU-2026:10944-1","RHSA-2020:1541","RHSA-2020:1542","RHSA-2020:1543","RHSA-2020:1544","SUSE-SU-2020:3309-1"],"duplicates":[],"related":["OPENSUSE-SU-2022:0081-1","OPENSUSE-SU-2024:14244-1","OPENSUSE-SU-2024:14536-1","OPENSUSE-SU-2025:15605-1","OPENSUSE-SU-2025:15753-1","OPENSUSE-SU-2026:10944-1","SUSE-SU-2020:3309-1"]},"timeline":[{"kind":"published","date":"2020-05-11T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T11:06:10.628Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T23:28:42.250Z","stale":false,"partial":false}}