CVE-2017-5630
php-pear: File overwrite by malicious server
Severity
ModerateRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · January 26, 2017
Updated · May 13, 2026
Description
A vulnerability was found in php-pear where if a malicious server responded to a pear
Statement
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.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
This vulnerability only allows files in the current directory to be overwritten, so using pear download in a temporary directory effectively mitigates the risk of a dangerous file overwrite occurring.
CVSS / CWE
CVSS 3.0 · 3.4CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:N
CWE-73 · External Control of File Name or Path