PT-2021-3598

CVE-2021-21705

·

Published

2021-07-02

·

Updated

2026-07-06

Description by

CVSS 3.1
5.3
Medium
MetricsAV: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 7.3.x through 7.3.28 PHP versions 7.4.x through 7.4.20 PHP versions 8.0.x through 8.0.7
Description The issue is related to the URL validation functionality via the filter var() function with the FILTER VALIDATE URL parameter. It can lead to incorrect parsing of URLs with invalid password fields, potentially resulting in security implications such as contacting a wrong server or making a wrong access decision. The vulnerability is also associated with insufficient request checking, which can allow a remote attacker to perform a Server-Side Request Forgery (SSRF) attack.
Recommendations For PHP versions 7.3.x through 7.3.28, update to version 7.3.29 or later. For PHP versions 7.4.x through 7.4.20, update to version 7.4.21 or later. For PHP versions 8.0.x through 8.0.7, update to version 8.0.8 or later.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
ALSA-2022:1935
ALT-PU-2021-2180
ALT-PU-2021-2192
ALT-PU-2021-2809
ALT-PU-2021-3079
BIT-LIBPHP-2021-21705
BIT-PHP-2021-21705
BIT-PHP-MIN-2021-21705
CESA-2022_1935
CLSA-2024-1733429914
CLSA-2025-1748639500
DLA-2708-1
DSA-4935-1
ECHO-E319-72A4-3C9F
MGASA-2021-0312
MGASA-2021-0330
OESA-2021-1389
OPENSUSE-SU-2021:1130-1
OPENSUSE-SU-2021_1130-1
OPENSUSE-SU-2021:2575-1
OPENSUSE-SU-2021_2575-1
OPENSUSE-SU-2021:2637-1
OPENSUSE-SU-2021_2637-1
OPENSUSE-SU-2022_4067-1
OPENSUSE-SU-2022_4069-1
RHSA-2021:2992
RHSA-2022:1935
RHSA-2022_1935
RLSA-2022:1935
SUSE-SU-2021:2564-1
SUSE-SU-2021_2564-1
SUSE-SU-2021:2636-1
SUSE-SU-2021:2637-1
SUSE-SU-2022:4067-1
SUSE-SU-2022:4068-1
SUSE-SU-2022:4069-1
USN-5006-1
USN-5006-2
Found an issue in the description? Have something to add? Feel free to write us 👾