Amazon Linux AMI update for php73



Published: 2020-02-27
Risk High
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2020-7059
CVE-2020-7060
CWE-ID CWE-125
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Amazon Linux AMI
Operating systems & Components / Operating system

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Out-of-bounds read

EUVDB-ID: #VU25109

Risk: High

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

CVE-ID: CVE-2020-7059

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 or perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary condition when using the "fgetss()" function to read data with stripping tags. A remote attacker can supply data that will cause this function to read past the allocated buffer, trigger out-of-bounds read error and read contents of memory on the system or crash the application.

Mitigation

Update the affected packages:

i686:
    php73-embedded-7.3.14-1.23.amzn1.i686
    php73-7.3.14-1.23.amzn1.i686
    php73-tidy-7.3.14-1.23.amzn1.i686
    php73-process-7.3.14-1.23.amzn1.i686
    php73-pdo-7.3.14-1.23.amzn1.i686
    php73-ldap-7.3.14-1.23.amzn1.i686
    php73-pspell-7.3.14-1.23.amzn1.i686
    php73-xmlrpc-7.3.14-1.23.amzn1.i686
    php73-enchant-7.3.14-1.23.amzn1.i686
    php73-dbg-7.3.14-1.23.amzn1.i686
    php73-common-7.3.14-1.23.amzn1.i686
    php73-recode-7.3.14-1.23.amzn1.i686
    php73-pdo-dblib-7.3.14-1.23.amzn1.i686
    php73-pgsql-7.3.14-1.23.amzn1.i686
    php73-fpm-7.3.14-1.23.amzn1.i686
    php73-debuginfo-7.3.14-1.23.amzn1.i686
    php73-soap-7.3.14-1.23.amzn1.i686
    php73-json-7.3.14-1.23.amzn1.i686
    php73-xml-7.3.14-1.23.amzn1.i686
    php73-devel-7.3.14-1.23.amzn1.i686
    php73-intl-7.3.14-1.23.amzn1.i686
    php73-mbstring-7.3.14-1.23.amzn1.i686
    php73-bcmath-7.3.14-1.23.amzn1.i686
    php73-cli-7.3.14-1.23.amzn1.i686
    php73-opcache-7.3.14-1.23.amzn1.i686
    php73-imap-7.3.14-1.23.amzn1.i686
    php73-dba-7.3.14-1.23.amzn1.i686
    php73-odbc-7.3.14-1.23.amzn1.i686
    php73-snmp-7.3.14-1.23.amzn1.i686
    php73-mysqlnd-7.3.14-1.23.amzn1.i686
    php73-gmp-7.3.14-1.23.amzn1.i686
    php73-gd-7.3.14-1.23.amzn1.i686

src:
    php73-7.3.14-1.23.amzn1.src

x86_64:
    php73-mysqlnd-7.3.14-1.23.amzn1.x86_64
    php73-imap-7.3.14-1.23.amzn1.x86_64
    php73-process-7.3.14-1.23.amzn1.x86_64
    php73-recode-7.3.14-1.23.amzn1.x86_64
    php73-odbc-7.3.14-1.23.amzn1.x86_64
    php73-snmp-7.3.14-1.23.amzn1.x86_64
    php73-devel-7.3.14-1.23.amzn1.x86_64
    php73-tidy-7.3.14-1.23.amzn1.x86_64
    php73-intl-7.3.14-1.23.amzn1.x86_64
    php73-enchant-7.3.14-1.23.amzn1.x86_64
    php73-xml-7.3.14-1.23.amzn1.x86_64
    php73-bcmath-7.3.14-1.23.amzn1.x86_64
    php73-cli-7.3.14-1.23.amzn1.x86_64
    php73-dba-7.3.14-1.23.amzn1.x86_64
    php73-fpm-7.3.14-1.23.amzn1.x86_64
    php73-soap-7.3.14-1.23.amzn1.x86_64
    php73-common-7.3.14-1.23.amzn1.x86_64
    php73-ldap-7.3.14-1.23.amzn1.x86_64
    php73-7.3.14-1.23.amzn1.x86_64
    php73-pdo-7.3.14-1.23.amzn1.x86_64
    php73-xmlrpc-7.3.14-1.23.amzn1.x86_64
    php73-json-7.3.14-1.23.amzn1.x86_64
    php73-pdo-dblib-7.3.14-1.23.amzn1.x86_64
    php73-pspell-7.3.14-1.23.amzn1.x86_64
    php73-gmp-7.3.14-1.23.amzn1.x86_64
    php73-debuginfo-7.3.14-1.23.amzn1.x86_64
    php73-pgsql-7.3.14-1.23.amzn1.x86_64
    php73-embedded-7.3.14-1.23.amzn1.x86_64
    php73-opcache-7.3.14-1.23.amzn1.x86_64
    php73-dbg-7.3.14-1.23.amzn1.x86_64
    php73-gd-7.3.14-1.23.amzn1.x86_64
    php73-mbstring-7.3.14-1.23.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2020-1347.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.

2) Out-of-bounds read

EUVDB-ID: #VU25110

Risk: High

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

CVE-ID: CVE-2020-7060

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 or perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary condition when using certain "mbstring" functions to convert multibyte encodings. A remote attacker can supply data that will cause function "mbfl_filt_conv_big5_wchar" to read past the allocated buffer, trigger out-of-bounds read error and read contents of memory on the system or crash the application.

Mitigation

Update the affected packages:

i686:
    php73-embedded-7.3.14-1.23.amzn1.i686
    php73-7.3.14-1.23.amzn1.i686
    php73-tidy-7.3.14-1.23.amzn1.i686
    php73-process-7.3.14-1.23.amzn1.i686
    php73-pdo-7.3.14-1.23.amzn1.i686
    php73-ldap-7.3.14-1.23.amzn1.i686
    php73-pspell-7.3.14-1.23.amzn1.i686
    php73-xmlrpc-7.3.14-1.23.amzn1.i686
    php73-enchant-7.3.14-1.23.amzn1.i686
    php73-dbg-7.3.14-1.23.amzn1.i686
    php73-common-7.3.14-1.23.amzn1.i686
    php73-recode-7.3.14-1.23.amzn1.i686
    php73-pdo-dblib-7.3.14-1.23.amzn1.i686
    php73-pgsql-7.3.14-1.23.amzn1.i686
    php73-fpm-7.3.14-1.23.amzn1.i686
    php73-debuginfo-7.3.14-1.23.amzn1.i686
    php73-soap-7.3.14-1.23.amzn1.i686
    php73-json-7.3.14-1.23.amzn1.i686
    php73-xml-7.3.14-1.23.amzn1.i686
    php73-devel-7.3.14-1.23.amzn1.i686
    php73-intl-7.3.14-1.23.amzn1.i686
    php73-mbstring-7.3.14-1.23.amzn1.i686
    php73-bcmath-7.3.14-1.23.amzn1.i686
    php73-cli-7.3.14-1.23.amzn1.i686
    php73-opcache-7.3.14-1.23.amzn1.i686
    php73-imap-7.3.14-1.23.amzn1.i686
    php73-dba-7.3.14-1.23.amzn1.i686
    php73-odbc-7.3.14-1.23.amzn1.i686
    php73-snmp-7.3.14-1.23.amzn1.i686
    php73-mysqlnd-7.3.14-1.23.amzn1.i686
    php73-gmp-7.3.14-1.23.amzn1.i686
    php73-gd-7.3.14-1.23.amzn1.i686

src:
    php73-7.3.14-1.23.amzn1.src

x86_64:
    php73-mysqlnd-7.3.14-1.23.amzn1.x86_64
    php73-imap-7.3.14-1.23.amzn1.x86_64
    php73-process-7.3.14-1.23.amzn1.x86_64
    php73-recode-7.3.14-1.23.amzn1.x86_64
    php73-odbc-7.3.14-1.23.amzn1.x86_64
    php73-snmp-7.3.14-1.23.amzn1.x86_64
    php73-devel-7.3.14-1.23.amzn1.x86_64
    php73-tidy-7.3.14-1.23.amzn1.x86_64
    php73-intl-7.3.14-1.23.amzn1.x86_64
    php73-enchant-7.3.14-1.23.amzn1.x86_64
    php73-xml-7.3.14-1.23.amzn1.x86_64
    php73-bcmath-7.3.14-1.23.amzn1.x86_64
    php73-cli-7.3.14-1.23.amzn1.x86_64
    php73-dba-7.3.14-1.23.amzn1.x86_64
    php73-fpm-7.3.14-1.23.amzn1.x86_64
    php73-soap-7.3.14-1.23.amzn1.x86_64
    php73-common-7.3.14-1.23.amzn1.x86_64
    php73-ldap-7.3.14-1.23.amzn1.x86_64
    php73-7.3.14-1.23.amzn1.x86_64
    php73-pdo-7.3.14-1.23.amzn1.x86_64
    php73-xmlrpc-7.3.14-1.23.amzn1.x86_64
    php73-json-7.3.14-1.23.amzn1.x86_64
    php73-pdo-dblib-7.3.14-1.23.amzn1.x86_64
    php73-pspell-7.3.14-1.23.amzn1.x86_64
    php73-gmp-7.3.14-1.23.amzn1.x86_64
    php73-debuginfo-7.3.14-1.23.amzn1.x86_64
    php73-pgsql-7.3.14-1.23.amzn1.x86_64
    php73-embedded-7.3.14-1.23.amzn1.x86_64
    php73-opcache-7.3.14-1.23.amzn1.x86_64
    php73-dbg-7.3.14-1.23.amzn1.x86_64
    php73-gd-7.3.14-1.23.amzn1.x86_64
    php73-mbstring-7.3.14-1.23.amzn1.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

External links

http://alas.aws.amazon.com/ALAS-2020-1347.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.



###SIDEBAR###