ansible — security advisory
A flaw was found in Ansible 2.7.17 and prior, 2.8.9 and prior, and 2.9.6 and prior when using the Extract-Zip function from the win_unzip module as the extracted file(s) are not checked if they belong to the destination folder. An attacker could take advantage of this flaw by crafting an archive anywhere in the file system, using a path traversal. This issue is fixed in 2.10.
- Products
- ansible
- Affected versions
- Not specified
- Fixed versions
- 2.9.7+dfsg-1
- CVEs
- CVE-2020-1737
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 13:28 UTC · Revision 1
Source evidence
A flaw was found in Ansible 2.7.17 and prior, 2.8.9 and prior, and 2.9.6 and prior when using the Extract-Zip function from the win_unzip module as the extracted file(s) are not checked if they belong to the destination folder. An attacker could take advantage of this flaw by crafting an archive anywhere in the file system, using a path traversal. This issue is fixed in 2.10.
osv:DEBIAN-CVE-2020-1737
ansible
Fixed versions: 2.9.7+dfsg-1
ansible
Fixed versions: 2.9.7+dfsg-1
ansible
Fixed versions: 2.9.7+dfsg-1
Complete source record
{
"id": "cce864cc962270c73efc3804897ab3ad337972e77ad0383cc5aae3f4bfde8289",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2020-1737",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2020-1737",
"summary": "A flaw was found in Ansible 2.7.17 and prior, 2.8.9 and prior, and 2.9.6 and prior when using the Extract-Zip function from the win_unzip module as the extracted file(s) are not checked if they belong to the destination folder. An attacker could take advantage of this flaw by crafting an archive anywhere in the file system, using a path traversal. This issue is fixed in 2.10.",
"evidence": "osv:DEBIAN-CVE-2020-1737",
"products": [
{
"name": {
"value": "ansible",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.9.7+dfsg-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "ansible",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.9.7+dfsg-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "ansible",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.9.7+dfsg-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2020-1737",
"aliases": [
"DEBIAN-CVE-2020-1737"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.9.7+dfsg-1"
}
]
}
],
"package": {
"name": "ansible",
"purl": "pkg:deb/debian/ansible?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-1737.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.9.7+dfsg-1"
}
]
}
],
"package": {
"name": "ansible",
"purl": "pkg:deb/debian/ansible?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-1737.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.9.7+dfsg-1"
}
]
}
],
"package": {
"name": "ansible",
"purl": "pkg:deb/debian/ansible?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-1737.json"
},
"ecosystem_specific": {
"urgency": "unimportant"
}
}
],
"modified": "2026-10-26T12:02:28.625188356Z",
"provider": "osv",
"upstream": [
"CVE-2020-1737"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2020-1737"
]
},
"related_cves": [
{
"value": "CVE-2020-1737",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 452305,
"published_at": "2020-03-09T16:15:12.407+00:00"
}