ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2022-31625

Details

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 could lead to RCE vulnerability or denial of service.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:14.04:LTSphp5
All versions, no fix listed
Ubuntu:Pro:16.04:LTSphp7.0
All versions before 7.0.33-0ubuntu0.16.04.16+esm4 (fixed in 7.0.33-0ubuntu0.16.04.16+esm4)
Ubuntu:18.04:LTSphp7.2
All versions before 7.2.24-0ubuntu0.18.04.12 (fixed in 7.2.24-0ubuntu0.18.04.12)
Ubuntu:20.04:LTSphp7.4
All versions before 7.4.3-4ubuntu2.12 (fixed in 7.4.3-4ubuntu2.12)
Ubuntu:22.04:LTSphp8.1
All versions before 8.1.2-1ubuntu2.1 (fixed in 8.1.2-1ubuntu2.1)

References