Ubuntu Security Notice
USN-5479-1
php7.2, php7.4, php8.0, php8.1 vulnerabilities
Details
Charles Fol discovered that PHP incorrectly handled initializing certain arrays when handling the pg_query_params function. A remote attacker could use this issue to cause PHP to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2022-31625)
Charles Fol discovered that PHP incorrectly handled passwords in mysqlnd. A remote attacker could use this issue to cause PHP to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2022-31626)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:18.04:LTS | php7.2 | All versions before 7.2.24-0ubuntu0.18.04.12 (fixed in 7.2.24-0ubuntu0.18.04.12) |
| Ubuntu:20.04:LTS | php7.4 | All versions before 7.4.3-4ubuntu2.12 (fixed in 7.4.3-4ubuntu2.12) |
| Ubuntu:22.04:LTS | php8.1 | All versions before 8.1.2-1ubuntu2.1 (fixed in 8.1.2-1ubuntu2.1) |