CVE-2022-31625
High
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.
SeverityHigh
CVSS8.1
Exploit probability—
Product
Php
PublishedJun 16, 2022
First seenJun 16, 2022
Weakness typeCWE-590CWE-590CWE-824CWE-824
How to fix
Update
- php php7.4.30, 8.0.20, 8.1.7 or later
Vendor advisories
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZZTZQKRGEYJT5UB4FGG3MOE72SQUHSL4/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3T4MMEEZYYAEHPQMZDFN44PHORJWJFZQ/
- debian.org/security/2022/dsa-5179
- security.gentoo.org/glsa/202209-20
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| php php | 7.4.0 ≤ v < 7.4.30, 8.0.0 ≤ v < 8.0.20, 8.1.0 ≤ v < 8.1.7 | 7.4.30, 8.0.20, 8.1.7 |
| debian debian_linux | 10.0, 11.0 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.