Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 636056 (CVE-2017-5630)

Summary: dev-php/PEAR-PEAR: Security Bypass Vulnerability
Product: Gentoo Security Reporter: GLSAMaker/CVETool Bot <glsamaker>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED WONTFIX    
Severity: minor CC: php-bugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: B4 [noglsa cve]
Package list:
Runtime testing required: ---

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