Amazon Linux AMI update for php8.1



Published: 2024-08-06
Risk High
Patch available YES
Number of vulnerabilities 6
CVE-ID CVE-2022-31627
CVE-2022-31628
CVE-2022-31629
CVE-2022-31630
CVE-2022-31631
CVE-2022-37454
CWE-ID CWE-122
CWE-835
CWE-254
CWE-125
CWE-190
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Public exploit code for vulnerability #3 is available.
Public exploit code for vulnerability #6 is available.
Vulnerable software
Subscribe
Amazon Linux AMI
Operating systems & Components / Operating system

php8.1
Operating systems & Components / Operating system package or component

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains information about 6 vulnerabilities.

1) Heap-based buffer overflow

EUVDB-ID: #VU65292

Risk: High

CVSSv3.1: 8.8 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C]

CVE-ID: CVE-2022-31627

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the finfo_buffer() PHP function. A remote attacker can pass an overly long string to the script that allocates the buffer, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Update the affected packages:

aarch64:
    php8.1-embedded-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-enchant-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-mysqlnd-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-dba-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-opcache-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-tidy-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-dba-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-process-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-pdo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-tidy-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-pgsql-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-process-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-common-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-ffi-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-gmp-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-pgsql-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-debugsource-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-ffi-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-mysqlnd-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-pdo-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-dbg-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-ldap-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-bcmath-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-bcmath-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-fpm-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-mbstring-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-common-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-odbc-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-soap-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-gd-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-mbstring-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-odbc-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-cli-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-fpm-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-gmp-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-intl-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-opcache-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-ldap-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-devel-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-cli-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-gd-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-xml-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-xml-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-soap-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-embedded-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-intl-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-dbg-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-enchant-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-8.1.14-1.amzn2023.0.2.aarch64

src:
    php8.1-8.1.14-1.amzn2023.0.2.src

x86_64:
    php8.1-intl-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-dbg-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-intl-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-mysqlnd-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-fpm-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-pdo-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-ffi-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-ldap-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-devel-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-odbc-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-dba-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-mysqlnd-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-process-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-embedded-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-debugsource-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-mbstring-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-xml-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-ffi-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-common-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-opcache-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-mbstring-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-pgsql-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-gd-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-dbg-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-cli-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-cli-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-embedded-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-pdo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-fpm-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-soap-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-soap-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-opcache-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-xml-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-pgsql-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-common-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-tidy-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-gmp-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-bcmath-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-process-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-gd-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-odbc-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-ldap-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-gmp-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-bcmath-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-dba-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-tidy-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-enchant-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-enchant-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-8.1.14-1.amzn2023.0.2.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

php8.1: before 8.1.14-1

CPE2.3 External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-081.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.

2) Infinite loop

EUVDB-ID: #VU67755

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-31628

CWE-ID: CWE-835 - Loop with Unreachable Exit Condition ('Infinite Loop')

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to infinite loop within the phar uncompressor code when processing "quines" gzip files. A remote attacker can pass a specially crafted archive to the application, consume all available system resources and cause denial of service conditions.

Mitigation

Update the affected packages:

aarch64:
    php8.1-embedded-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-enchant-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-mysqlnd-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-dba-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-opcache-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-tidy-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-dba-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-process-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-pdo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-tidy-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-pgsql-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-process-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-common-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-ffi-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-gmp-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-pgsql-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-debugsource-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-ffi-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-mysqlnd-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-pdo-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-dbg-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-ldap-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-bcmath-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-bcmath-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-fpm-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-mbstring-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-common-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-odbc-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-soap-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-gd-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-mbstring-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-odbc-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-cli-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-fpm-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-gmp-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-intl-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-opcache-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-ldap-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-devel-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-cli-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-gd-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-xml-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-xml-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-soap-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-embedded-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-intl-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-dbg-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-enchant-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-8.1.14-1.amzn2023.0.2.aarch64

src:
    php8.1-8.1.14-1.amzn2023.0.2.src

x86_64:
    php8.1-intl-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-dbg-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-intl-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-mysqlnd-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-fpm-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-pdo-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-ffi-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-ldap-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-devel-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-odbc-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-dba-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-mysqlnd-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-process-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-embedded-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-debugsource-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-mbstring-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-xml-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-ffi-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-common-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-opcache-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-mbstring-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-pgsql-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-gd-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-dbg-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-cli-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-cli-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-embedded-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-pdo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-fpm-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-soap-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-soap-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-opcache-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-xml-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-pgsql-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-common-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-tidy-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-gmp-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-bcmath-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-process-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-gd-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-odbc-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-ldap-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-gmp-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-bcmath-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-dba-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-tidy-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-enchant-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-enchant-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-8.1.14-1.amzn2023.0.2.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

php8.1: before 8.1.14-1

CPE2.3 External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-081.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

3) Security features bypass

EUVDB-ID: #VU67756

Risk: Low

CVSSv3.1: 3.8 [CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P/RL:O/RC:C]

CVE-ID: CVE-2022-31629

CWE-ID: CWE-254 - Security Features

Exploit availability: No

Description

The vulnerability allows a remote attacker to bypass implemented security restrictions.

The vulnerability exists due to the way PHP handles HTTP variable names. A remote attacker can set a standard insecure cookie in the victim's browser which is treated as a `__Host-` or `__Secure-` cookie by PHP applications.

Mitigation

Update the affected packages:

aarch64:
    php8.1-embedded-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-enchant-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-mysqlnd-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-dba-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-opcache-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-tidy-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-dba-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-process-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-pdo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-tidy-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-pgsql-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-process-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-common-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-ffi-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-gmp-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-pgsql-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-debugsource-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-ffi-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-mysqlnd-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-pdo-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-dbg-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-ldap-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-bcmath-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-bcmath-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-fpm-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-mbstring-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-common-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-odbc-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-soap-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-gd-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-mbstring-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-odbc-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-cli-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-fpm-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-gmp-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-intl-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-opcache-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-ldap-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-devel-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-cli-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-gd-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-xml-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-xml-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-soap-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-embedded-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-intl-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-dbg-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-enchant-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-8.1.14-1.amzn2023.0.2.aarch64

src:
    php8.1-8.1.14-1.amzn2023.0.2.src

x86_64:
    php8.1-intl-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-dbg-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-intl-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-mysqlnd-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-fpm-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-pdo-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-ffi-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-ldap-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-devel-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-odbc-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-dba-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-mysqlnd-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-process-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-embedded-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-debugsource-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-mbstring-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-xml-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-ffi-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-common-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-opcache-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-mbstring-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-pgsql-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-gd-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-dbg-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-cli-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-cli-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-embedded-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-pdo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-fpm-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-soap-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-soap-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-opcache-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-xml-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-pgsql-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-common-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-tidy-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-gmp-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-bcmath-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-process-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-gd-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-odbc-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-ldap-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-gmp-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-bcmath-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-dba-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-tidy-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-enchant-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-enchant-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-8.1.14-1.amzn2023.0.2.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

php8.1: before 8.1.14-1

CPE2.3 External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-081.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.

4) Out-of-bounds read

EUVDB-ID: #VU68886

Risk: Medium

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-31630

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition within the imageloadfont() function. A remote attacker can pass specially crafted data to the web application, trigger an out-of-bounds read error and read contents of memory on the system.

Mitigation

Update the affected packages:

aarch64:
    php8.1-embedded-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-enchant-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-mysqlnd-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-dba-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-opcache-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-tidy-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-dba-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-process-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-pdo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-tidy-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-pgsql-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-process-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-common-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-ffi-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-gmp-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-pgsql-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-debugsource-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-ffi-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-mysqlnd-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-pdo-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-dbg-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-ldap-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-bcmath-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-bcmath-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-fpm-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-mbstring-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-common-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-odbc-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-soap-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-gd-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-mbstring-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-odbc-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-cli-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-fpm-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-gmp-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-intl-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-opcache-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-ldap-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-devel-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-cli-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-gd-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-xml-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-xml-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-soap-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-embedded-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-intl-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-dbg-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-enchant-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-8.1.14-1.amzn2023.0.2.aarch64

src:
    php8.1-8.1.14-1.amzn2023.0.2.src

x86_64:
    php8.1-intl-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-dbg-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-intl-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-mysqlnd-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-fpm-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-pdo-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-ffi-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-ldap-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-devel-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-odbc-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-dba-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-mysqlnd-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-process-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-embedded-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-debugsource-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-mbstring-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-xml-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-ffi-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-common-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-opcache-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-mbstring-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-pgsql-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-gd-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-dbg-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-cli-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-cli-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-embedded-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-pdo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-fpm-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-soap-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-soap-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-opcache-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-xml-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-pgsql-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-common-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-tidy-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-gmp-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-bcmath-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-process-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-gd-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-odbc-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-ldap-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-gmp-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-bcmath-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-dba-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-tidy-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-enchant-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-enchant-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-8.1.14-1.amzn2023.0.2.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

php8.1: before 8.1.14-1

CPE2.3 External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-081.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

5) Integer overflow

EUVDB-ID: #VU70788

Risk: Medium

CVSSv3.1: 6.4 [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-31631

CWE-ID: CWE-190 - Integer overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to bypass implemented security restrictions.

The vulnerability exists due to integer overflow when processing untrusted input within the PDO::quote() in PDO_SQLite. A remote attacker can pass a specially crafted input to the application that after being processed by the affected PDO::quote() method will return a quoted string, which can result in a SQL injection.

Mitigation

Update the affected packages:

aarch64:
    php8.1-embedded-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-enchant-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-mysqlnd-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-dba-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-opcache-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-tidy-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-dba-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-process-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-pdo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-tidy-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-pgsql-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-process-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-common-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-ffi-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-gmp-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-pgsql-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-debugsource-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-ffi-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-mysqlnd-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-pdo-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-dbg-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-ldap-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-bcmath-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-bcmath-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-fpm-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-mbstring-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-common-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-odbc-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-soap-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-gd-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-mbstring-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-odbc-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-cli-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-fpm-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-gmp-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-intl-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-opcache-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-ldap-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-devel-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-cli-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-gd-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-xml-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-xml-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-soap-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-embedded-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-intl-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-dbg-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-enchant-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-8.1.14-1.amzn2023.0.2.aarch64

src:
    php8.1-8.1.14-1.amzn2023.0.2.src

x86_64:
    php8.1-intl-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-dbg-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-intl-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-mysqlnd-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-fpm-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-pdo-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-ffi-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-ldap-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-devel-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-odbc-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-dba-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-mysqlnd-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-process-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-embedded-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-debugsource-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-mbstring-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-xml-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-ffi-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-common-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-opcache-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-mbstring-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-pgsql-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-gd-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-dbg-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-cli-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-cli-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-embedded-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-pdo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-fpm-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-soap-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-soap-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-opcache-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-xml-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-pgsql-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-common-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-tidy-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-gmp-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-bcmath-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-process-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-gd-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-odbc-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-ldap-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-gmp-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-bcmath-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-dba-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-tidy-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-enchant-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-enchant-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-8.1.14-1.amzn2023.0.2.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

php8.1: before 8.1.14-1

CPE2.3 External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-081.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

6) Integer overflow

EUVDB-ID: #VU68887

Risk: High

CVSSv3.1: 8.8 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C]

CVE-ID: CVE-2022-37454

CWE-ID: CWE-190 - Integer overflow

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer overflow within the Keccak XKCP SHA-3 reference implementation. A remote attacker can pass specially crafted data to the application, trigger an integer overflow and execute arbitrary code on the target system or eliminate expected cryptographic properties.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Update the affected packages:

aarch64:
    php8.1-embedded-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-enchant-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-mysqlnd-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-dba-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-opcache-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-tidy-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-dba-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-process-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-pdo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-tidy-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-pgsql-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-process-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-common-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-ffi-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-gmp-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-pgsql-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-debugsource-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-ffi-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-mysqlnd-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-pdo-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-dbg-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-ldap-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-bcmath-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-bcmath-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-fpm-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-mbstring-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-common-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-odbc-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-soap-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-gd-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-mbstring-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-odbc-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-cli-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-fpm-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-gmp-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-intl-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-opcache-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-ldap-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-devel-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-cli-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-gd-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-xml-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-xml-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-soap-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-embedded-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-intl-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-dbg-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-enchant-debuginfo-8.1.14-1.amzn2023.0.2.aarch64
    php8.1-8.1.14-1.amzn2023.0.2.aarch64

src:
    php8.1-8.1.14-1.amzn2023.0.2.src

x86_64:
    php8.1-intl-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-dbg-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-intl-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-mysqlnd-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-fpm-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-pdo-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-ffi-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-ldap-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-devel-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-odbc-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-dba-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-mysqlnd-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-process-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-embedded-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-debugsource-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-mbstring-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-xml-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-ffi-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-common-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-opcache-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-mbstring-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-pgsql-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-gd-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-dbg-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-cli-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-cli-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-embedded-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-pdo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-fpm-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-soap-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-soap-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-opcache-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-xml-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-pgsql-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-common-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-tidy-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-gmp-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-bcmath-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-process-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-gd-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-odbc-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-ldap-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-gmp-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-bcmath-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-dba-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-tidy-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-enchant-debuginfo-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-enchant-8.1.14-1.amzn2023.0.2.x86_64
    php8.1-8.1.14-1.amzn2023.0.2.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

php8.1: before 8.1.14-1

CPE2.3 External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-081.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.



###SIDEBAR###