Summary
This update for php7 fixes the following issues:
- Version update to 7.4.33:
- CVE-2022-31630: Fixed out-of-bounds read due to insufficient input validation in imageloadfont() (bsc#1204979).
- CVE-2022-37454: Fixed buffer overflow in hash_update() on long parameter (bsc#1204577).
- Version update to 7.4.32 (jsc#SLE-23639)
- CVE-2022-31628: Fixed an uncontrolled recursion in the phar uncompressor while decompressing 'quines' gzip files. (bsc#1203867)
- CVE-2022-31629: Fixed a bug which could lead an attacker to set an insecure cookie that will treated as secure in the victim's browser. (bsc#1203870)
Fixed packages 14
| Release | Package | Fixed in |
|---|---|---|
| SUSE · Enterprise Storage 7 | php7 | 7.4.33-150200.3.46.2 |
| openSUSE · Leap 15.3 | php7 | 7.4.33-150200.3.46.2 |
| openSUSE · Leap 15.3 | php7-test | 7.4.33-150200.3.46.2 |
| openSUSE · Leap 15.4 | php7 | 7.4.33-150200.3.46.2 |
| SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-ESPOS | php7 | 7.4.33-150200.3.46.2 |
| SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-LTSS | php7 | 7.4.33-150200.3.46.2 |
| SUSE · SLES 15 SP3 Linux Enterprise Module for Package Hub 15 SP3 | php7 | 7.4.33-150200.3.46.2 |
| SUSE · SLES 15 SP3 Linux Enterprise Module for Web and Scripting 15 SP3 | php7 | 7.4.33-150200.3.46.2 |
| SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-BCL | php7 | 7.4.33-150200.3.46.2 |
| SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-LTSS | php7 | 7.4.33-150200.3.46.2 |
| SUSE · SLES for SAP 15 SP2 Linux Enterprise Server for SAP Applications 15 SP2 | php7 | 7.4.33-150200.3.46.2 |
| SUSE · Manager Proxy 4.1 | php7 | 7.4.33-150200.3.46.2 |
| SUSE · Manager Retail Branch Server 4.1 | php7 | 7.4.33-150200.3.46.2 |
| SUSE · Manager Server 4.1 | php7 | 7.4.33-150200.3.46.2 |
Vulnerabilities 18
-
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.
-
High 8.2
UAF due to php_filter_float() failing
In PHP versions 7.4.x below 7.4.28, 8.0.x below 8.0.16, and 8.1.x below 8.1.3, when using filter functions with FILTER_VALIDATE_FLOAT filter and min/max limits, if the filter fails, there is a possibility to trigger use of allocated memory after free, which c…
-
High 8.1
Freeing unallocated memory in php_pgsql_free_params()
In PHP versions 7.4.x below 7.4.30, 8.0.x below 8.0.20, and 8.1.x below 8.1.7, when using Postgres database extension, supplying invalid parameters to the parametrized query may lead to PHP attempting to free memory using uninitialized data as pointers. This …
-
High 7.8
PHP-FPM memory access in root process leading to privilege escalation
In PHP versions 7.3.x up to and including 7.3.31, 7.4.x below 7.4.25 and 8.0.x below 8.0.12, when running PHP FPM SAPI with main FPM daemon process running as root and child worker processes running as lower-privileged users, it is possible for the child proc…
-
High 7.5
mysqlnd/pdo password buffer overflow
In PHP versions 7.4.x below 7.4.30, 8.0.x below 8.0.20, and 8.1.x below 8.1.7, when pdo_mysql extension with mysqlnd driver, if the third party is allowed to supply host to connect to and the password for the connection, password of excessive length can trigg…
-
Medium 6.5
$_COOKIE names string replacement (. -> _): cookie integrity vulnerabilities
In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the vulnerability enables network and same-site attackers to set a standard insecure cookie in the victim's browser which is treated as a `__Host-` or `__Secure-` cookie by PHP applications.
-
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…
-
Medium 5.4
Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV
In PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23 and 7.4.x below 7.4.11, when AES-CCM mode is used with openssl_encrypt() function with 12 bytes IV, only first 7 bytes of the IV is actually used. This can lead to both decreased security and incorrect en…
-
Medium 5.3
FILTER_VALIDATE_URL accepts URLs with invalid userinfo
In PHP versions 7.3.x below 7.3.26, 7.4.x below 7.4.14 and 8.0.0, when validating URL with functions like filter_var($url, FILTER_VALIDATE_URL), PHP will accept an URL with invalid password as valid URL. This may lead to functions that rely on URL being valid…
-
Medium 5.3
Null Dereference in SoapClient
In PHP versions 7.3.x below 7.3.27, 7.4.x below 7.4.15 and 8.0.x below 8.0.2, when using SOAP extension to connect to a SOAP server, a malicious SOAP server could return malformed XML data as a response that would cause PHP to access a null pointer and thus c…
-
Medium 5.3
ZipArchive::extractTo may extract outside of destination dir
In PHP versions 7.3.x below 7.3.31, 7.4.x below 7.4.24 and 8.0.x below 8.0.11, in Microsoft Windows environment, ZipArchive::extractTo may be tricked into writing a file outside target directory when extracting a ZIP file, thus potentially causing files to be…
-
Medium 5.3
Special characters break path parsing in XML functions
In PHP versions 7.3.x below 7.3.33, 7.4.x below 7.4.26 and 8.0.x below 8.0.13, certain XML parsing functions, like simplexml_load_file(), URL-decode the filename passed to them. If that filename contains URL-encoded NUL character, this may cause the function …
-
Medium 5.0
Multiple vulnerabilities in Firebird client extension
In PHP versions 7.3.x below 7.3.29, 7.4.x below 7.4.21 and 8.0.x below 8.0.8, when using Firebird PDO driver extension, a malicious database server could cause crashes in various database functions, such as getAttribute(), execute(), fetch() and others by ret…
-
Medium 4.8
Use of freed hash key in the phar_parse_zipfile function
In PHP versions 7.2.x below 7.2.33, 7.3.x below 7.3.21 and 7.4.x below 7.4.9, while processing PHAR files using phar extension, phar_parse_zipfile could be tricked into accessing freed memory, which could lead to a crash or information disclosure.
-
Medium 4.3
PHP parses encoded cookie names so malicious `__Host-` cookies can be sent
In PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23 and 7.4.x below 7.4.11, when PHP is processing incoming HTTP cookie values, the cookie names are url-decoded. This may lead to cookies with prefixes like __Host confused with cookies that decode to such p…
-
Medium 4.3
Incorrect URL validation in FILTER_VALIDATE_URL
In PHP versions 7.3.x below 7.3.29, 7.4.x below 7.4.21 and 8.0.x below 8.0.8, when using URL validation functionality via filter_var() function with FILTER_VALIDATE_URL parameter, an URL with invalid password field can be accepted as valid. This can lead to t…
-
Low 2.3
phar wrapper can occur dos when using quine gzip file
In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the phar uncompressor code would recursively uncompress "quines" gzip files, resulting in an infinite loop.
-
Unscored —
The zend_string_extend function in Zend/zend_string.h in PHP through 7.1.5 does not prevent changes to string objects t…
References
-
report
https://bugzilla.suse.com/1203867
-
report
https://bugzilla.suse.com/1203870
-
report
https://bugzilla.suse.com/1204577
-
report
https://bugzilla.suse.com/1204979
-
web
https://www.suse.com/security/cve/CVE-2017-8923
-
web
https://www.suse.com/security/cve/CVE-2020-7068
-
web
https://www.suse.com/security/cve/CVE-2020-7069
-
web
https://www.suse.com/security/cve/CVE-2020-7070
-
web
https://www.suse.com/security/cve/CVE-2020-7071
-
web
https://www.suse.com/security/cve/CVE-2021-21702
-
web
https://www.suse.com/security/cve/CVE-2021-21703
-
web
https://www.suse.com/security/cve/CVE-2021-21704
-
web
https://www.suse.com/security/cve/CVE-2021-21705
-
web
https://www.suse.com/security/cve/CVE-2021-21706
-
web
https://www.suse.com/security/cve/CVE-2021-21707
-
web
https://www.suse.com/security/cve/CVE-2021-21708
-
web
https://www.suse.com/security/cve/CVE-2022-31625
-
web
https://www.suse.com/security/cve/CVE-2022-31626
-
web
https://www.suse.com/security/cve/CVE-2022-31628
-
web
https://www.suse.com/security/cve/CVE-2022-31629
-
web
https://www.suse.com/security/cve/CVE-2022-31630
-
web
https://www.suse.com/security/cve/CVE-2022-37454