5.3

CVE-2021-21705: Incorrect URL validation in FILTER_VALIDATE_URL

Modified
AliasesSUSE-SU-2021:2564-1UBUNTU-CVE-2021-21705DEBIAN-CVE-2021-21705
Published 04-10-2021Last modified 17-09-2024

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.

Priority
Routine

Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.3/10
010
Medium · v3.1 (NVD)
EPSS score
2.09%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 15 · Related 9

Timeline

  1. 04-10-2021
    PublishedVulnerability first disclosed.
  2. 17-09-2024
    Last 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

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

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (bugs.php.net)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

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
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 links
Show all 15 references