CVE-2023-3247

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

State
Published
Severity
2.6 Low
Published
Jul 22, 2023
Updated
Oct 15, 2024
Reserved
Jun 14, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.12.6 LowCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:Nphp

Weaknesses

  • CWE-252 Unchecked Return Value
  • CWE-330 Use of Insufficiently Random Values

Affected Products

ProductVersions
PHPPHP Group
  • 8.0.* to before 8.0.29Affected
  • 8.1.* to before 8.1.20Affected
  • 8.2.* to before 8.2.7Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.