Advisory

RLSA-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 Rocky Linux 9.1 Release Notes linked from the References section.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2022-11-15 06:18 UTC
Modified
2026-02-05 12:15 UTC

Affected packages and fixes

php

RPM packages (rpm) · Rocky Linux 9

Affected

  • introduced 0, fixed 0:8.0.20-3.el9 (ecosystem)

Fixed versions

0:8.0.20-3.el9

Fix

  • Fixed version 0:8.0.20-3.el9
    sudo dnf upgrade php-0: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: Rocky Linux errata (Apollo)

Rocky Linux errata, Rocky Enterprise Software Foundation.

Sources & licences