Search
Find a vulnerability
Search criteria
Related vulnerabilities
UBUNTU-CVE-2018-12015 (CVE-2018-12015)
Vulnerability from osv_ubuntu – Published: 2018-06-07 00:00 – Updated: 2026-11-24 09:42 – Source website
VLAI
Details
In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mechanism, and overwrite arbitrary files, via an archive file containing a symlink and a regular file with the same name.
Upstream
Related
Severity
7.5 (High)
N/A (UNKNOWN)
References
4 references
Impacted products
3 products
| Ecosystem | Package | Version |
|---|---|---|
| Ubuntu:14.04:LTS |
perl
pkg:deb/ubuntu/perl@5.18.2-2ubuntu1.6?arch=source&distro=trusty
|
Affected: < 5.18.2-2ubuntu1.6 (ecosystem)
5.14.2-21build15.18.1-45.18.1-4build15.18.1-55.18.2-25.18.2-2ubuntu15.18.2-2ubuntu1.15.18.2-2ubuntu1.35.18.2-2ubuntu1.4
|
| Ubuntu:16.04:LTS |
perl
pkg:deb/ubuntu/perl@5.22.1-9ubuntu0.5?arch=source&distro=xenial
|
Affected: < 5.22.1-9ubuntu0.5 (ecosystem)
5.20.2-65.22.1-35.22.1-45.22.1-55.22.1-75.22.1-85.22.1-95.22.1-9ubuntu0.25.22.1-9ubuntu0.3
|
| Ubuntu:18.04:LTS |
perl
pkg:deb/ubuntu/perl@5.26.1-6ubuntu0.1?arch=source&distro=bionic
|
Affected: < 5.26.1-6ubuntu0.1 (ecosystem)
5.26.0-8ubuntu15.26.1-2ubuntu15.26.1-35.26.1-45.26.1-4build15.26.1-55.26.1-6
|
{
"affected": [
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libcgi-fast-perl",
"binary_version": "5.18.2-2ubuntu1.6"
},
{
"binary_name": "libperl5.18",
"binary_version": "5.18.2-2ubuntu1.6"
},
{
"binary_name": "perl",
"binary_version": "5.18.2-2ubuntu1.6"
},
{
"binary_name": "perl-base",
"binary_version": "5.18.2-2ubuntu1.6"
},
{
"binary_name": "perl-debug",
"binary_version": "5.18.2-2ubuntu1.6"
},
{
"binary_name": "perl-modules",
"binary_version": "5.18.2-2ubuntu1.6"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "perl",
"purl": "pkg:deb/ubuntu/perl@5.18.2-2ubuntu1.6?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "5.18.2-2ubuntu1.6"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.14.2-21build1",
"5.18.1-4",
"5.18.1-4build1",
"5.18.1-5",
"5.18.2-2",
"5.18.2-2ubuntu1",
"5.18.2-2ubuntu1.1",
"5.18.2-2ubuntu1.3",
"5.18.2-2ubuntu1.4"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libperl5.22",
"binary_version": "5.22.1-9ubuntu0.5"
},
{
"binary_name": "perl",
"binary_version": "5.22.1-9ubuntu0.5"
},
{
"binary_name": "perl-base",
"binary_version": "5.22.1-9ubuntu0.5"
},
{
"binary_name": "perl-debug",
"binary_version": "5.22.1-9ubuntu0.5"
},
{
"binary_name": "perl-modules-5.22",
"binary_version": "5.22.1-9ubuntu0.5"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "perl",
"purl": "pkg:deb/ubuntu/perl@5.22.1-9ubuntu0.5?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "5.22.1-9ubuntu0.5"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.20.2-6",
"5.22.1-3",
"5.22.1-4",
"5.22.1-5",
"5.22.1-7",
"5.22.1-8",
"5.22.1-9",
"5.22.1-9ubuntu0.2",
"5.22.1-9ubuntu0.3"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libperl5.26",
"binary_version": "5.26.1-6ubuntu0.1"
},
{
"binary_name": "perl",
"binary_version": "5.26.1-6ubuntu0.1"
},
{
"binary_name": "perl-base",
"binary_version": "5.26.1-6ubuntu0.1"
},
{
"binary_name": "perl-debug",
"binary_version": "5.26.1-6ubuntu0.1"
},
{
"binary_name": "perl-modules-5.26",
"binary_version": "5.26.1-6ubuntu0.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "perl",
"purl": "pkg:deb/ubuntu/perl@5.26.1-6ubuntu0.1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "5.26.1-6ubuntu0.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"5.26.0-8ubuntu1",
"5.26.1-2ubuntu1",
"5.26.1-3",
"5.26.1-4",
"5.26.1-4build1",
"5.26.1-5",
"5.26.1-6"
]
}
],
"aliases": [],
"details": "In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mechanism, and overwrite arbitrary files, via an archive file containing a symlink and a regular file with the same name.",
"id": "UBUNTU-CVE-2018-12015",
"modified": "2026-11-24T09:42:29Z",
"published": "2018-06-07T00:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2018-12015"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-3684-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-3684-2"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2018-12015"
}
],
"related": [
"USN-3684-1",
"USN-3684-2"
],
"schema_version": "1.9.2",
"severity": [
{
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
"source": "NVD",
"type": "CVSS_V3"
},
{
"score": "medium",
"source": "SELF",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2018-12015"
]
}