CVE-2017-5630Php Pear
High 7.5 No auth neededHigh EPSS
Follow: this CVE · Php · Php Pear We alert you by email or Slack (account required).
- Priority
- 61
- CVSS 3.1
- 7.5
- EPSS
- 12.5% probability of exploitation in 30 days · percentile 97
- Auth required
- No
- Published
- Feb 1, 2017
- Updated
- Jun 17, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-74
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Pear.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | pear/pear |
≤ 1.10.1 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-xxv8-pv43-57x5). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| php | pear | 1.10.1 |
Official sources
References
Links published by the sources. Open them with care.
- pear.php.net Vendor Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- www.exploit-db.com Third Party Advisory VDB Entry