Vulnerabilities · 2021 · Php
CVE-2021-21705
Php vulnerability
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.
Affected products
Php, Clustered Data Ontap, Sd-wan Aware. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugs.php.net/bug.php?id=81122 · Exploit
- www.oracle.com/security-alerts/cpujan2022.html · Patch
- security.gentoo.org/glsa/202209-20 · Third Party Advisory
- security.netapp.com/advisory/ntap-20211029-0006/ · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-21705
- cve.org/CVERecord?id=CVE-2021-21705
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.