CVE-2017-5630
HIGH 7.5CVSS 3.1PEAR core file overwrite vulnerability
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.
- Published
- 1 Feb 2017
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-74
- Also known as
- GHSA-xxv8-pv43-57x5
- Sources
- NVDJSONOSV GHSA-xxv8-pv43-57x5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | php | pearcpe:2.3:a:php:pear:1.10.1:*:*:*:*:*:*:* |
= 1.10.1 | |
| OSV | Packagist | pear/pear | <= 1.10.1 |
References
- http://pear.php.net/bugs/bug.php?id=21171 · Vendor Advisory, WEB
- http://www.securityfocus.com/bid/95882 · Third Party Advisory, VDB Entry
- https://www.exploit-db.com/exploits/41185/ · Third Party Advisory, VDB Entry, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2017-5630 · ADVISORY
- https://github.com/pear/pear-core · PACKAGE
- https://vimeo.com/201341280 · WEB
- https://web.archive.org/web/20210123222048/https://www.securityfocus.com/bid/95882 · WEB
- http://hyp3rlinx.altervista.org/advisories/PEAR-ARBITRARY-FILE-DOWNLOAD.txt · WEB
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 1 Feb 2017)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 13 May 2022)