Summary
This update for php7 fixes the following issues:
- CVE-2021-21707: Fixed a special character breaks path in xml parsing. (bsc#1193041)
- CVE-2022-31625: Fixed uninitialized pointers free in Postgres extension. (bsc#1200645)
- CVE-2022-31626: Fixed buffer overflow via user-supplied password when using pdo_mysql extension with mysqlnd driver. (bsc#1200628)
Fixed packages 11
| Release | Package | Fixed in |
|---|---|---|
| openSUSE · Leap 15.4 | apache2-mod_php7 | 7.4.25-150400.4.8.1 |
| openSUSE · Leap 15.4 | php7 | 7.4.25-150400.4.8.1 |
| openSUSE · Leap 15.4 | php7-embed | 7.4.25-150400.4.8.1 |
| openSUSE · Leap 15.4 | php7-fastcgi | 7.4.25-150400.4.8.1 |
| openSUSE · Leap 15.4 | php7-fpm | 7.4.25-150400.4.8.1 |
| openSUSE · Leap 15.4 | php7-test | 7.4.25-150400.4.8.1 |
| SUSE · SLES 15 SP4 Linux Enterprise Module for Legacy 15 SP4 | apache2-mod_php7 | 7.4.25-150400.4.8.1 |
| SUSE · SLES 15 SP4 Linux Enterprise Module for Legacy 15 SP4 | php7 | 7.4.25-150400.4.8.1 |
| SUSE · SLES 15 SP4 Linux Enterprise Module for Legacy 15 SP4 | php7-fastcgi | 7.4.25-150400.4.8.1 |
| SUSE · SLES 15 SP4 Linux Enterprise Module for Legacy 15 SP4 | php7-fpm | 7.4.25-150400.4.8.1 |
| SUSE · SLES 15 SP4 Linux Enterprise Module for Package Hub 15 SP4 | php7-embed | 7.4.25-150400.4.8.1 |
Vulnerabilities 3
-
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.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 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 …