{"api_version":"1","generated_at":"2026-04-22T22:49:06+00:00","cve":"CVE-2020-10691","urls":{"html":"https://cve.report/CVE-2020-10691","api":"https://cve.report/api/cve/CVE-2020-10691.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-10691","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-10691"},"summary":{"title":"CVE-2020-10691","description":"An archive traversal flaw was found in all ansible-engine versions 2.9.x prior to 2.9.7, when running ansible-galaxy collection install. When extracting a collection .tar.gz file, the directory is created without sanitizing the filename. An attacker could take advantage to overwrite any file within the system.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2020-04-30 17:15:00","updated_at":"2023-11-07 03:14:00"},"problem_types":["CWE-22"],"metrics":[],"references":[{"url":"https://github.com/ansible/ansible/pull/68596","name":"https://github.com/ansible/ansible/pull/68596","refsource":"CONFIRM","tags":["Patch","Third Party Advisory"],"title":"ansible-galaxy - Fix tar path traversal issue during install - CVE-2020-10691 by jborean93 · Pull Request #68596 · ansible/ansible · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10691","name":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10691","refsource":"CONFIRM","tags":["Issue Tracking","Mitigation","Vendor Advisory"],"title":"1817161 – (CVE-2020-10691) CVE-2020-10691 Ansible: archive traversal vulnerability in ansible-galaxy collection install","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-10691","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-10691","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2020","cve_id":"10691","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redhat","cpe5":"ansible_engine","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"10691","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redhat","cpe5":"ansible_engine","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"10691","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redhat","cpe5":"ansible_tower","cpe6":"3.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"10691","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redhat","cpe5":"ansible_tower","cpe6":"3.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2020-10691","qid":"356226","title":"Amazon Linux Security Advisory for ansible : ALASANSIBLE2-2023-008"},{"cve":"CVE-2020-10691","qid":"500010","title":"Alpine Linux Security Update for ansible"},{"cve":"CVE-2020-10691","qid":"501350","title":"Alpine Linux Security Update for ansible-base"},{"cve":"CVE-2020-10691","qid":"982729","title":"Python (pip) Security Update for ansible (GHSA-3c67-gc48-983w)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2020-10691","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"Red Hat","product":{"product_data":[{"product_name":"Ansible","version":{"version_data":[{"version_value":"all ansible-engine versions 2.9.x prior to 2.9.7"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-22"}]}]},"references":{"reference_data":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10691","name":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10691","refsource":"CONFIRM"},{"url":"https://github.com/ansible/ansible/pull/68596","name":"https://github.com/ansible/ansible/pull/68596","refsource":"CONFIRM"}]},"description":{"description_data":[{"lang":"eng","value":"An archive traversal flaw was found in all ansible-engine versions 2.9.x prior to 2.9.7, when running ansible-galaxy collection install. When extracting a collection .tar.gz file, the directory is created without sanitizing the filename. An attacker could take advantage to overwrite any file within the system."}]},"impact":{"cvss":[[{"vectorString":"5.2/CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L","version":"3.0"}]]}},"nvd":{"publishedDate":"2020-04-30 17:15:00","lastModifiedDate":"2023-11-07 03:14:00","problem_types":["CWE-22"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"LOW","baseScore":5.2,"baseSeverity":"MEDIUM"},"exploitabilityScore":2,"impactScore":2.7},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:N/I:P/A:P","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":3.6},"severity":"LOW","exploitabilityScore":3.9,"impactScore":4.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:*","versionStartIncluding":"2.9.0","versionEndExcluding":"2.9.7","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:redhat:ansible_tower:3.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"10691","Ordinal":"171131","Title":"CVE-2020-10691","CVE":"CVE-2020-10691","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"10691","Ordinal":"1","NoteData":"An archive traversal flaw was found in all ansible-engine versions 2.9.x prior to 2.9.7, when running ansible-galaxy collection install. When extracting a collection .tar.gz file, the directory is created without sanitizing the filename. An attacker could take advantage to overwrite any file within the system.","Type":"Description","Title":null},{"CveYear":"2020","CveId":"10691","Ordinal":"2","NoteData":"2020-04-30","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"10691","Ordinal":"3","NoteData":"2020-04-30","Type":"Other","Title":"Modified"}]}}}