CVE-2021-21705
mediumpriority · track · 22EPSS 0.021 · 82 %ileDEEURUUSEPSS · scored 2026-10-27
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedfesto_psirt
FactoryViews (non-Lite): Upgrade to FactoryViews 1.6.0. See the upgrade guide for information on how to upgrade. FactoryViews Lite: Upgrade to FactoryViews 1.7.0. See the upgrade guide for information on how to upgrade.
- FixedMES PCfesto_psirt
Festo Didactic has released Factory Control Panel as a replacement for XAMPP on its MES PCs. Contact technical support at services.didactic@festo.com to obtain the current version of Factory Control Panel which includes fixes for these vulnerabilities.
- FixedMES PCcisa_csaf_ot
Festo Didactic has released Factory Control Panel as a replacement for XAMPP on its MES PCs. Contact technical support at services.didactic@festo.com to obtain the current version of Factory Control Panel which includes fixes for these vulnerabilities.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (59)
Products and version ranges known to be affected.
advisories (8)
Vendor and ecosystem advisories describing this.
- FSA-202302Festo: Several vulnerabilities in FactoryViews2023-07-10csaf · festo_psirtDE
FactoryViews bundles many third-party applications which are used in background processes to provide the software's features. From time to time, vulnerabilities in these bundled applications are discovered. These are typically fixed in newer versions of FactoryViews by updating the bundled applications. FactoryViews versions up to and including 1.5.2 contain around 200 such vulnerabilities listed in this advisory.Version 1.6.0 is a security rollup release which includes updates to all bundled applications and fixes these vulnerabilities. At this time, FactoryViews Lite cannot be updated beyond version 1.1. FactoryViews 1.7 unifies the non-Lite and Lite versions and fixes these vulnerabilities for users of FactoryViews Lite.
- FSA-202402Several Vulnerabilities in MES PC (Windows 10)2024-02-27csaf · festo_psirtDE
MES PCs shipped with Windows 10 come pre-installed with XAMPP. XAMPP is a bundle of third-party open-source applications including the Apache HTTP Server, the MariaDB database and more. From time to time, vulnerabilities in these applications are discovered. These are fixed in newer versions of XAMPP by updating the bundled applications. MES PCs shipped with Windows 10 include a copy of XAMPP which contains around 140 such vulnerabilities listed in this advisory. They can be fixed by replacing XAMPP with Festo Didactic's Factory Control Panel application.
- WID-SEC-W-2022-1577PHP: Mehrere SchwachstellenDeutsch2021-06-30csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in PHP ausnutzen, um Sicherheitsvorkehrungen zu umgehen und um einen Denial of Service Zustand herbeizuführen.
- WID-SEC-W-2023-1737Juniper Patchday Juli 2023Deutsch2023-07-12csaf · cert_bundDE
Ein Angreifer aus dem angrenzenden Netzwerk oder ein entfernter anonymer oder lokaler Angreifer kann mehrere Schwachstellen in verschiedenen Juniper Produkten ausnutzen, um beliebigen Code auszuführen, Sicherheitsmaßnahmen zu umgehen, vertrauliche Informationen offenzulegen, einen Denial-of-Service-Zustand auszulösen und seine Privilegien zu erweitern.
- ICSA-26-027-02Festo Didactic SE MES PC2024-02-27icsa · cisa_csaf_otUS
MES PCs shipped with Windows 10 come pre-installed with XAMPP. XAMPP is a bundle of third-party open-source applications including the Apache HTTP Server, the MariaDB database and more. From time to time, vulnerabilities in these applications are discovered. These are fixed in newer versions of XAMPP by updating the bundled applications. MES PCs shipped with Windows 10 include a copy of XAMPP which contains around 140 such vulnerabilities listed in this advisory. They can be fixed by replacing XAMPP with Festo Didactic's Factory Control Panel application.
- BIT-libphp-2021-21705Incorrect URL validation in FILTER_VALIDATE_URL2025-08-11vendor · osvUS
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.
- BIT-php-2021-21705Incorrect URL validation in FILTER_VALIDATE_URL2024-03-06vendor · osvUS
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.
- BIT-php-min-2021-21705Incorrect URL validation in FILTER_VALIDATE_URL2025-01-14vendor · osvUS
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.
also known as (7)
Other names and identifiers for this entity.
- CNNVD-202107-026cnnvd
- EUVD-2021-8877enisa_euvd
- BDU:2021-03703fstec_bdu
- GHSA-rxcr-7xjm-f9c9enisa_euvd
- BIT-libphp-2021-21705osv
- BIT-php-2021-21705osv
- BIT-php-min-2021-21705osv
sources
Which sources assert this record, and when.
references (33)
External citations — patches, advisories, analysis.
- https://bugs.php.net/bug.php?id=81122cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-21705cnnvd
- https://packetstormsecurity.com/files/163432/Ubuntu-Security-Notice-USN-5006-1.htmlcnnvd
- https://packetstormsecurity.com/files/163491/Ubuntu-Security-Notice-USN-5006-2.htmlcnnvd
- https://packetstormsecurity.com/files/163727/Red-Hat-Security-Advisory-2021-2992-01.htmlcnnvd
- https://packetstormsecurity.com/files/167076/Red-Hat-Security-Advisory-2022-1935-01.htmlcnnvd
- https://packetstormsecurity.com/files/168579/Gentoo-Linux-Security-Advisory-202209-20.htmlcnnvd
- https://security.gentoo.org/glsa/202209-20cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan