ALAS-2020-1351


Amazon Linux AMI Security Advisory: ALAS-2020-1351
Advisory Release Date: 2020-03-13 19:46 Pacific
Severity: Medium

Issue Overview:

In PHP versions 7.3.x below 7.3.15 and 7.4.x below 7.4.3, while extracting PHAR files on Windows using phar extension, certain content inside PHAR file could lead to one-byte read past the allocated buffer. This could potentially lead to information disclosure or crash. (CVE-2020-7061 )

In PHP versions 7.2.x below 7.2.28, 7.3.x below 7.3.15 and 7.4.x below 7.4.3, when using file upload functionality, if upload progress tracking is enabled, but session.upload_progress.cleanup is set to 0 (disabled), and the file upload fails, the upload procedure would try to clean up data that does not exist and encounter null pointer dereference, which would likely lead to a crash. (CVE-2020-7062 )

In PHP versions 7.2.x below 7.2.28, 7.3.x below 7.3.15 and 7.4.x below 7.4.3, when creating PHAR archive using PharData::buildFromIterator() function, the files are added with default permissions (0666, or all access) even if the original files on the filesystem were with more restrictive permissions. This may result in files having more lax permissions than intended when such archive is extracted. (CVE-2020-7063 )


Affected Packages:

php73


Issue Correction:
Run yum update php73 to update your system.

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

src:
    php73-7.3.15-1.24.amzn1.src

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