CVE-2023-3823

In PHP versions 8.0.* before 8.0.30, 8.1.* before 8.1.22, and 8.2.* before 8.2.8 various XML functions rely on libxml global state to track configuration variables, like whether external entities are loaded. This state is assumed to be unchanged unless the user explicitly changes it by calling appropriate function. However, since the state is process-global, other modules - such asImageMagick - may also use this library within the same process, and change that global state for their internal purposes, and leave it in a state where external entities loading is enabled. This can lead to the situation where external XML is parsed with external entities loaded, which can lead to disclosure of any local files accessible to PHP. This vulnerable state may persist in the same process across many requests, until the process is shut down.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
8.6 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
phpCNA
8.6 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 35%
VendorProductVersion
phpphp
8.0.0 ≤
𝑥
< 8.0.30
phpphp
8.1.0 ≤
𝑥
< 8.1.22
phpphp
8.2.0 ≤
𝑥
< 8.2.9
debiandebian_linux
10.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
php7.4
bullseye
7.4.33-1+deb11u5
fixed
bookworm
postponed
bullseye (security)
7.4.33-1+deb11u7
fixed
php8.2
bookworm
8.2.24-1~deb12u1
postponed
bookworm (security)
8.2.26-1~deb12u1
fixed
trixie
8.2.27-1
fixed
sid
8.2.27-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
php5
oracular
dne
noble
dne
mantic
dne
lunar
dne
jammy
dne
focal
dne
bionic
dne
xenial
dne
trusty
ignored
php7.0
oracular
dne
noble
dne
mantic
dne
lunar
dne
jammy
dne
focal
dne
bionic
dne
xenial
Fixed 7.0.33-0ubuntu0.16.04.16+esm10
released
trusty
dne
php7.2
oracular
dne
noble
dne
mantic
dne
lunar
dne
jammy
dne
focal
dne
bionic
Fixed 7.2.24-0ubuntu0.18.04.17+esm4
released
xenial
dne
trusty
dne
php7.4
oracular
dne
noble
dne
mantic
dne
lunar
dne
jammy
dne
focal
Fixed 7.4.3-4ubuntu2.20
released
bionic
dne
xenial
dne
trusty
dne
php8.1
oracular
dne
noble
dne
mantic
dne
lunar
Fixed 8.1.12-1ubuntu4.3
released
jammy
Fixed 8.1.2-1ubuntu2.14
released
focal
dne
bionic
dne
xenial
dne
trusty
dne
php8.2
oracular
dne
noble
dne
mantic
not-affected
lunar
dne
jammy
dne
focal
dne
bionic
ignored
xenial
ignored
trusty
ignored