{"id":"GHSA-xxv8-pv43-57x5","summary":"PEAR core file overwrite vulnerability","details":"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.","aliases":["CVE-2017-5630"],"modified":"2023-11-08T03:59:22.059808Z","published":"2022-05-13T01:28:45Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2023-07-07T20:58:05Z","nvd_published_at":"2017-02-01T23:59:00Z","cwe_ids":["CWE-74"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5630"},{"type":"PACKAGE","url":"https://github.com/pear/pear-core"},{"type":"WEB","url":"https://vimeo.com/201341280"},{"type":"WEB","url":"https://web.archive.org/web/20210123222048/https://www.securityfocus.com/bid/95882"},{"type":"WEB","url":"https://www.exploit-db.com/exploits/41185"},{"type":"WEB","url":"http://hyp3rlinx.altervista.org/advisories/PEAR-ARBITRARY-FILE-DOWNLOAD.txt"},{"type":"WEB","url":"http://pear.php.net/bugs/bug.php?id=21171"}],"affected":[{"package":{"name":"pear/pear","ecosystem":"Packagist","purl":"pkg:composer/pear/pear"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.10.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-xxv8-pv43-57x5/GHSA-xxv8-pv43-57x5.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}