Ubuntu CVE Tracker
UBUNTU-CVE-2021-21705
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | php5 | All versions before 5.5.9+dfsg-1ubuntu4.29+esm14 (fixed in 5.5.9+dfsg-1ubuntu4.29+esm14) |
| Ubuntu:Pro:16.04:LTS | php7.0 | All versions before 7.0.33-0ubuntu0.16.04.16+esm1 (fixed in 7.0.33-0ubuntu0.16.04.16+esm1) |
| Ubuntu:18.04:LTS | php7.2 | All versions before 7.2.24-0ubuntu0.18.04.8 (fixed in 7.2.24-0ubuntu0.18.04.8) |
| Ubuntu:20.04:LTS | php7.4 | All versions before 7.4.3-4ubuntu2.5 (fixed in 7.4.3-4ubuntu2.5) |