Summary
It was discovered that PHP could early return in the filter_var function
resulting in invalid user information being treated as valid user
information. An attacker could possibly use this issue to expose raw
user input information.
Fixed packages 3
| Release | Package | Fixed in |
|---|---|---|
| Ubuntu · 20.04 LTS 20.04:LTS | php7.4 | 7.4.3-4ubuntu2.23 |
| Ubuntu · 22.04 LTS 22.04:LTS | php8.1 | 8.1.2-1ubuntu2.18 |
| Ubuntu · 24.04 LTS 24.04:LTS | php8.3 | 8.3.6-0ubuntu0.24.04.1 |
Vulnerabilities 1
-
Medium 5.3CVE-2024-5458 EPSS 12%
Filter bypass in filter_var (FILTER_VALIDATE_URL)
In PHP versions 8.1.* before 8.1.29, 8.2.* before 8.2.20, 8.3.* before 8.3.8, due to a code logic error, filtering functions such as filter_var when validating URLs (FILTER_VALIDATE_URL) for certain types of URLs the function will result in invalid user infor…
References
-
report
https://ubuntu.com/security/CVE-2024-5458