CVE Vulnerabilities

CVE-2023-3247

Unchecked Return Value

Published: Jul 22, 2023 | Modified: Nov 21, 2024
CVSS 3.x
4.3
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
4.3 MODERATE
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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 clients nonce. 

Weakness

The product does not check the return value from a method or function, which can prevent it from detecting unexpected states and conditions.

Affected Software

NameVendorStart VersionEnd Version
PhpPhp8.0.0 (including)8.0.29 (excluding)
PhpPhp8.1.0 (including)8.1.20 (excluding)
PhpPhp8.2.0 (including)8.2.7 (excluding)
Red Hat Enterprise Linux 8RedHatphp:8.0-8080020231006102311.0b4eb31d*
Red Hat Enterprise Linux 8RedHatphp:7.4-8100020241113075828.f7998665*
Red Hat Enterprise Linux 9RedHatphp-0:8.0.30-1.el9_2*
Red Hat Enterprise Linux 9RedHatphp:8.1-9030020231221080340.9*
Php5Ubuntuesm-infra-legacy/trusty*
Php5Ubuntutrusty*
Php5Ubuntutrusty/esm*
Php7.0Ubuntuesm-infra/xenial*
Php7.0Ubuntuxenial*
Php7.2Ubuntubionic*
Php7.2Ubuntuesm-infra/bionic*
Php7.4Ubuntuesm-infra/focal*
Php7.4Ubuntufocal*
Php8.1Ubuntujammy*
Php8.1Ubuntukinetic*
Php8.1Ubuntulunar*
Php8.1Ubuntuupstream*
Php8.2Ubuntubionic*
Php8.2Ubuntutrusty*
Php8.2Ubuntuupstream*
Php8.2Ubuntuxenial*

Potential Mitigations

References