Original 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.
Affected software
- PHP ≥ 8.0.0 < 8.0.20≥ 8.1.0 < 8.1.7≥ 7.4.0 < 7.4.30 Fixed in: 8.0.20, 8.1.7, 7.4.30 exact match
Details
- Published
- 2022-06-16
- Last modified
- 2024-09-17
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-590, CWE-824
- EPSS (30-day exploit probability)
- 3.79% (percentile 90)
References
- cve.org/CVE-2022-31625
- nvd.nist.gov/vuln/detail/CVE-2022-31625
- bugs.php.net/bug.php?id=81720
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3...
- www.debian.org/security/2022/dsa-5179
- security.netapp.com/advisory/ntap-20220722-0005/
- security.gentoo.org/glsa/202209-20
- lists.debian.org/debian-lts-announce/2022/12/msg00030.html
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.