{"id":"CVE-2020-7071","published":"2021-02-15T04:10:16Z","modified":"2024-09-16T17:28:54Z","title":"FILTER_VALIDATE_URL accepts URLs with invalid userinfo","vendor":"PHP","product":"PHP","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02937,"percentile":0.87221,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://bugs.php.net/bug.php?id=77423","tags":["x_refsource_MISC"]},{"url":"https://www.debian.org/security/2021/dsa-4856","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://security.gentoo.org/glsa/202105-23","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/07/msg00008.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":["x_refsource_MISC"]},{"url":"https://www.tenable.com/security/tns-2021-14","tags":["x_refsource_CONFIRM"]},{"url":"https://security.netapp.com/advisory/ntap-20210312-0005/","tags":["x_refsource_CONFIRM"]}],"priority":{"score":21.2,"factors":[{"name":"EPSS percentile","points":17.44},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"php","affectedVersions":[{"vendor":"PHP Group","product":"PHP","versions":[">= 7.3.x, < 7.3.26",">= 7.4.x, < 7.4.14",">= 8.0.X, < 8.0.1"]}],"euvd":{"id":"EUVD-2020-28205","exploited":false,"provenance":"source"}}