Skip to content
OpenAdvisories
Critical SUSE-SU-2023:0476-1 4 CVEs

Security update for php7

Published Feb 22, 2023 · Updated Feb 4, 2026

Summary

This update for php7 fixes the following issues:

- CVE-2022-31631: Fixed an issue where PDO::quote would return an unquoted string (bsc#1206958).
- CVE-2023-0568: Fixed NULL byte off-by-one in php_check_specific_open_basedir (bnc#1208366).
- CVE-2023-0662: Fixed DoS vulnerability when parsing multipart request body (bnc#1208367).
- CVE-2023-0567: Fixed vulnerability where BCrypt hashes erroneously validate if the salt is cut short by `$` (bsc#1208388).

Fixed packages 11

ReleasePackageFixed in
SUSE · Enterprise Storage 7 php7 7.4.33-150200.3.51.1
SUSE · Enterprise Storage 7.1 php7 7.4.33-150200.3.51.1
openSUSE · Leap 15.4 php7 7.4.33-150200.3.51.1
SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-LTSS php7 7.4.33-150200.3.51.1
SUSE · SLE HPC 15 SP3 Linux Enterprise High Performance Computing 15 SP3-ESPOS php7 7.4.33-150200.3.51.1
SUSE · SLE HPC 15 SP3 Linux Enterprise High Performance Computing 15 SP3-LTSS php7 7.4.33-150200.3.51.1
SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-LTSS php7 7.4.33-150200.3.51.1
SUSE · SLES 15 SP3 Linux Enterprise Server 15 SP3-LTSS php7 7.4.33-150200.3.51.1
SUSE · SLES for SAP 15 SP2 Linux Enterprise Server for SAP Applications 15 SP2 php7 7.4.33-150200.3.51.1
SUSE · SLES for SAP 15 SP3 Linux Enterprise Server for SAP Applications 15 SP3 php7 7.4.33-150200.3.51.1
SUSE · Manager Server 4.2 php7 7.4.33-150200.3.51.1

Vulnerabilities 4

  • Critical 9.1

    PDO::quote() may return unquoted string

    In PHP versions 8.0.* before 8.0.27, 8.1.* before 8.1.15, 8.2.* before 8.2.2 when using PDO::quote() function to quote user-supplied data for SQLite, supplying an overly long string may cause the driver to incorrectly quote the data, which may further lead to…

  • High 7.7

    password_verify() always returns true for some invalid hashes

    In PHP 8.0.X before 8.0.28, 8.1.X before 8.1.16 and 8.2.X before 8.2.3, password_verify() function may accept some invalid Blowfish hashes as valid. If such invalid hash ever ends up in the password database, it may lead to an application allowing any passwor…

  • High 7.5

    Array overrun in common path resolve code

    In PHP 8.0.X before 8.0.28, 8.1.X before 8.1.16 and 8.2.X before 8.2.3, core path resolution function allocate buffer one byte too small. When resolving paths with lengths close to system MAXPATHLEN setting, this may lead to the byte after the allocated buffe…

  • High 7.5

    DoS vulnerability when parsing multipart request body

    In PHP 8.0.X before 8.0.28, 8.1.X before 8.1.16 and 8.2.X before 8.2.3, excessive number of parts in HTTP form upload can cause high resource consumption and excessive number of log entries. This can cause denial of service on the affected server by exhaustin…

References

  • report
    https://bugzilla.suse.com/1206958
  • report
    https://bugzilla.suse.com/1208366
  • report
    https://bugzilla.suse.com/1208367
  • report
    https://bugzilla.suse.com/1208388
  • web
    https://www.suse.com/security/cve/CVE-2022-31631
  • web
    https://www.suse.com/security/cve/CVE-2023-0567
  • web
    https://www.suse.com/security/cve/CVE-2023-0568
  • web
    https://www.suse.com/security/cve/CVE-2023-0662