Buffer over-read in PHP - CVE-2013-6712
Published: November 27, 2018
Vulnerability details
The vulnerability allows a remote attacker to cause DoS condition.
The vulnerability exists due to the scan function in ext/date/lib/parse_iso_intervals.c in PHP through 5.5.6 does not properly restrict creation of DateInterval objects. A remote attacker can trigger heap-based buffer over-read and cause the service to crash via a crafted interval specification.
Affected software
Amazon Linux AMI
Gentoo Linux
Debian Linux
Ubuntu
php (Alpine package)
php5-cgi (Ubuntu package)
php5-cli (Ubuntu package)
libapache2-mod-php5 (Ubuntu package)
php5 (Debian package)
dev-lang/php
How to mitigate CVE-2013-6712
php5-cgi (Ubuntu package) - addressed in versions 5.3.2-1ubuntu4.22, 5.3.10-1ubuntu3.9, 5.4.6-1ubuntu1.5, 5.4.9-4ubuntu2.4, 5.5.3+dfsg-1ubuntu2.1
php5-cli (Ubuntu package) - addressed in versions 5.3.2-1ubuntu4.22, 5.3.10-1ubuntu3.9, 5.4.6-1ubuntu1.5, 5.4.9-4ubuntu2.4, 5.5.3+dfsg-1ubuntu2.1
libapache2-mod-php5 (Ubuntu package) - addressed in versions 5.3.2-1ubuntu4.22, 5.3.10-1ubuntu3.9, 5.4.6-1ubuntu1.5, 5.4.9-4ubuntu2.4, 5.5.3+dfsg-1ubuntu2.1
php5 (Debian package) - addressed in versions 5.3.3-7+squeeze18, 5.4.4-14+deb7u7
dev-lang/php - update to 5.5.16