Distro advisory · AmazonLinux 1
medium priority package update for php72
AmazonLinux 1
What it fixes
Package updates are available for Amazon Linux AMI that fix the following vulnerabilities: CVE-2020-7063: 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. 1808536: CVE-2020-7063 php: files added to tar with Phar::buildFromIterator have all-access permissions
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 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. 1808532: CVE-2020-7062 php: NULL pointer dereference in PHP session upload progress
CVE-2020-7061: 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. 1808529: CVE-2020-7061 php: heap-based buffer overflow in phar_extract_file
Manual fix · AmazonLinux 1
sudo yum updateinfo info ALAS-2020-1350sudo yum upgrade --advisory=ALAS-2020-1350rpm -q php72