CVE-2023-3823
CVE-2023-3823 · Security issue with external entity loading in XML without enabling it
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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.
CVSS 8.6 · Élevée · EPSS 1,6% · Correctif disponible
- Publication
- Mise à jour
Produits et versions concernés
php
- Versions du logiciel
- ≥ 8.0.*, < 8.0.30: Concernée (semver)
- ≥ 8.1.*, < 8.1.22: Concernée (semver)
- ≥ 8.2.*, < 8.2.8: Concernée (semver)
Mettez à jour vers 8.0.30; Mettez à jour vers 8.1.22; Mettez à jour vers 8.2.8
php8.2 Debian:12
- Versions du logiciel
- 8.2.10-1
- 8.2.10-2
- 8.2.12-1
- 8.2.16-1
- 8.2.16-2
- 8.2.17-1
- 8.2.5-2
- 8.2.7-1
- 8.2.7-1.1
- 8.2.7-1.2
- 8.2.7-1~deb12u1
- Plages de versions concernées
- ECOSYSTEM: < 8.2.18-1~deb12u1
Mettez à jour vers 8.2.18-1~deb12u1
php5 Ubuntu:Pro:14.04:LTS
- Versions du logiciel
- 5.5.3+dfsg-1ubuntu2
- 5.5.3+dfsg-1ubuntu3
- 5.5.6+dfsg-1ubuntu1
- 5.5.6+dfsg-1ubuntu2
- 5.5.8+dfsg-2ubuntu1
- 5.5.9+dfsg-1ubuntu1
- 5.5.9+dfsg-1ubuntu2
- 5.5.9+dfsg-1ubuntu3
- 5.5.9+dfsg-1ubuntu4
- 5.5.9+dfsg-1ubuntu4.1
- 5.5.9+dfsg-1ubuntu4.2
- 5.5.9+dfsg-1ubuntu4.3
- 5.5.9+dfsg-1ubuntu4.4
- 5.5.9+dfsg-1ubuntu4.5
- 5.5.9+dfsg-1ubuntu4.6
- 5.5.9+dfsg-1ubuntu4.7
- 5.5.9+dfsg-1ubuntu4.9
- 5.5.9+dfsg-1ubuntu4.11
- 5.5.9+dfsg-1ubuntu4.12
- 5.5.9+dfsg-1ubuntu4.13
- 5.5.9+dfsg-1ubuntu4.14
- 5.5.9+dfsg-1ubuntu4.16
- 5.5.9+dfsg-1ubuntu4.17
- 5.5.9+dfsg-1ubuntu4.19
- 5.5.9+dfsg-1ubuntu4.20
- 5.5.9+dfsg-1ubuntu4.21
- 5.5.9+dfsg-1ubuntu4.22
- 5.5.9+dfsg-1ubuntu4.23
- 5.5.9+dfsg-1ubuntu4.24
- 5.5.9+dfsg-1ubuntu4.25
- 5.5.9+dfsg-1ubuntu4.26
- 5.5.9+dfsg-1ubuntu4.27
- 5.5.9+dfsg-1ubuntu4.29
- 5.5.9+dfsg-1ubuntu4.29+esm1
- 5.5.9+dfsg-1ubuntu4.29+esm2
- 5.5.9+dfsg-1ubuntu4.29+esm3
- 5.5.9+dfsg-1ubuntu4.29+esm4
- 5.5.9+dfsg-1ubuntu4.29+esm5
- 5.5.9+dfsg-1ubuntu4.29+esm6
- 5.5.9+dfsg-1ubuntu4.29+esm8
- 5.5.9+dfsg-1ubuntu4.29+esm10
- 5.5.9+dfsg-1ubuntu4.29+esm11
- 5.5.9+dfsg-1ubuntu4.29+esm12
- 5.5.9+dfsg-1ubuntu4.29+esm13
- 5.5.9+dfsg-1ubuntu4.29+esm14
- 5.5.9+dfsg-1ubuntu4.29+esm15
- 5.5.9+dfsg-1ubuntu4.29+esm16
- 5.5.9+dfsg-1ubuntu4.29+esm17
- 5.5.9+dfsg-1ubuntu4.29+esm18
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
php7.0 Ubuntu:Pro:16.04:LTS
- Versions du logiciel
- 7.0.1-5
- 7.0.1-6
- 7.0.2-1
- 7.0.2-3
- 7.0.2-4
- 7.0.2-5
- 7.0.3-2
- 7.0.3-3
- 7.0.3-9ubuntu1
- 7.0.4-5ubuntu1
- 7.0.4-5ubuntu2
- 7.0.4-7ubuntu1
- 7.0.4-7ubuntu2
- 7.0.4-7ubuntu2.1
- 7.0.8-0ubuntu0.16.04.1
- 7.0.8-0ubuntu0.16.04.2
- 7.0.8-0ubuntu0.16.04.3
- 7.0.13-0ubuntu0.16.04.1
- 7.0.15-0ubuntu0.16.04.1
- 7.0.15-0ubuntu0.16.04.2
- 7.0.15-0ubuntu0.16.04.4
- 7.0.18-0ubuntu0.16.04.1
- 7.0.22-0ubuntu0.16.04.1
- 7.0.25-0ubuntu0.16.04.1
- 7.0.28-0ubuntu0.16.04.1
- 7.0.30-0ubuntu0.16.04.1
- 7.0.32-0ubuntu0.16.04.1
- 7.0.33-0ubuntu0.16.04.1
- 7.0.33-0ubuntu0.16.04.2
- 7.0.33-0ubuntu0.16.04.3
- 7.0.33-0ubuntu0.16.04.4
- 7.0.33-0ubuntu0.16.04.5
- 7.0.33-0ubuntu0.16.04.6
- 7.0.33-0ubuntu0.16.04.7
- 7.0.33-0ubuntu0.16.04.9
- 7.0.33-0ubuntu0.16.04.11
- 7.0.33-0ubuntu0.16.04.12
- 7.0.33-0ubuntu0.16.04.14
- 7.0.33-0ubuntu0.16.04.15
- 7.0.33-0ubuntu0.16.04.16
- 7.0.33-0ubuntu0.16.04.16+esm1
- 7.0.33-0ubuntu0.16.04.16+esm2
- 7.0.33-0ubuntu0.16.04.16+esm3
- 7.0.33-0ubuntu0.16.04.16+esm4
- 7.0.33-0ubuntu0.16.04.16+esm5
- 7.0.33-0ubuntu0.16.04.16+esm6
- 7.0.33-0ubuntu0.16.04.16+esm7
- 7.0.33-0ubuntu0.16.04.16+esm8
- 7.0.33-0ubuntu0.16.04.16+esm9
- Plages de versions concernées
- ECOSYSTEM: < 7.0.33-0ubuntu0.16.04.16+esm10
Mettez à jour vers 7.0.33-0ubuntu0.16.04.16+esm10
php7.2 Ubuntu:Pro:18.04:LTS
- Versions du logiciel
- 7.2.1-1ubuntu2
- 7.2.2-1ubuntu1
- 7.2.2-1ubuntu2
- 7.2.3-1ubuntu1
- 7.2.5-0ubuntu0.18.04.1
- 7.2.7-0ubuntu0.18.04.1
- 7.2.7-0ubuntu0.18.04.2
- 7.2.10-0ubuntu0.18.04.1
- 7.2.15-0ubuntu0.18.04.1
- 7.2.15-0ubuntu0.18.04.2
- 7.2.17-0ubuntu0.18.04.1
- 7.2.19-0ubuntu0.18.04.1
- 7.2.19-0ubuntu0.18.04.2
- 7.2.24-0ubuntu0.18.04.1
- 7.2.24-0ubuntu0.18.04.2
- 7.2.24-0ubuntu0.18.04.3
- 7.2.24-0ubuntu0.18.04.4
- 7.2.24-0ubuntu0.18.04.6
- 7.2.24-0ubuntu0.18.04.7
- 7.2.24-0ubuntu0.18.04.8
- 7.2.24-0ubuntu0.18.04.9
- 7.2.24-0ubuntu0.18.04.10
- 7.2.24-0ubuntu0.18.04.11
- 7.2.24-0ubuntu0.18.04.12
- 7.2.24-0ubuntu0.18.04.13
- 7.2.24-0ubuntu0.18.04.15
- 7.2.24-0ubuntu0.18.04.16
- 7.2.24-0ubuntu0.18.04.17
- 7.2.24-0ubuntu0.18.04.17+esm1
- 7.2.24-0ubuntu0.18.04.17+esm2
- 7.2.24-0ubuntu0.18.04.17+esm3
- Plages de versions concernées
- ECOSYSTEM: < 7.2.24-0ubuntu0.18.04.17+esm4
Mettez à jour vers 7.2.24-0ubuntu0.18.04.17+esm4
php7.4 Ubuntu:20.04:LTS
- Versions du logiciel
- 7.4.3-4build1
- 7.4.3-4build2
- 7.4.3-4ubuntu1
- 7.4.3-4ubuntu1.1
- 7.4.3-4ubuntu2.2
- 7.4.3-4ubuntu2.4
- 7.4.3-4ubuntu2.5
- 7.4.3-4ubuntu2.6
- 7.4.3-4ubuntu2.7
- 7.4.3-4ubuntu2.8
- 7.4.3-4ubuntu2.9
- 7.4.3-4ubuntu2.10
- 7.4.3-4ubuntu2.11
- 7.4.3-4ubuntu2.12
- 7.4.3-4ubuntu2.13
- 7.4.3-4ubuntu2.15
- 7.4.3-4ubuntu2.16
- 7.4.3-4ubuntu2.17
- 7.4.3-4ubuntu2.18
- 7.4.3-4ubuntu2.19
- Plages de versions concernées
- ECOSYSTEM: < 7.4.3-4ubuntu2.20
Mettez à jour vers 7.4.3-4ubuntu2.20
php8.1 Ubuntu:22.04:LTS
- Versions du logiciel
- 8.1.0~rc4-1ubuntu2
- 8.1.0-1
- 8.1.2-1ubuntu1
- 8.1.2-1ubuntu2
- 8.1.2-1ubuntu2.1
- 8.1.2-1ubuntu2.2
- 8.1.2-1ubuntu2.3
- 8.1.2-1ubuntu2.4
- 8.1.2-1ubuntu2.5
- 8.1.2-1ubuntu2.6
- 8.1.2-1ubuntu2.8
- 8.1.2-1ubuntu2.9
- 8.1.2-1ubuntu2.10
- 8.1.2-1ubuntu2.11
- 8.1.2-1ubuntu2.13
- Plages de versions concernées
- ECOSYSTEM: < 8.1.2-1ubuntu2.14
Mettez à jour vers 8.1.2-1ubuntu2.14
Sources originales
- https://github.com/php/php-src/security/advisories/GHSA-3qrf-m4j2-pcrr
- https://lists.fedoraproject.org/archives/list/[email protected]/message/7NBF77WN6DTVTY2RE73IGPYD6M4PIAWA/
- https://security.netapp.com/advisory/ntap-20230825-0001/
- https://lists.debian.org/debian-lts-announce/2023/09/msg00002.html
- https://nvd.nist.gov/vuln/detail/CVE-2023-3823