PT-2024-4357 · Php+10 · Php+10

C01L

·

Published

2022-10-21

·

Updated

2025-11-17

·

CVE-2024-5458

CVSS v3.1

5.3

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions PHP versions 8.1.* through 8.1.28 PHP versions 8.2.* through 8.2.19 PHP versions 8.3.* through 8.3.7
Description A code logic error in PHP's filtering functions, such as filter var, when validating URLs with FILTER VALIDATE URL, can result in invalid user information (username + password part of URLs) being treated as valid user information. This may lead to downstream code accepting invalid URLs as valid and parsing them incorrectly.
Recommendations For PHP versions 8.1.* through 8.1.28, update to version 8.1.29 or later. For PHP versions 8.2.* through 8.2.19, update to version 8.2.20 or later. For PHP versions 8.3.* through 8.3.7, update to version 8.3.8 or later.

Exploit

Fix

Insufficient Verification of Data Authenticity

Weakness Enumeration

Related Identifiers

ALSA-2024:10949
ALSA-2024:10950
ALSA-2024:10951
ALSA-2024:10952
ALT-PU-2024-13731
ALT-PU-2024-16480
ALT-PU-2024-8853
ALT-PU-2024-8859
ALT-PU-2024-8861
ALT-PU-2024-9191
ALT-PU-2024-9193
AZL-42430
AZL-42438
BDU:2024-04846
BIT-LIBPHP-2024-5458
BIT-PHP-2024-5458
BIT-PHP-MIN-2024-5458
CESA-2024_10951
CESA-2024_10952
CVE-2024-5458
DLA-3833-1
DLA-3920-1
DSA-5717-1
GHSA-W8QR-V226-R27W
INFSA-2024_10949
INFSA-2024_10950
INFSA-2024_10951
INFSA-2024_10952
INFSA-2025_7315
MGASA-2024-0262
OESA-2024-1734
OPENSUSE-SU-2024:14033-1
OPENSUSE-SU-2024_2038-1
OPENSUSE-SU-2024_2039-1
RHSA-2024:10949
RHSA-2024:10950
RHSA-2024:10951
RHSA-2024:10952
RHSA-2024_10949
RHSA-2024_10950
RHSA-2024_10951
RHSA-2024_10952
RHSA-2025:7315
RHSA-2025_7315
RLSA-2024:10949
RLSA-2024:10950
RLSA-2024:10951
RLSA-2024:10952
SUSE-SU-2024:2027-1
SUSE-SU-2024:2037-1
SUSE-SU-2024:2038-1
SUSE-SU-2024:2039-1
SUSE-SU-2024_2027-1
SUSE-SU-2024_2038-1
SUSE-SU-2024_2039-1
USN-6841-1
USN-6841-2

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Linuxmint
Php
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu