CVE-2024-5458: Fedoraproject Fedora
Medium severity, CVSS 5.3. EPSS: 12.1% chance of exploitation in the next 30 days.
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.
Affected products
- Fedoraproject Fedora: version 40 only
- PHP PHP: from 7.3.27, up to and including 7.3.33; from 7.4.15, up to and including 7.4.33; from 8.0.2, up to and including 8.0.30; from 8.1.0, before 8.1.29 (fixed in 8.1.29); from 8.2.0, before 8.2.20 (fixed in 8.2.20); from 8.3.0, before 8.3.8 (fixed in 8.3.8)
Published 2024-06-09. Last modified 2026-06-17.