Infinite loop in PHP - CVE-2014-0238

 

Infinite loop in PHP - CVE-2014-0238

Published: November 27, 2018


Vulnerability identifier: #VU16085
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-2014-0238
CWE-ID: CWE-835
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to infinite loop in the cdf_read_property_info function in cdf.c in the Fileinfo component in PHP before 5.4.29 and 5.5.x before 5.5.13. A remote attacker can trigger out-of-bounds memory access via a vector that (1) has zero length or (2) is too long and cause the service to crash.


Affected software

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

How to mitigate CVE-2014-0238

Install updates from vendor's website.

PHP - addressed in versions 5.4.29, 5.5.13
php5 (Ubuntu package) - addressed in versions 5.3.2-1ubuntu4.25, 5.3.10-1ubuntu3.12
php (Alpine package) - update to 5.3.28-r4
dev-lang/php - update to 5.5.16

External References

Related Security Bulletins