Skip to content
OpenAdvisories
Low · 2.6 CVE-2023-3247 EUVD-2023-43923

Missing error check and insufficient random bytes in HTTP Digest authentication for SOAP

Published Jul 22, 2023 · Updated Oct 15, 2024 · Assigned by php

Description

In PHP versions 8.0.* before 8.0.29, 8.1.* before 8.1.20, 8.2.* before 8.2.7 when using SOAP HTTP Digest Authentication, random value generator was not checked for failure, and was using narrower range of values than it should have. In case of random generator failure, it could lead to a disclosure of 31 bits of uninitialized memory from the client to the server, and it also made easier to a malicious server to guess the client's nonce. 

Affected products

VendorProductAffectedFixed
PHP Group PHP 8.0.* – < 8.0.29, 8.1.* – < 8.1.20, 8.2.* – < 8.2.7 8.0.29

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 12 php8.2 8.2.7-1~deb12u1 DSA-5425-1
Debian 11 php7.4 7.4.33-1+deb11u4 DSA-5424-1
Debian 10 php7.3 7.3.31-1~deb10u4 DLA-3458-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS php8.1 8.1.2-1ubuntu2.13 USN-6199-1
Ubuntu 20.04 LTS php7.4 7.4.3-4ubuntu2.19 USN-6199-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS php7.2 7.2.24-0ubuntu0.18.04.17+esm1 USN-6199-2
Ubuntu Pro 16.04 LTS php7.0 7.0.33-0ubuntu0.16.04.16+esm7 USN-6199-2
Ubuntu Pro 14.04 LTS php5 No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 apcu-panel +2 5.1.21-1.module+el9.1.0.z+15477+cb86791d RHSA-2024:0387
RHEL 9 php +23 8.0.30-1.el9_2 RHSA-2024:0387, RHSA-2023:5926
RHEL 9 php-pecl-rrd 2.0.3-4.module+el9.1.0.z+15477+cb86791d RHSA-2024:0387
RHEL 9 php-pecl-xdebug3 3.1.4-1.module+el9.1.0.z+15477+cb86791d RHSA-2024:0387
RHEL 9 php-pecl-zip 1.20.1-1.module+el9.1.0.z+15477+cb86791d RHSA-2024:0387
RHEL 8 apcu-panel +2 5.1.18-1.module+el8.10.0+22485+a3539972 RHSA-2024:10952, RHSA-2023:5927
RHEL 8 libzip +2 1.6.1-1.module+el8.10.0+22485+a3539972 RHSA-2024:10952, RHSA-2023:5927
RHEL 8 php +25 7.4.33-2.module+el8.10.0+22485+a3539972 RHSA-2024:10952, RHSA-2023:5927
RHEL 8 php-pear 1:1.10.13-1.module+el8.6.0+13671+84712317 RHSA-2024:10952, RHSA-2023:5927
RHEL 8 php-pecl-rrd 2.0.1-1.module+el8.10.0+22485+a3539972 RHSA-2024:10952, RHSA-2023:5927
RHEL 8 php-pecl-xdebug 2.9.5-1.module+el8.10.0+22485+a3539972 RHSA-2024:10952
RHEL 8 php-pecl-xdebug3 3.1.2-1.module+el8.6.0+13671+84712317 RHSA-2023:5927
RHEL 8 php-pecl-zip 1.18.2-1.module+el8.10.0+22485+a3539972 RHSA-2024:10952, RHSA-2023:5927

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 apcu-panel +2 5.1.21-1.module_el9.1.0+15+94ba28e4 ALSA-2024:0387
AlmaLinux 9 php +23 8.0.30-1.el9_2 ALSA-2024:0387, ALSA-2023:5926
AlmaLinux 9 php-pecl-rrd 2.0.3-4.module_el9.1.0+15+94ba28e4 ALSA-2024:0387
AlmaLinux 9 php-pecl-xdebug3 3.1.4-1.module_el9.1.0+15+94ba28e4 ALSA-2024:0387
AlmaLinux 9 php-pecl-zip 1.20.1-1.module_el9.1.0+15+94ba28e4 ALSA-2024:0387
AlmaLinux 8 apcu-panel +2 5.1.18-1.module_el8.6.0+2750+78feabcb ALSA-2024:10952, ALSA-2023:5927
AlmaLinux 8 libzip +1 1.6.1-1.module_el8.6.0+2750+78feabcb ALSA-2024:10952, ALSA-2023:5927
AlmaLinux 8 libzip-devel 1.6.1-1.module_el8.6.0+3239+bedf0508 ALSA-2024:10952, ALSA-2023:5927
AlmaLinux 8 php +25 7.4.33-2.module_el8.10.0+3935+28808425 ALSA-2024:10952, ALSA-2023:5927
AlmaLinux 8 php-pear 1:1.10.13-1.module_el8.6.0+2739+efabdb8f ALSA-2024:10952, ALSA-2023:5927
AlmaLinux 8 php-pecl-rrd 2.0.1-1.module_el8.3.0+2009+b272fdef ALSA-2024:10952, ALSA-2023:5927
AlmaLinux 8 php-pecl-xdebug 2.9.5-1.module_el8.6.0+2750+78feabcb ALSA-2024:10952
AlmaLinux 8 php-pecl-xdebug3 3.1.2-1.module_el8.6.0+2739+efabdb8f ALSA-2023:5927
AlmaLinux 8 php-pecl-zip 1.18.2-1.module_el8.6.0+2750+78feabcb ALSA-2024:10952, ALSA-2023:5927

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 php 8.0.30-1.el9_2 RLSA-2023:5926
Rocky Linux 9 php-pecl-apcu 5.1.21-1.module+el9.6.0+32040+1f1dedb8 RLSA-2024:0387
Rocky Linux 9 php-pecl-rrd 2.0.3-4.module+el9.6.0+32040+1f1dedb8 RLSA-2024:0387
Rocky Linux 9 php-pecl-xdebug3 3.1.4-1.module+el9.6.0+32040+1f1dedb8 RLSA-2024:0387
Rocky Linux 9 php-pecl-zip 1.20.1-1.module+el9.6.0+32040+1f1dedb8 RLSA-2024:0387
Rocky Linux 8 libzip 1.6.1-1.module+el8.10.0+1604+6558efc7 RLSA-2024:10952, RLSA-2023:5927
Rocky Linux 8 php 7.4.33-2.module+el8.10.0+1912+72767185 RLSA-2024:10952, RLSA-2023:5927
Rocky Linux 8 php-pear 1:1.10.13-1.module+el8.7.0+1067+0a7071cc RLSA-2024:10952, RLSA-2023:5927
Rocky Linux 8 php-pecl-apcu 5.1.18-1.module+el8.10.0+1604+6558efc7 RLSA-2024:10952, RLSA-2023:5927
Rocky Linux 8 php-pecl-rrd 2.0.1-1.module+el8.10.0+1604+6558efc7 RLSA-2024:10952, RLSA-2023:5927
Rocky Linux 8 php-pecl-xdebug 2.9.5-1.module+el8.10.0+1604+6558efc7 RLSA-2024:10952
Rocky Linux 8 php-pecl-xdebug3 3.1.2-1.module+el8.6.0+790+fc63e43f RLSA-2023:5927
Rocky Linux 8 php-pecl-zip 1.18.2-1.module+el8.10.0+1604+6558efc7 RLSA-2024:10952, RLSA-2023:5927
ReleasePackageFixed inAdvisory
SLES 15 SP5 php7 +4 7.4.33-150400.4.25.1 SUSE-SU-2023:2828-1
SLES 15 SP5 php8 +5 8.0.29-150400.4.34.1 SUSE-SU-2023:2610-1
SLES 15 SP4 php7 +4 7.4.33-150400.4.25.1 SUSE-SU-2023:2828-1
SLES 15 SP4 php8 +5 8.0.29-150400.4.34.1 SUSE-SU-2023:2610-1
SLES 12 SP5 php74 7.4.33-1.59.1 SUSE-SU-2023:2848-1
SLES 12 php74 7.4.33-1.59.1 SUSE-SU-2023:2848-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE Manager Server 4.2 php7 7.4.33-150200.3.57.1 SUSE-SU-2023:2980-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed php8 8.2.10-3.1 openSUSE-SU-2024:13267-1
openSUSE Leap 15.5 php7 +5 7.4.33-150400.4.25.1 SUSE-SU-2023:2828-1
openSUSE Leap 15.5 php8 +5 8.0.29-150400.4.34.1 SUSE-SU-2023:2610-1
openSUSE Leap 15.4 php7 7.4.33-150200.3.57.1 SUSE-SU-2023:2980-1, SUSE-SU-2023:2828-1
openSUSE Leap 15.4 php7-fpm +4 7.4.33-150400.4.25.1 SUSE-SU-2023:2828-1
openSUSE Leap 15.4 php8 +5 8.0.29-150400.4.34.1 SUSE-SU-2023:2610-1
ReleasePackageFixed inAdvisory
Alpine v3.17 php81 8.1.22-r0 —
Alpine v3.16 php8 8.0.29-r0 —
Alpine v3.16 php81 8.1.22-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 php8.1 +25 8.1.22-1.amzn2023.0.1 ALAS2023-2023-325, ALAS2023-2023-303

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) php 8.1.22-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 apcu-panel +2 5.1.21-1.module+el9.1.0+20776+c1b960c0 ELSA-2024-0387
Oracle Linux 9 php +23 8.0.30-1.el9_2 ELSA-2024-0387, ELSA-2023-5926
Oracle Linux 9 php-pecl-rrd 2.0.3-4.module+el9.1.0+20776+c1b960c0 ELSA-2024-0387
Oracle Linux 9 php-pecl-xdebug3 3.1.4-1.module+el9.1.0+20776+c1b960c0 ELSA-2024-0387
Oracle Linux 9 php-pecl-zip 1.20.1-1.module+el9.1.0+20776+c1b960c0 ELSA-2024-0387
Oracle Linux 8 apcu-panel +2 5.1.18-1.module+el8.10.0+90472+f810484b ELSA-2024-10952, ELSA-2023-5927
Oracle Linux 8 libzip +2 1.6.1-1.module+el8.10.0+90472+f810484b ELSA-2024-10952, ELSA-2023-5927
Oracle Linux 8 php +25 7.4.33-2.module+el8.10.0+90472+f810484b ELSA-2024-10952, ELSA-2023-5927
Oracle Linux 8 php-pear 1:1.10.13-1.module+el8.6.0+20568+84712317 ELSA-2024-10952, ELSA-2023-5927
Oracle Linux 8 php-pecl-rrd 2.0.1-1.module+el8.10.0+90472+f810484b ELSA-2024-10952, ELSA-2023-5927
Oracle Linux 8 php-pecl-xdebug 2.9.5-1.module+el8.10.0+90472+f810484b ELSA-2024-10952
Oracle Linux 8 php-pecl-xdebug3 3.1.2-1.module+el8.6.0+20568+84712317 ELSA-2023-5927
Oracle Linux 8 php-pecl-zip 1.18.2-1.module+el8.10.0+90472+f810484b ELSA-2024-10952, ELSA-2023-5927

Advisories 33

References