You are viewing this page in an unauthorized frame window.
This is a potential security issue, you are being redirected to
https://nvd.nist.gov
An official website of the United States government
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.
This vulnerability has been modified since it was last analyzed by the NVD. It is awaiting reanalysis which may result in further changes to the information provided.
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.
Metrics
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to nvd@nist.gov.
OR
*cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 7.3.27 up to (including) 7.3.33
*cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 7.4.15 up to (including) 7.4.33
*cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 8.0.2 up to (including) 8.0.30
*cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 8.1.0 up to (excluding) 8.1.29
*cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 8.2.0 up to (excluding) 8.2.20
*cpe:
Added
CPE Configuration
OR
*cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*
Changed
Reference Type
http://www.openwall.com/lists/oss-security/2024/06/07/1 No Types Assigned
http://www.openwall.com/lists/oss-security/2024/06/07/1 Mailing List, Third Party Advisory
Changed
Reference Type
https://github.com/php/php-src/security/advisories/GHSA-w8qr-v226-r27w No Types Assigned
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PKGTQUOA2NTZ3RXN22CSAUJPIRUYRB4B/ No Types Assigned
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PKGTQUOA2NTZ3RXN22CSAUJPIRUYRB4B/ Third Party Advisory
CVE Modified by PHP Group6/11/2024 10:15:10 PM
Action
Type
Old Value
New Value
Added
Reference
PHP Group https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PKGTQUOA2NTZ3RXN22CSAUJPIRUYRB4B/ [No types assigned]
CVE Modified by PHP Group6/10/2024 1:16:34 PM
Action
Type
Old Value
New Value
Added
Reference
PHP Group http://www.openwall.com/lists/oss-security/2024/06/07/1 [No types assigned]
New CVE Received from PHP Group6/09/2024 3:15:52 PM
Action
Type
Old Value
New Value
Added
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.
Added
CVSS V3.1
PHP Group AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Added
Reference
PHP Group https://github.com/php/php-src/security/advisories/GHSA-w8qr-v226-r27w [No types assigned]
Quick Info
CVE Dictionary Entry: CVE-2024-5458 NVD
Published Date: 06/09/2024 NVD
Last Modified: 11/21/2024
Source: PHP Group