Out-of-bounds read in PHP - CVE-2020-7059
Published: February 10, 2020
Vulnerability details
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.
Affected software
Amazon Linux AMI
Debian Linux
Gentoo Linux
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Opensuse
openEuler
Fedora
Red Hat Software Collections
Tenable.sc
php7 (Alpine package)
php7.2 (Ubuntu package)
php7.3 (Ubuntu package)
php-embedded
php-fpm
php-odbc
php-cli
php-recode
php-pdo
php-pgsql
php-help
php-gmp
php-debugsource
php-bcmath
php-mysqlnd
php-ldap
php-snmp
php-debuginfo
php-gd
php-tidy
php-devel
php-xmlrpc
php-process
php-dbg
php-enchant
php-xml
php-common
php-dba
php
php-json
php-intl
php-mbstring
php-soap
php-opcache
rh-php73-php (Red Hat package)
php7.0 (Debian package)
php7.3 (Debian package)
How to mitigate CVE-2020-7059
Tenable.sc - update to 5.19.0
php7 (Alpine package) - update to 7.2.27-r0
php7.2 (Ubuntu package) - update to 7.2.24-0ubuntu0.18.04.3
php-embedded - update to 7.2.10-10
php-fpm - update to 7.2.10-10
php-odbc - update to 7.2.10-10
php-cli - update to 7.2.10-10
php-recode - update to 7.2.10-10
php-pdo - update to 7.2.10-10
php-pgsql - update to 7.2.10-10
php-help - update to 7.2.10-10
php-gmp - update to 7.2.10-10
php-debugsource - update to 7.2.10-10
php-bcmath - update to 7.2.10-10
php-mysqlnd - update to 7.2.10-10
php-ldap - update to 7.2.10-10
php-snmp - update to 7.2.10-10
php-debuginfo - update to 7.2.10-10
php-gd - update to 7.2.10-10
php-tidy - update to 7.2.10-10
php-devel - update to 7.2.10-10
php-xmlrpc - update to 7.2.10-10
php-process - update to 7.2.10-10
php-dbg - update to 7.2.10-10
php-enchant - update to 7.2.10-10
php-xml - update to 7.2.10-10
php-common - update to 7.2.10-10
php-dba - update to 7.2.10-10
php - update to 7.2.10-10
php-json - update to 7.2.10-10
php-intl - update to 7.2.10-10
php-mbstring - update to 7.2.10-10
php-soap - update to 7.2.10-10
php-opcache - update to 7.2.10-10
php - addressed in versions 7.3.14-1.fc30, 7.3.14-1.fc31
rh-php73-php (Red Hat package) - update to 7.3.20-1.el7
php7.0 (Debian package) - update to 7.0.33-0+deb9u7
php7.3 (Debian package) - update to 7.3.14-1~deb10u1
External References
Related Security Bulletins
- Multiple vulnerabilities in PHP
- Ubuntu update for PHP
- Amazon Linux AMI update for php73
- Amazon Linux AMI update for php72
- OpenSUSE Linux update for php7
- Gentoo update for PHP
- Out-of-bounds read in php7 (Alpine package)
- Red Hat Software Collections 1 for RHEL 7.7 update for rh-php73-php
- Multiple vulnerabilities in Tenable.sc
- Debian update for php7.3
- Debian update for php7.0
- openEuler update for php
- Red Hat Enterprise Linux 8 update for the php:7.3 module
- Fedora 30 update for php
- Fedora 31 update for php