Summary
This update for php8 fixes the following issues:
- CVE-2022-37454: Fixed buffer overflow in hash_update() on long parameter (bug#81738) (bsc#1204577).
- CVE-2022-31630: Fixed OOB read due to insufficient input validation in imageloadfont() (bug#81739) (bsc#1204979).
- version update to 8.0.25 (27 Oct 2022)
* Session: Fixed bug GH-9583 (session_create_id() fails with user defined save handler that doesn't have a validateId() method).
* Streams: Fixed bug GH-9590 (stream_select does not abort upon exception or empty valid fd set).
Fixed packages 12
| Release | Package | Fixed in |
|---|---|---|
| openSUSE · Leap 15.4 | apache2-mod_php8 | 8.0.25-150400.4.17.1 |
| openSUSE · Leap 15.4 | php8 | 8.0.25-150400.4.17.1 |
| openSUSE · Leap 15.4 | php8-embed | 8.0.25-150400.4.17.1 |
| openSUSE · Leap 15.4 | php8-fastcgi | 8.0.25-150400.4.17.1 |
| openSUSE · Leap 15.4 | php8-fpm | 8.0.25-150400.4.17.1 |
| openSUSE · Leap 15.4 | php8-test | 8.0.25-150400.4.17.1 |
| SUSE · SLES 15 SP4 Linux Enterprise Module for Web and Scripting 15 SP4 | apache2-mod_php8 | 8.0.25-150400.4.17.1 |
| SUSE · SLES 15 SP4 Linux Enterprise Module for Web and Scripting 15 SP4 | php8 | 8.0.25-150400.4.17.1 |
| SUSE · SLES 15 SP4 Linux Enterprise Module for Web and Scripting 15 SP4 | php8-embed | 8.0.25-150400.4.17.1 |
| SUSE · SLES 15 SP4 Linux Enterprise Module for Web and Scripting 15 SP4 | php8-fastcgi | 8.0.25-150400.4.17.1 |
| SUSE · SLES 15 SP4 Linux Enterprise Module for Web and Scripting 15 SP4 | php8-fpm | 8.0.25-150400.4.17.1 |
| SUSE · SLES 15 SP4 Linux Enterprise Module for Web and Scripting 15 SP4 | php8-test | 8.0.25-150400.4.17.1 |
Vulnerabilities 2
-
Critical 9.8
Buffer overflow in sponge queue functions
The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow that allows attackers to execute arbitrary code or eliminate expected cryptographic properties. This occurs in the sponge function interface.
-
Medium 6.5CVE-2022-31630 Public exploit
OOB read due to insufficient input validation in imageloadfont()
In PHP versions prior to 7.4.33, 8.0.25 and 8.1.12, when using imageloadfont() function in gd extension, it is possible to supply a specially crafted font file, such as if the loaded font is used with imagechar() function, the read outside allocated buffer wi…