Your submission was sent successfully! Close

You have successfully unsubscribed! Close

CVE-2023-3823

Published: 11 August 2023

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 as ImageMagick - 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.

Notes

AuthorNote
sbeattie
PEAR issues should go against php-pear as of xenial

Priority

Medium

Cvss 3 Severity Score

7.5

Score breakdown

Status

Package Release Status
php5
Launchpad, Ubuntu, Debian
trusty Not vulnerable

xenial Does not exist

bionic Does not exist

focal Does not exist

jammy Does not exist

lunar Does not exist

upstream Not vulnerable

php7.0
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Not vulnerable

bionic Does not exist

focal Does not exist

jammy Does not exist

lunar Does not exist

upstream Not vulnerable

php7.2
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

bionic Not vulnerable

focal Does not exist

jammy Does not exist

lunar Does not exist

upstream Not vulnerable

php7.4
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

bionic Does not exist

focal Not vulnerable

jammy Does not exist

lunar Does not exist

upstream Not vulnerable

php8.1
Launchpad, Ubuntu, Debian
trusty Does not exist

xenial Does not exist

bionic Does not exist

focal Does not exist

jammy
Released (8.1.2-1ubuntu2.14)
lunar
Released (8.1.12-1ubuntu4.3)
upstream Needs triage

php8.2
Launchpad, Ubuntu, Debian
trusty Ignored
(end of standard support)
xenial Ignored
(end of standard support)
bionic Ignored
(end of standard support)
focal Does not exist

jammy Does not exist

lunar Does not exist

upstream
Released (8.2.10-1)

Severity score breakdown

Parameter Value
Base score 7.5
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact None
Availability impact None
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N