CVE-2015-8607
published 2016-01-13CVE-2015-8607: The canonpath function in the File::Spec module in PathTools before 3.62, as used in Perl, does not properly preserve the taint attribute of data, which might…
PriorityP342high7.3CVSS 3.0
AVNACLPRNUINSUCLILAL
EPSS
3.12%
86.4th percentile
The canonpath function in the File::Spec module in PathTools before 3.62, as used in Perl, does not properly preserve the taint attribute of data, which might allow context-dependent attackers to bypass the taint protection mechanism via a crafted string.
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | perl | < perl 5.22.1-4 (bookworm) | perl 5.22.1-4 (bookworm) |
| perl | pathtools | <= 3.61 | — |
| perl | perl | >= 0 < 5.22.1-4 | 5.22.1-4 |
| perl | perl | >= 0 < 5.22.1-4 | 5.22.1-4 |
| perl | perl | >= 0 < 5.22.1-4 | 5.22.1-4 |
| perl | perl | >= 0 < 5.22.1-4 | 5.22.1-4 |
CVSS provenance
nvdv3.07.3HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv7.3HIGH
vendor_debian7.3HIGH
vendor_redhat7.3HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Perl vulnerability
vendor_ubuntu·2016-01-21
CVE-2015-8607 Perl vulnerability
Title: Perl vulnerability
Summary: Perl incorrectly handled the taint attribute.
David Golden discovered that the canonpath function in the Perl File::Spec
module did not properly preserve the taint attribute. An attacker could
possibly use this issue to bypass the taint protection mechanism.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
perl-PathTools: Taint propagation flaw in canonpath()
vendor_redhat·2016-01-11·CVSS 7.3
CVE-2015-8607 [HIGH] perl-PathTools: Taint propagation flaw in canonpath()
perl-PathTools: Taint propagation flaw in canonpath()
The canonpath function in the File::Spec module in PathTools before 3.62, as used in Perl, does not properly preserve the taint attribute of data, which might allow context-dependent attackers to bypass the taint protection mechanism via a crafted string.
Package: perl-PathTools (Red Hat Enterprise Linux 7) - Not affected
Package: perl516-perl-PathTools (Red Hat Software Collections) - Not affected
Package: rh-perl520-perl-PathTools (Red Hat Software Collections) - Will not fix
Debian
CVE-2015-8607: perl - The canonpath function in the File::Spec module in PathTools before 3.62, as use...
vendor_debian·2015·CVSS 7.3
CVE-2015-8607 [HIGH] CVE-2015-8607: perl - The canonpath function in the File::Spec module in PathTools before 3.62, as use...
The canonpath function in the File::Spec module in PathTools before 3.62, as used in Perl, does not properly preserve the taint attribute of data, which might allow context-dependent attackers to bypass the taint protection mechanism via a crafted string.
Scope: local
bookworm: resolved (fixed in 5.22.1-4)
bullseye: resolved (fixed in 5.22.1-4)
forky: resolved (fixed in 5.22.1-4)
sid: resolved (fixed in 5.22.1-4)
trixie: resolved (fixed in 5.22.1-4)
GHSA
GHSA-53pj-vpxm-m333: The canonpath function in the File::Spec module in PathTools before 3
ghsa_unreviewed·2022-05-13
CVE-2015-8607 [HIGH] CWE-20 GHSA-53pj-vpxm-m333: The canonpath function in the File::Spec module in PathTools before 3
The canonpath function in the File::Spec module in PathTools before 3.62, as used in Perl, does not properly preserve the taint attribute of data, which might allow context-dependent attackers to bypass the taint protection mechanism via a crafted string.
OSV
CVE-2015-8607: The canonpath function in the File::Spec module in PathTools before 3
osv·2016-01-13·CVSS 7.3
CVE-2015-8607 [HIGH] CVE-2015-8607: The canonpath function in the File::Spec module in PathTools before 3
The canonpath function in the File::Spec module in PathTools before 3.62, as used in Perl, does not properly preserve the taint attribute of data, which might allow context-dependent attackers to bypass the taint protection mechanism via a crafted string.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2015-8607 perl-PathTools: Taint propagation flaw in canonpath() [fedora-all]
bugzilla·2016-01-11·CVSS 7.3
CVE-2015-8607 [HIGH] CVE-2015-8607 perl-PathTools: Taint propagation flaw in canonpath() [fedora-all]
CVE-2015-8607 perl-PathTools: Taint propagation flaw in canonpath() [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions
Bugzilla
CVE-2015-8607 perl-PathTools: Taint propagation flaw in canonpath()
bugzilla·2015-12-21·CVSS 7.3
CVE-2015-8607 [HIGH] CVE-2015-8607 perl-PathTools: Taint propagation flaw in canonpath()
CVE-2015-8607 perl-PathTools: Taint propagation flaw in canonpath()
It was reported that File::Spec::canonpath() routine returns untainted strings even if passed tainted input. This defect undermines the guarantee of taint propagation, which is sometimes used to ensure that unvalidated user input does not reach sensitive code. This issue affects versions of PathTools from 3.47 onwards and/or perl 5.20.0.
Discussion:
Created attachment 1108268
Patch
---
Created attachment 1108269
Patch - version correction
---
Created perl-PathTools tracking bugs for this issue:
Affects: fedora-all [bug 1297486]
---
Upstream bug: https://rt.perl.org/Public/Bug/Display.html?id=126862
---
perl-PathTools-3.60-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, plea
http://cpansearch.perl.org/src/RJBS/PathTools-3.62/Changeshttp://lists.fedoraproject.org/pipermail/package-announce/2016-January/175494.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2016-January/176228.htmlhttp://lists.opensuse.org/opensuse-updates/2016-03/msg00112.htmlhttp://www.debian.org/security/2016/dsa-3441http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.htmlhttp://www.securityfocus.com/bid/80504http://www.securitytracker.com/id/1034772http://www.ubuntu.com/usn/USN-2878-1https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731https://rt.perl.org/Public/Bug/Display.html?id=126862https://security.gentoo.org/glsa/201701-75https://www.oracle.com/security-alerts/cpujul2020.htmlhttp://cpansearch.perl.org/src/RJBS/PathTools-3.62/Changeshttp://lists.fedoraproject.org/pipermail/package-announce/2016-January/175494.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2016-January/176228.htmlhttp://lists.opensuse.org/opensuse-updates/2016-03/msg00112.htmlhttp://www.debian.org/security/2016/dsa-3441http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.htmlhttp://www.securityfocus.com/bid/80504http://www.securitytracker.com/id/1034772http://www.ubuntu.com/usn/USN-2878-1https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731https://rt.perl.org/Public/Bug/Display.html?id=126862https://security.gentoo.org/glsa/201701-75https://www.oracle.com/security-alerts/cpujul2020.html
2016-01-13
Published