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.
What to do
Likely to be exploited: EPSS gives a 13% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Packagist, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | php-pear | Fix pending | UBUNTU-CVE-2017-5630 | |
| Ubuntu 26.04 | php-pear | Under investigation | UBUNTU-CVE-2017-5630 | |
| Ubuntu 25.10 | php-pear | Will not fix PEAR issues should go against php-pear as of xenial PEAR/PECL appears to have no authenticity checks of any sort. As far as I can tell any malicious MITM can… | UBUNTU-CVE-2017-5630 | |
| Ubuntu 24.04 | php-pear | Under investigation | UBUNTU-CVE-2017-5630 | |
| Ubuntu 22.04 | php-pear | Under investigation | UBUNTU-CVE-2017-5630 | |
| Ubuntu 20.04 | php-pear | Will not fix PEAR issues should go against php-pear as of xenial PEAR/PECL appears to have no authenticity checks of any sort. As far as I can tell any malicious MITM can… | UBUNTU-CVE-2017-5630 | |
| Ubuntu 18.04 | php-pear | Will not fix PEAR issues should go against php-pear as of xenial PEAR/PECL appears to have no authenticity checks of any sort. As far as I can tell any malicious MITM can… | UBUNTU-CVE-2017-5630 | |
| Ubuntu 16.04 | php-pear | Will not fix PEAR issues should go against php-pear as of xenial PEAR/PECL appears to have no authenticity checks of any sort. As far as I can tell any malicious MITM can… | UBUNTU-CVE-2017-5630 | |
| Ubuntu 16.04 | php7.0 | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | php5 | Fix pending | UBUNTU-CVE-2017-5630 | |
| Debian 14 | php-pear | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2017-5630 | |
| Debian 13 | php-pear | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2017-5630 | |
| Debian 12 | php-pear | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2017-5630 | |
| Red Hat Enterprise Linux 7 | php-pear | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | php-pear | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 5 | php-pear | Will not fix Will not fix | ||
| Packagist library | pear/pear | Fix pending | GHSA-xxv8-pv43-57x5 |
References
- https://www.exploit-db.com/exploits/41185/
- http://www.securityfocus.com/bid/95882
- http://pear.php.net/bugs/bug.php?id=21171
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.