Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 636056 (CVE-2017-5630) - dev-php/PEAR-PEAR: Security Bypass Vulnerability
Summary: dev-php/PEAR-PEAR: Security Bypass Vulnerability
Status: RESOLVED WONTFIX
Alias: CVE-2017-5630
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL:
Whiteboard: B4 [noglsa cve]
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-31 15:05 UTC by GLSAMaker/CVETool Bot
Modified: 2018-01-19 20:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description GLSAMaker/CVETool Bot gentoo-dev 2017-10-31 15:05:03 UTC
CVE-2017-5630 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2017-5630):
  PECL in the download utility class in the Installer in PEAR Base System
  v1.10.1 does not validate file types and filenames after a redirect, which
  allows remote HTTP servers to overwrite files via crafted responses, as
  demonstrated by a .htaccess overwrite.
Comment 1 Christopher Díaz Riveros (RETIRED) gentoo-dev Security 2017-10-31 15:06:11 UTC
@Maintainers 1.10.3 is in tree, and should contain the fix. Please call for stabilization when ready.

Thank you
Comment 2 Michael Orlitzky gentoo-dev 2017-11-06 00:00:12 UTC
I would rather stabilize the latest PEAR-PEAR, but that requires the new dev-php/phpunit to be stable first. I've asked for that as part of bug 635356, and I'll try to remember to check back in here afterwards.
Comment 3 Aaron Bauman (RETIRED) gentoo-dev 2018-01-19 20:53:16 UTC
Agree with Redhat's assessment: 

"Since pear's purpose is to download libraries for inclusion in an application, any use of `pear install` or `pear download` implicitly trusts the server. This vulnerability does not significantly extend the trust already given to pear and to servers used with it."

https://bugzilla.redhat.com/show_bug.cgi?id=1418771