{"id":"DEBIAN-CVE-2024-5458","details":"In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, due to a code logic error, filtering functions such as filter_var when validating URLs (FILTER_VALIDATE_URL) for certain types of URLs the function will result in invalid user information (username + password part of URLs) being treated as valid user information. This may lead to the downstream code accepting invalid URLs as valid and parsing them incorrectly.","modified":"2026-09-15T09:03:16.373609050Z","published":"2024-06-09T19:15:52.397Z","upstream":["CVE-2024-5458"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2024-5458"}],"affected":[{"package":{"name":"php8.2","ecosystem":"Debian:12","purl":"pkg:deb/debian/php8.2?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.2.20-1~deb12u1"}]}],"versions":["8.2.10-1","8.2.10-2","8.2.12-1","8.2.16-1","8.2.16-2","8.2.17-1","8.2.18-1","8.2.18-1~deb12u1","8.2.5-2","8.2.7-1","8.2.7-1.1","8.2.7-1.2","8.2.7-1~deb12u1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-5458.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:L/A:N"}]}