🛡️ CVE-2024-5458 on Debian — php7.4
Description
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.
Distribution advisory
This page covers CVE-2024-5458 as tracked by Debian, for the package php7.4. The fix is available in version 7.4.33-1+deb11u6; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity low, availability none.
Weakness class
DEBIAN-CVE-2024-5458 is classified as CWE-345: Insufficient Verification of Data Authenticity. Data is trusted without confirming it really came from the claimed source and was not altered.
Affected software
DEBIAN-CVE-2024-5458 is recorded against 2 packages.
- php7.4 (fixed in 7.4.33-1+deb11u6)
- php8.2 (fixed in 8.2.20-1~deb12u1)
Timeline and source
Published on 9 June 2024 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2024-5458 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| php7.4 | — | 7.4.33-1+deb11u6 |
| php8.2 | — | 8.2.20-1~deb12u1 |
References
Similar Threats
- Unknown CLSA-2026-1779123668
- Unknown CLSA-2026-1778787692
- Unknown CLSA-2025-1766599216
- Unknown CLSA-2025-1758289909
- Unknown DEBIAN-CVE-2022-31631
Vulnerability Monitoring
Track new vulnerabilities in php7.4
DEBIAN-CVE-2024-5458 is rated CVSS 5.3 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.
Set Up Free Alerts →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.