Buffer over-read in PHP - CVE-2013-6712

 

Buffer over-read in PHP - CVE-2013-6712

Published: November 27, 2018


Vulnerability identifier: #VU16077
CSH Severity: Low
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2013-6712
CWE-ID: CWE-126
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

PHP
Gentoo Linux
Amazon Linux AMI
php5 (Ubuntu package)
php (Alpine package)
dev-lang/php

How to mitigate CVE-2013-6712

Install updates from vendor's website.

php5 (Ubuntu package) - addressed in versions 5.3.2-1ubuntu4.22, 5.3.10-1ubuntu3.9
php (Alpine package) - update to 5.3.28-r1
dev-lang/php - update to 5.5.16

External References

Related Security Bulletins