CVE-2020-7071

MEDIUM5.3EPSS 7.0%

FILTER_VALIDATE_URL accepts URLs with invalid userinfo

發布日:2021/2/15修改日:2026/4/28
也稱為:DEBIAN-CVE-2020-7071

描述

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.

受影響套件(4)

CVSS 分數

來源版本嚴重程度向量
osvCVSS 3.1MEDIUM5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

參考連結(9)