CVE-2020-7071: FILTER_VALIDATE_URL accepts URLs with invalid userinfo
Vulnerability summary
CVE-2020-7071 is a medium (CVSS 5.3) Improper Input Validation vulnerability in debian debian_linux. EPSS estimates a 2.90% chance of exploitation in the next 30 days, higher than 86.9% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 9 · Related 5Timeline
- 15-02-2021PublishedVulnerability first disclosed.
- 16-09-2024Last modifiedVulnerability information updated.
Description
In PHP versions 7.3.x below 7.3.26, 7.4.x below 7.4.14 and 8.0.0, when validating URL with functions like filter_var($url, FILTER_VALIDATE_URL), PHP will accept an URL with invalid password as valid URL. This may lead to functions that rely on URL being valid to mis-parse the URL and produce wrong data as components of the URL.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- NVDNIST5.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.90%
Chance of exploitation in the next 30 days
Percentile
87%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.90% 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, no user interaction (CVSS vector). Other conditions: not stated in public data.
Suse6 products
- php72&distro=SUSE Linux Enterprise Module for Web and Scripting 12< 7.2.5-1.57.1
- php72&distro=SUSE Linux Enterprise Software Development Kit 12 SP5< 7.2.5-1.57.1
- php74&distro=SUSE Linux Enterprise Module for Web and Scripting 12< 7.4.6-1.16.1
- php74&distro=SUSE Linux Enterprise Software Development Kit 12 SP5< 7.4.6-1.16.1
- php7&distro=SUSE Linux Enterprise Module for Package Hub 15 SP2< 7.4.6-3.14.2
Opensuse4 products
- php7-test&distro=openSUSE Leap 15.1< 7.2.5-lp151.6.39.1
- php7-test&distro=openSUSE Leap 15.2< 7.4.6-lp152.2.12.1
- php7&distro=openSUSE Leap 15.1< 7.2.5-lp151.6.39.1
- php7&distro=openSUSE Leap 15.2< 7.4.6-lp152.2.12.1
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
Debian2 products
- php7.4< 7.4.14-1
- debian_linuxEOL9.0 | 10.0
Alpine1 product
- php7< 7.3.26-r0 | < 7.4.14-r0
Mageia1 product
- php< 7.3.26-1.mga7
Netapp1 product
Php1 product
- php≥ 7.3.0, < 7.3.26 | ≥ 7.4.0, < 7.4.14 | ≥ 8.0.0, < 8.0.1
Php group1 product
- php≥ 7.3.x, < 7.3.26 | ≥ 7.4.x, < 7.4.14 | ≥ 8.0.X, < 8.0.1
9 vendors · 21 products
References
24 links- lists.debian.org/debian-lts-announce/2021/07/msg00008.htmlMailing ListX Refsource MLISTThird Party Advisory
Show all 24 references
- lists.opensuse.org/archives/…Advisory
- lists.opensuse.org/archives/…Advisory