CVE-2022-31625
Last modified
CVE-2022-31625 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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.. EPSS estimates a 3.44% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | >= 7.4.0, < 7.4.30 |
| Php | Php | >= 8.0.0, < 8.0.20 |
| Php | Php | >= 8.1.0, < 8.1.7 |
| Debian | Debian Linux | 10.0 |
| Debian | Debian Linux | 11.0 |
References
- https://bugs.php.net/bug.php?id=81720Exploit, Issue Tracking, Mailing List, Patch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2022/12/msg00030.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202209-20Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220722-0005/Third Party Advisory
- https://www.debian.org/security/2022/dsa-5179Third Party Advisory
- https://bugs.php.net/bug.php?id=81720Exploit, Issue Tracking, Mailing List, Patch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2022/12/msg00030.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202209-20Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220722-0005/Third Party Advisory
- https://www.debian.org/security/2022/dsa-5179Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-31625?
How severe is CVE-2022-31625?
How do I fix CVE-2022-31625?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-3162Users authorized to list or watch one type of namespaced cus…6.5
- CVE-2022-31620In libjpeg before 1.64, BitStream<false>::Get in bitstream.h…6.5
- CVE-2022-31621MariaDB Server before 10.7 is vulnerable to Denial of Servic…5.5
- CVE-2022-31622MariaDB Server before 10.7 is vulnerable to Denial of Servic…5.5
- CVE-2022-31623MariaDB Server before 10.7 is vulnerable to Denial of Servic…5.5
- CVE-2022-31624MariaDB Server before 10.7 is vulnerable to Denial of Servic…5.5
- CVE-2022-31626In PHP versions 7.4.x below 7.4.30, 8.0.x below 8.0.20, and …8.8
- CVE-2022-31627In PHP versions 8.1.x below 8.1.8, when fileinfo functions, …9.8
- CVE-2022-31628In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the phar u…5.5
- CVE-2022-31629In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the vulner…6.5
- CVE-2022-31630In PHP versions prior to 7.4.33, 8.0.25 and 8.1.12, when usi…7.1
- CVE-2022-31631In PHP versions 8.0.* before 8.0.27, 8.1.* before 8.1.15, 8.…9.1
Are you affected by CVE-2022-31625?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
