CVE & CISA-KEV Catalog

CVE-2022-31625

HIGHEPSS 87th pctl
8.1
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
php7.4Debian
Fixed in:7.4.30-1+deb11u1CVE-2022-31625
libapache2-mod-php7.0Ubuntu
Fixed in:7.0.33-0ubuntu0.16.04.16+esm4USN-5479-2
libapache2-mod-php7.2Ubuntu
Fixed in:7.2.24-0ubuntu0.18.04.12USN-5479-1
Fixed in:7.2.24-0ubuntu0.18.04.13USN-5479-3
libapache2-mod-php7.4Ubuntu
Fixed in:7.4.3-4ubuntu2.12USN-5479-1
libapache2-mod-php8.1Ubuntu
Fixed in:8.1.2-1ubuntu2.1USN-5479-1
php7.0Ubuntu
Fixed in:7.0.33-0ubuntu0.16.04.16+esm4USN-5479-2
php7.0-cgiUbuntu
Fixed in:7.0.33-0ubuntu0.16.04.16+esm4USN-5479-2
php7.0-cliUbuntu
Fixed in:7.0.33-0ubuntu0.16.04.16+esm4USN-5479-2
php7.0-fpmUbuntu
Fixed in:7.0.33-0ubuntu0.16.04.16+esm4USN-5479-2
php7.0-mysqlUbuntu
Fixed in:7.0.33-0ubuntu0.16.04.16+esm4USN-5479-2
php7.0-pgsqlUbuntu
Fixed in:7.0.33-0ubuntu0.16.04.16+esm4USN-5479-2
php7.2Ubuntu
Fixed in:7.2.24-0ubuntu0.18.04.13USN-5479-3
Fixed in:7.2.24-0ubuntu0.18.04.12USN-5479-1
php7.2-cgiUbuntu
Fixed in:7.2.24-0ubuntu0.18.04.12USN-5479-1
Fixed in:7.2.24-0ubuntu0.18.04.13USN-5479-3
php7.2-cliUbuntu
Fixed in:7.2.24-0ubuntu0.18.04.12USN-5479-1
Fixed in:7.2.24-0ubuntu0.18.04.13USN-5479-3
php7.2-fpmUbuntu
Fixed in:7.2.24-0ubuntu0.18.04.12USN-5479-1
Fixed in:7.2.24-0ubuntu0.18.04.13USN-5479-3
php7.2-mysqlUbuntu
Fixed in:7.2.24-0ubuntu0.18.04.12USN-5479-1
php7.2-pgsqlUbuntu
Fixed in:7.2.24-0ubuntu0.18.04.12USN-5479-1
Fixed in:7.2.24-0ubuntu0.18.04.13USN-5479-3
php7.4Ubuntu
Fixed in:7.4.3-4ubuntu2.12USN-5479-1
php7.4-cgiUbuntu
Fixed in:7.4.3-4ubuntu2.12USN-5479-1
php7.4-cliUbuntu
Fixed in:7.4.3-4ubuntu2.12USN-5479-1
php7.4-fpmUbuntu
Fixed in:7.4.3-4ubuntu2.12USN-5479-1
php7.4-mysqlUbuntu
Fixed in:7.4.3-4ubuntu2.12USN-5479-1
php7.4-pgsqlUbuntu
Fixed in:7.4.3-4ubuntu2.12USN-5479-1
php8.1Ubuntu
Fixed in:8.1.2-1ubuntu2.1USN-5479-1
php8.1-cgiUbuntu
Fixed in:8.1.2-1ubuntu2.1USN-5479-1
php8.1-cliUbuntu
Fixed in:8.1.2-1ubuntu2.1USN-5479-1
php8.1-fpmUbuntu
Fixed in:8.1.2-1ubuntu2.1USN-5479-1
php8.1-mysqlUbuntu
Fixed in:8.1.2-1ubuntu2.1USN-5479-1
php8.1-pgsqlUbuntu
Fixed in:8.1.2-1ubuntu2.1USN-5479-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

3.44%probability of exploitation in 30 days
87thpercentile

Elevated risk: more likely to be exploited than 87% of all known CVEs.

References

Embed a live status badge for CVE-2022-31625
CVE-2022-31625 severity badge

Markdown

[![CVE-2022-31625](https://tridentstack.com/cve/badge/CVE-2022-31625.svg)](https://tridentstack.com/cve/CVE-2022-31625)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-31625"><img src="https://tridentstack.com/cve/badge/CVE-2022-31625.svg" alt="CVE-2022-31625"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.