Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

ALAS2PHP8.0-2023-006

Active Important

ALAS2PHP8.0-2023-006 (important): php

Published
13 Sep 2023
Updated
13 Sep 2023

Related CVEs

CVE identifiers linked by this publisher.

2
Publisher relationship details 2 records
Explicit publisher CVE relationships
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.

3

Shared package data

Applies to all 3 occurrences
  1. 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
  2. 2php

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • php-8.0.20-1.amzn2.src
  3. 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.

0

No CVSS assessments were provided.

Publisher references

4
  • CVE-2022-31625 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-31625
  • CVE-2022-31626 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2022-31626
  • CVE-2022-31625 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31625
  • CVE-2022-31626 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31626

Provenance

Schema version
Unknown
Parser version
amazon-alas/1
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
html_pagehttps://alas.aws.amazon.com/AL2/ALAS2PHP8.0-2023-006.htmlUnknown092cc22088cb51cfc51dc17d2b716e9b80c9d4f0ff8169d5d8facad111f31187amazon-alas/12026-09-26T01:34:09Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2PHP8.0-2023-006.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2PHP8.0-2023-006.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected