VULNERABILITY INTELLIGENCE
CVE-2020-7071
CVSS score5.3 MEDIUM
EPSS probability2.90%
CISA KEVNot currently listed
Published2021-02-15
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
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.
Weakness classification
- CWE-20: Improper Input Validation
Primary references
- security@php.net — Exploit, Issue Tracking, Vendor Advisory
- security@php.net — Mailing List, Third Party Advisory
- security@php.net — Third Party Advisory
- security@php.net — Vendor Advisory
- security@php.net — Third Party Advisory
- security@php.net — Patch, Third Party Advisory
- security@php.net — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Issue Tracking, Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Mailing List, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory