ALAS2PHP8.0-2023-006
Active ImportantALAS2PHP8.0-2023-006 (important): php
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 2 records
Shared by all 2 CVE relationships
Exact relationship value
advisory_listExact field value
referencesExact evidence value
https://alas.aws.amazon.com/AL2/ALAS2PHP8.0-2023-006.html| CVE |
|---|
| CVE-2022-31625 |
| CVE-2022-31626 |
Description
A vulnerability was found in PHP due to an uninitialized array in pg_query_params() function. When using the Postgres database extension, supplying invalid parameters to the parameterized query may lead to PHP attempting to free memory, using uninitialized data as pointers. This flaw allows a remote attacker with the ability to control query parameters to
Read full publisher description 956 characters
A vulnerability was found in PHP due to an uninitialized array in pg_query_params() function. When using the Postgres database extension, supplying invalid parameters to the parameterized query may lead to PHP attempting to free memory, using uninitialized data as pointers. This flaw allows a remote attacker with the ability to control query parameters to execute arbitrary code on the system or may cause a denial of service. (CVE-2022-31625) A buffer overflow vulnerability was found in PHP when processing passwords in mysqlnd/pdo in mysqlnd_wireprotocol.c. When using the pdo_mysql extension with mysqlnd driver, if the third party is allowed to supply a password to the host for the connection, a password of excessive length can trigger a buffer overflow in PHP. This flaw allows a remote attacker to pass a password (with an excessive length) via PDO to the MySQL server, triggering arbitrary code execution on the target system. (CVE-2022-31626)
Solution
Run yum update php or yum update --advisory ALAS2PHP8.0-2023-006 to update your system.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 3 occurrences-
1php
Occurrence-specific details
- Architecture
- aarch64
Replacement RPMs
- php-8.0.20-1.amzn2.aarch64
- php-cli-8.0.20-1.amzn2.aarch64
- php-dbg-8.0.20-1.amzn2.aarch64
- php-fpm-8.0.20-1.amzn2.aarch64
- php-common-8.0.20-1.amzn2.aarch64
- php-devel-8.0.20-1.amzn2.aarch64
- php-opcache-8.0.20-1.amzn2.aarch64
- php-ldap-8.0.20-1.amzn2.aarch64
- php-pdo-8.0.20-1.amzn2.aarch64
- php-mysqlnd-8.0.20-1.amzn2.aarch64
- php-pgsql-8.0.20-1.amzn2.aarch64
- php-process-8.0.20-1.amzn2.aarch64
- php-odbc-8.0.20-1.amzn2.aarch64
- php-soap-8.0.20-1.amzn2.aarch64
- php-snmp-8.0.20-1.amzn2.aarch64
- php-xml-8.0.20-1.amzn2.aarch64
- php-mbstring-8.0.20-1.amzn2.aarch64
- php-gd-8.0.20-1.amzn2.aarch64
- php-bcmath-8.0.20-1.amzn2.aarch64
- php-gmp-8.0.20-1.amzn2.aarch64
- php-dba-8.0.20-1.amzn2.aarch64
- php-embedded-8.0.20-1.amzn2.aarch64
- php-pspell-8.0.20-1.amzn2.aarch64
- php-intl-8.0.20-1.amzn2.aarch64
- php-enchant-8.0.20-1.amzn2.aarch64
- php-sodium-8.0.20-1.amzn2.aarch64
- php-debuginfo-8.0.20-1.amzn2.aarch64
-
2php
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- php-8.0.20-1.amzn2.src
-
3php
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- php-8.0.20-1.amzn2.x86_64
- php-cli-8.0.20-1.amzn2.x86_64
- php-dbg-8.0.20-1.amzn2.x86_64
- php-fpm-8.0.20-1.amzn2.x86_64
- php-common-8.0.20-1.amzn2.x86_64
- php-devel-8.0.20-1.amzn2.x86_64
- php-opcache-8.0.20-1.amzn2.x86_64
- php-ldap-8.0.20-1.amzn2.x86_64
- php-pdo-8.0.20-1.amzn2.x86_64
- php-mysqlnd-8.0.20-1.amzn2.x86_64
- php-pgsql-8.0.20-1.amzn2.x86_64
- php-process-8.0.20-1.amzn2.x86_64
- php-odbc-8.0.20-1.amzn2.x86_64
- php-soap-8.0.20-1.amzn2.x86_64
- php-snmp-8.0.20-1.amzn2.x86_64
- php-xml-8.0.20-1.amzn2.x86_64
- php-mbstring-8.0.20-1.amzn2.x86_64
- php-gd-8.0.20-1.amzn2.x86_64
- php-bcmath-8.0.20-1.amzn2.x86_64
- php-gmp-8.0.20-1.amzn2.x86_64
- php-dba-8.0.20-1.amzn2.x86_64
- php-embedded-8.0.20-1.amzn2.x86_64
- php-pspell-8.0.20-1.amzn2.x86_64
- php-intl-8.0.20-1.amzn2.x86_64
- php-enchant-8.0.20-1.amzn2.x86_64
- php-sodium-8.0.20-1.amzn2.x86_64
- php-debuginfo-8.0.20-1.amzn2.x86_64
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
4- CVE-2022-31625 https://access.redhat.com/security/cve/CVE-2022-31625
- CVE-2022-31626 https://access.redhat.com/security/cve/CVE-2022-31626
- CVE-2022-31625 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31625
- CVE-2022-31626 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31626
Provenance
- Schema version
- Unknown
- Parser version
- amazon-alas/1
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| html_page | https://alas.aws.amazon.com/AL2/ALAS2PHP8.0-2023-006.html | Unknown | 092cc22088cb51cfc51dc17d2b716e9b80c9d4f0ff8169d5d8facad111f31187 | amazon-alas/1 | 2026-09-26T01:34:09Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2PHP8.0-2023-006.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2PHP8.0-2023-006.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |