Advisory

USN-5479-3

Also known as: CVE-2022-31625

Summary

php7.2 regression

Details

USN-5479-1 fixed vulnerabilities in PHP. Unfortunately that update for
CVE-2022-31625 was incomplete for Ubuntu 18.04 LTS. This update fixes
the problem.

We apologize for the inconvenience.

Original advisory details:

Charles Fol discovered that PHP incorrectly handled initializing certain
arrays when handling the pg_query_params function. A remote attacker could
use this issue to cause PHP to crash, resulting in a denial of service, or
possibly execute arbitrary code. (CVE-2022-31625)

Charles Fol discovered that PHP incorrectly handled passwords in mysqlnd. A
remote attacker could use this issue to cause PHP to crash, resulting in a
denial of service, or possibly execute arbitrary code. (CVE-2022-31626)

Severity

Not rated by the source.

Dates

Published
2022-07-07 21:53 UTC
Modified
2026-04-27 16:12 UTC

Affected packages and fixes

php7.2

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 7.2.24-0ubuntu0.18.04.13 (ecosystem)

Fixed versions

7.2.24-0ubuntu0.18.04.13

Fix

  • Fixed version 7.2.24-0ubuntu0.18.04.13
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

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: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences