In PHP versions 7.3.x below 7.3.29, 7.4.x below 7.4.21 and 8.0.x below 8.0.8, when using URL validation functionality via filter_var() function with FILTER_VALIDATE_URL parameter, an URL with invalid password field can be accepted as valid. This can lead to the code incorrectly parsing the URL and potentially leading to other security implications - like contacting a wrong server or making a wrong access decision.
References
Link Resource
https://bugs.php.net/bug.php?id=81122 Exploit Issue Tracking Patch Vendor Advisory
https://security.gentoo.org/glsa/202209-20 Third Party Advisory
https://security.netapp.com/advisory/ntap-20211029-0006/ Third Party Advisory
https://www.oracle.com/security-alerts/cpujan2022.html Patch Vendor Advisory
History

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: php

Published: 2021-06-28T00:00:00

Updated: 2022-09-29T16:06:48

Reserved: 2021-01-04T00:00:00


Link: CVE-2021-21705

JSON object: View

cve-icon NVD Information

Status : Analyzed

Published: 2021-10-04T04:15:08.210

Modified: 2022-10-29T02:50:01.007


Link: CVE-2021-21705

JSON object: View

cve-icon Redhat Information

No data.

CWE