CVE-2024-5458

In PHP versions8.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 information (username + password part of URLs) being treated as valid user information. This may lead to the downstream code accepting invalid URLs as valid and parsing them incorrectly.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
5.3 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
phpCNA
5.3 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CISA-ADPADP
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 48%
VendorProductVersion
phpphp
7.3.33 ≤
𝑥
≤ 7.3.33
phpphp
7.4.33 ≤
𝑥
≤ 7.4.33
phpphp
8.0.30 ≤
𝑥
≤ 8.0.30
phpphp
8.1.29 <
𝑥
< 8.1.29
phpphp
8.2.20 <
𝑥
< 8.2.20
phpphp
8.3.8 <
𝑥
< 8.3.8
phpphp
7.3.27 ≤
𝑥
≤ 7.3.33
phpphp
7.4.15 ≤
𝑥
≤ 7.4.33
phpphp
8.0.2 ≤
𝑥
≤ 8.0.30
phpphp
8.1.0 ≤
𝑥
< 8.1.29
phpphp
8.2.0 ≤
𝑥
< 8.2.20
phpphp
8.3.0 ≤
𝑥
< 8.3.8
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
php7.4
bullseye
vulnerable
bullseye (security)
7.4.33-1+deb11u8
fixed
php8.2
bookworm
8.2.28-1~deb12u1
fixed
bookworm (security)
8.2.28-1~deb12u1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
php5
plucky
dne
oracular
dne
noble
dne
mantic
dne
jammy
dne
focal
dne
trusty
needs-triage
php7.0
plucky
dne
oracular
dne
noble
dne
mantic
dne
jammy
dne
focal
dne
xenial
Fixed 7.0.33-0ubuntu0.16.04.16+esm11
released
php7.2
plucky
dne
oracular
dne
noble
dne
mantic
dne
jammy
dne
focal
dne
bionic
Fixed 7.2.24-0ubuntu0.18.04.17+esm5
released
php7.4
plucky
dne
oracular
dne
noble
dne
mantic
dne
jammy
dne
focal
Fixed 7.4.3-4ubuntu2.23
released
php8.1
plucky
dne
oracular
dne
noble
dne
mantic
dne
jammy
Fixed 8.1.2-1ubuntu2.18
released
focal
dne
php8.2
plucky
dne
oracular
dne
noble
dne
mantic
Fixed 8.2.10-2ubuntu2.2
released
jammy
dne
focal
dne
php8.3
plucky
dne
oracular
Fixed 8.3.9-1
released
noble
Fixed 8.3.6-0ubuntu0.24.04.1
released
mantic
dne
jammy
dne
focal
dne