CVE-2021-21705: Incorrect URL validation in FILTER_VALIDATE_URL
Vulnerability summary
CVE-2021-21705 is a medium (CVSS 5.3) Improper Input Validation vulnerability in netapp clustered_data_ontap. EPSS estimates a 2.09% chance of exploitation in the next 30 days, higher than 81.6% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 15 · Related 9Timeline
- 04-10-2021PublishedVulnerability first disclosed.
- 17-09-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
6 scores · 5 sources · 2 versions- CVE.orgCNA4.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:NDiffers
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · AlpineEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS trend
Probability
2.09%
Chance of exploitation in the next 30 days
Percentile
82%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.09% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (bugs.php.net)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu4 products
- php5< 5.5.9+dfsg-1ubuntu4.29+esm14
- php7.0< 7.0.33-0ubuntu0.16.04.16+esm1
- php7.2< 7.2.24-0ubuntu0.18.04.8
- php7.4< 7.4.3-4ubuntu2.5
Alpine2 products
- php7< 7.3.29-r0 | < 7.4.21-r0
- php8< 8.0.8-r0
Suse2 products
- php72&distro=SUSE Linux Enterprise Module for Web and Scripting 12< 7.2.5-1.63.2
- php72&distro=SUSE Linux Enterprise Software Development Kit 12 SP5< 7.2.5-1.63.2
Debian1 product
- php7.4< 7.4.21-1+deb11u1
Netapp1 product
Opensuse1 product
- php7&distro=openSUSE Leap 15.3< 7.2.5-4.76.5
Oracle1 product
- sd-wan_aware8.2
Php1 product
- php≥ 7.3.0, < 7.3.29 | ≥ 7.4.0, < 7.4.21 | ≥ 8.0.0, < 8.0.8
Php group1 product
- php≥ 7.3.x, < 7.3.29 | ≥ 7.4.x, < 7.4.21 | ≥ 8.0.X, < 8.0.8
9 vendors · 14 products
References
15 linksShow all 15 references
- lists.opensuse.org/archives/…Advisory