CVSS 3.1
5.3 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NMedium (5.3). EPSS 12% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NExplain CVE-2024-5458 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-5458?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-5458?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-5458 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| PHP Group PHP | from 8.1.* before 8.1.29 |
| PHP Group PHP | from 8.2.* before 8.2.20 |
| PHP Group PHP | from 8.3.* before 8.3.8 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | php7.3 | 7.3.31-1~deb10u7 | DLA-3833-1 |
| Debian | 11 | php7.4 | 7.4.33-1+deb11u6 | DLA-3920-1 |
| Debian | 12 | php8.2 | 8.2.20-1~deb12u1 | DEBIAN-CVE-2024-5458 DSA-5717-1 |
| Ubuntu | 20.04:LTS | php7.4 | 7.4.3-4ubuntu2.23 | UBUNTU-CVE-2024-5458 USN-6841-1 |
| Ubuntu | 22.04:LTS | php8.1 | 8.1.2-1ubuntu2.18 | UBUNTU-CVE-2024-5458 USN-6841-1 |
| Ubuntu | 24.04:LTS | php8.3 | 8.3.6-0ubuntu0.24.04.1 | UBUNTU-CVE-2024-5458 USN-6841-1 |
| Ubuntu | Pro:14.04:LTS | php5 | no fix listed | UBUNTU-CVE-2024-5458 |
| Ubuntu | Pro:16.04:LTS | php7.0 | 7.0.33-0ubuntu0.16.04.16+esm11 | UBUNTU-CVE-2024-5458 USN-6841-2 |
| Ubuntu | Pro:18.04:LTS | php7.2 | 7.2.24-0ubuntu0.18.04.17+esm5 | UBUNTU-CVE-2024-5458 USN-6841-2 |
| Red Hat | enterprise_linux:8::appstream | apcu-panel, php-pecl-apcu, php-pecl-apcu-devel and 2 more | 0:5.1.18-1.module+el8.10.0+22485+a3539972 | RHSA-2024:10952 |
| Red Hat | enterprise_linux:8::appstream | apcu-panel, php-pecl-apcu, php-pecl-apcu-devel and 2 more | 0:5.1.23-1.module+el8.10.0+20770+a5eca186 | RHSA-2024:10951 |
| Red Hat | enterprise_linux:8::appstream | libzip, libzip-devel, libzip-tools and 3 more | 0:1.6.1-1.module+el8.10.0+22485+a3539972 | RHSA-2024:10952 |
| Red Hat | enterprise_linux:8::appstream | libzip, libzip-devel, libzip-tools and 3 more | 0:1.7.3-1.module+el8.10.0+20770+a5eca186 | RHSA-2024:10951 |
| Red Hat | enterprise_linux:8::appstream | php, php-gd, php-cli and 51 more | 0:7.4.33-2.module+el8.10.0+22485+a3539972 | RHSA-2024:10952 |
| Red Hat | enterprise_linux:8::appstream | php, php-gd, php-cli and 47 more | 0:8.2.25-1.module+el8.10.0+22478+9eb07224 | RHSA-2024:10951 |
| Red Hat | enterprise_linux:8::appstream | php-pear | 1:1.10.13-1.module+el8.10.0+22485+a3539972 | RHSA-2024:10952 |
| Red Hat | enterprise_linux:8::appstream | php-pear | 1:1.10.14-1.module+el8.10.0+20770+a5eca186 | RHSA-2024:10951 |
| Red Hat | enterprise_linux:8::appstream | php-pecl-rrd, php-pecl-rrd-debuginfo, php-pecl-rrd-debugsource | 0:2.0.1-1.module+el8.10.0+22485+a3539972 | RHSA-2024:10952 |
| Red Hat | enterprise_linux:8::appstream | php-pecl-rrd, php-pecl-rrd-debuginfo, php-pecl-rrd-debugsource | 0:2.0.3-1.module+el8.10.0+20770+a5eca186 | RHSA-2024:10951 |
| Red Hat | enterprise_linux:8::appstream | php-pecl-xdebug, php-pecl-xdebug-debuginfo, php-pecl-xdebug-debugsource | 0:2.9.5-1.module+el8.10.0+22485+a3539972 | RHSA-2024:10952 |
| Red Hat | enterprise_linux:8::appstream | php-pecl-xdebug3, php-pecl-xdebug3-debuginfo, php-pecl-xdebug3-debugsource | 0:3.2.2-2.module+el8.10.0+20798+00eaeb41 | RHSA-2024:10951 |
| 13 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 4 more | php7 | 7.4.33-150200.3.65.1 | SUSE-SU-2024:2037-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Module for Legacy 15 SP5 and 3 more | php7, php7-fpm, php7-fastcgi and 1 more | 7.4.33-150400.4.37.1 | SUSE-SU-2024:2038-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Module for Web and Scripting 15 SP5 and 3 more | php8, php8-fpm, php8-test and 3 more | 8.0.30-150400.4.43.1 | SUSE-SU-2024:2039-1 |
| SUSE | Linux Enterprise Module for Package Hub 15 SP5, Linux Enterprise Module for Package Hub 15 SP6 | php7-embed | 7.4.33-150400.4.37.1 | SUSE-SU-2024:2038-1 |
| SUSE | Linux Enterprise Module for Web and Scripting 12, Linux Enterprise Software Development Kit 12 SP5 | php74 | 7.4.33-1.68.2 | SUSE-SU-2024:2027-1 |
| openSUSE | Leap 15.5 | php8, php8-fpm, php8-test and 3 more | 8.0.30-150400.4.43.1 | SUSE-SU-2024:2039-1 |
| openSUSE | Leap 15.5, Leap 15.6 | php7, php7-fpm, php7-test and 3 more | 7.4.33-150400.4.37.1 | SUSE-SU-2024:2038-1 |
| openSUSE | Tumbleweed | php8 | 8.3.8-1.1 | openSUSE-SU-2024:14033-1 |
| AlmaLinux | 8 | apcu-panel, php-pecl-apcu, php-pecl-apcu-devel | 5.1.18-1.module_el8.6.0+2750+78feabcb | ALSA-2024:10952 |
| AlmaLinux | 8 | apcu-panel, php-pecl-apcu, php-pecl-apcu-devel | 5.1.23-1.module_el8.10.0+3796+30ed3ef7 | ALSA-2024:10951 |
| AlmaLinux | 8 | libzip, libzip-devel | 1.7.3-1.module_el8.6.0+3061+6878dd1b | ALSA-2024:10951 |
| AlmaLinux | 8 | libzip, libzip-devel, libzip-tools | 1.6.1-1.module_el8.10.0+3935+28808425 | ALSA-2024:10952 |
| AlmaLinux | 8 | libzip, libzip-devel, libzip-tools | 1.6.1-1.module_el8.6.0+3239+bedf0508 | ALSA-2024:10952 |
| AlmaLinux | 8 | libzip, libzip-devel, libzip-tools | 1.7.3-1.module_el8.10.0+3796+30ed3ef7 | ALSA-2024:10951 |
| AlmaLinux | 8 | libzip, libzip-tools | 1.6.1-1.module_el8.6.0+2750+78feabcb | ALSA-2024:10952 |
| AlmaLinux | 8 | libzip, libzip-tools | 1.7.3-1.module_el8.6.0+2739+efabdb8f | ALSA-2024:10951 |
| AlmaLinux | 8 | php, php-gd, php-cli and 24 more | 7.4.33-2.module_el8.10.0+3935+28808425 | ALSA-2024:10952 |
| AlmaLinux | 8 | php, php-gd, php-cli and 22 more | 8.2.25-1.module_el8.10.0+3936+14b35499 | ALSA-2024:10951 |
| AlmaLinux | 8 | php-pear | 1:1.10.13-1.module_el8.10.0+3935+28808425 | ALSA-2024:10952 |
| AlmaLinux | 8 | php-pear | 1:1.10.14-1.module_el8.10.0+3796+30ed3ef7 | ALSA-2024:10951 |
| 24 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | libzip | 0:1.6.1-1.module+el8.10.0+1604+6558efc7 | RLSA-2024:10952 |
| Rocky Linux | 8 | libzip | 0:1.7.3-1.module+el8.10.0+1596+477f03f8 | RLSA-2024:10951 |
| Rocky Linux | 8 | php | 0:7.4.33-2.module+el8.10.0+1912+72767185 | RLSA-2024:10952 |
| Rocky Linux | 8 | php | 0:8.2.25-1.module+el8.10.0+1911+f499711e | RLSA-2024:10951 |
| Rocky Linux | 8 | php-pear | 1:1.10.13-1.module+el8.10.0+1604+6558efc7 | RLSA-2024:10952 |
| Rocky Linux | 8 | php-pear | 1:1.10.14-1.module+el8.10.0+1596+477f03f8 | RLSA-2024:10951 |
| Rocky Linux | 8 | php-pecl-apcu | 0:5.1.18-1.module+el8.10.0+1604+6558efc7 | RLSA-2024:10952 |
| Rocky Linux | 8 | php-pecl-apcu | 0:5.1.23-1.module+el8.10.0+1596+477f03f8 | RLSA-2024:10951 |
| Rocky Linux | 8 | php-pecl-rrd | 0:2.0.1-1.module+el8.10.0+1604+6558efc7 | RLSA-2024:10952 |
| Rocky Linux | 8 | php-pecl-rrd | 0:2.0.3-1.module+el8.10.0+1596+477f03f8 | RLSA-2024:10951 |
| Rocky Linux | 8 | php-pecl-xdebug | 0:2.9.5-1.module+el8.10.0+1604+6558efc7 | RLSA-2024:10952 |
| Rocky Linux | 8 | php-pecl-xdebug3 | 0:3.2.2-2.module+el8.10.0+1596+477f03f8 | RLSA-2024:10951 |
| 13 more for Rocky Linux in the JSON. | ||||
| Alpine | v3.19 | php81 | 8.1.29-r0 | ALPINE-CVE-2024-5458 |
| Alpine | v3.19 | php82 | 8.2.20-r0 | ALPINE-CVE-2024-5458 |
| Alpine | v3.19 | php83 | 8.3.8-r0 | ALPINE-CVE-2024-5458 |
| Azure Linux | 2 | php | 8.1.29-1 | AZL-42430 |
| Azure Linux | 3 | php | 8.3.8-1 | AZL-42438 |
| Alpaquita | 23 | php81 | 8.1.30-r1 | BELL-CVE-2024-5458 |
| Alpaquita | stream | php83 | 8.3.8-r0 | BELL-CVE-2024-5458 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.
Red Hat rates this Moderate.
This flaw in PHP's filter_var function with FILTER_VALIDATE_URL constitutes a moderate severity issue because, while it allows URLs with invalid user information to be treated as valid, it does not directly facilitate immediate security breaches or exploits on its own. The impact is limited to cases where applications rely solely on this function for URL validation without additional checks, potentially leading to improper handling of user credentials. However, the flaw does not compromise the overall integrity of the PHP interpreter, nor does it inherently lead to data corruption or system crashes. Its exploitation requires specific conditions and contexts, making it less critical than high-severity vulnerabilities that enable direct remote code execution or privilege escalation.
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | php:8.2-8100020241112130045.f7998665 | Fixed 2024-12-11 | RHSA-2024:10951 |
| Red Hat Enterprise Linux 8 | php:7.4-8100020241113075828.f7998665 | Fixed 2024-12-11 | RHSA-2024:10952 |
| Red Hat Enterprise Linux 9 | php:8.2-9050020241112094217.9 | Fixed 2024-12-11 | RHSA-2024:10949 |
| Red Hat Enterprise Linux 9 | php:8.1-9050020241112144108.9 | Fixed 2024-12-11 | RHSA-2024:10950 |
| Red Hat Enterprise Linux 9 | php-0:8.0.30-2.el9 | Fixed 2025-05-13 | RHSA-2025:7315 |
| Red Hat Enterprise Linux 10 | php | Not affected | |
| Red Hat Enterprise Linux 6 | php | Out of support scope | |
| Red Hat Enterprise Linux 7 | php | Out of support scope | |
| Red Hat Enterprise Linux 8 | php:8.0/php | Will not fix |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-5458.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-345 (12).