{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2017-5630","id":"CVE-2017-5630","title":"PEAR core file overwrite vulnerability","description":"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.","descriptionLong":"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":"2017-02-01T23:00:00.000Z","updated":"2026-06-17T01:20:52.950Z","reserved":"2017-01-29T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"pear/pear","purl":"pkg:composer/pear/pear","ranges":["<=1.10.1"],"fixed":[],"advisory":"GHSA-xxv8-pv43-57x5"}],"cwes":["CWE-74"],"aliases":["GHSA-xxv8-pv43-57x5"],"references":[{"url":"https://www.exploit-db.com/exploits/41185/","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"http://www.securityfocus.com/bid/95882","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"http://pear.php.net/bugs/bug.php?id=21171","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5630","tags":["advisory"]},{"url":"https://github.com/pear/pear-core","tags":["package"]},{"url":"https://vimeo.com/201341280","tags":["web"]},{"url":"https://web.archive.org/web/20210123222048/https://www.securityfocus.com/bid/95882","tags":["web"]},{"url":"https://www.exploit-db.com/exploits/41185","tags":["web"]},{"url":"http://hyp3rlinx.altervista.org/advisories/PEAR-ARBITRARY-FILE-DOWNLOAD.txt","tags":["web"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.12513,"epssPercentile":0.96307,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2017-5630","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5630","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2017-5630","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xxv8-pv43-57x5","ok":true,"note":"GHSA-xxv8-pv43-57x5"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2017-5630","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":["EPSS 13% with CVSS 7.5"],"attention":null}