Advisory

ALSA-2022:8197

Also known as: CVE-2021-21708, CVE-2022-31625

Summary

Moderate: php security, bug fix, and enhancement update

Details

PHP is an HTML-embedded scripting language commonly used with the Apache HTTP Server.

The following packages have been upgraded to a later upstream version: php (8.0.20). (BZ#2095752)

Security Fix(es):

  • php: Use after free due to php_filter_float() failing for ints (CVE-2021-21708)
  • php: Uninitialized array in pg_query_params() leading to RCE (CVE-2022-31625)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Severity

Not rated by the source.

Dates

Published
2022-11-15 00:00 UTC
Modified
2026-10-29 11:31 UTC

Affected packages and fixes

25 affected packages; all RPM packages (rpm) · AlmaLinux 9; affected: earlier versions
PackageFix
phpsudo dnf upgrade php-8.0.20-3.el9
php-bcmathsudo dnf upgrade php-bcmath-8.0.20-3.el9
php-clisudo dnf upgrade php-cli-8.0.20-3.el9
php-commonsudo dnf upgrade php-common-8.0.20-3.el9
php-dbasudo dnf upgrade php-dba-8.0.20-3.el9
php-dbgsudo dnf upgrade php-dbg-8.0.20-3.el9
php-develsudo dnf upgrade php-devel-8.0.20-3.el9
php-embeddedsudo dnf upgrade php-embedded-8.0.20-3.el9
php-enchantsudo dnf upgrade php-enchant-8.0.20-3.el9
php-ffisudo dnf upgrade php-ffi-8.0.20-3.el9
php-fpmsudo dnf upgrade php-fpm-8.0.20-3.el9
php-gdsudo dnf upgrade php-gd-8.0.20-3.el9
php-gmpsudo dnf upgrade php-gmp-8.0.20-3.el9
php-intlsudo dnf upgrade php-intl-8.0.20-3.el9
php-ldapsudo dnf upgrade php-ldap-8.0.20-3.el9
php-mbstringsudo dnf upgrade php-mbstring-8.0.20-3.el9
php-mysqlndsudo dnf upgrade php-mysqlnd-8.0.20-3.el9
php-odbcsudo dnf upgrade php-odbc-8.0.20-3.el9
php-opcachesudo dnf upgrade php-opcache-8.0.20-3.el9
php-pdosudo dnf upgrade php-pdo-8.0.20-3.el9
php-pgsqlsudo dnf upgrade php-pgsql-8.0.20-3.el9
php-processsudo dnf upgrade php-process-8.0.20-3.el9
php-snmpsudo dnf upgrade php-snmp-8.0.20-3.el9
php-soapsudo dnf upgrade php-soap-8.0.20-3.el9
php-xmlsudo dnf upgrade php-xml-8.0.20-3.el9

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: AlmaLinux OSV database · MIT

Sources & licences