Bug 1293272 (CVE-2015-8607) - CVE-2015-8607 perl-PathTools: Taint propagation flaw in canonpath()
Summary: CVE-2015-8607 perl-PathTools: Taint propagation flaw in canonpath()
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2015-8607
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1297455 1297486
Blocks: 1293278
TreeView+ depends on / blocked
 
Reported: 2015-12-21 09:37 UTC by Adam Mariš
Modified: 2021-02-17 04:35 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-11 16:19:23 UTC


Attachments (Terms of Use)
Patch (2.01 KB, patch)
2015-12-21 09:41 UTC, Adam Mariš
no flags Details | Diff
Patch - version correction (4.90 KB, patch)
2015-12-21 09:42 UTC, Adam Mariš
no flags Details | Diff

Description Adam Mariš 2015-12-21 09:37:40 UTC
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.

Comment 1 Adam Mariš 2015-12-21 09:41:13 UTC
Created attachment 1108268 [details]
Patch

Comment 2 Adam Mariš 2015-12-21 09:42:42 UTC
Created attachment 1108269 [details]
Patch - version correction

Comment 3 Adam Mariš 2015-12-21 09:47:28 UTC
Acknowledgments:

Red Hat would like to thank upstream developer Ricardo Signes for reporting this issue. Upstream acknowledges David Golden of MongoDB as the original reporter.

Comment 4 Cedric Buissart 2016-01-11 15:56:30 UTC
Created perl-PathTools tracking bugs for this issue:

Affects: fedora-all [bug 1297486]

Comment 5 Cedric Buissart 2016-01-11 15:57:53 UTC
Upstream bug: https://rt.perl.org/Public/Bug/Display.html?id=126862

Comment 7 Fedora Update System 2016-01-14 08:52:50 UTC
perl-PathTools-3.60-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2016-01-27 15:52:03 UTC
perl-PathTools-3.47-312.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.