REDHAT-BUG-689386: Integer Overflow
Common Vulnerabilities and Exposures assigned an identifier CVE-2011-1466 to the following vulnerability:
Integer overflow in the SdnToJulian function in the Calendar extension in PHP before 5.3.6 allows context-dependent attackers to cause a denial of service (application crash) via a large integer in the first argument to the calfromjd function.
References: [1] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-1466 [2] http://bugs.php.net/bug.php?id=53574 [3] http://www.php.net/ChangeLog-5.php
Upstream patch: [4] http://svn.php.net/viewvc/?view=revision&revision=306475
Public PoC (from [2]): ====================== <?php for(;;) { $x = rand(0, 2147483640); echo "$x\n"; $dummy = calfromjd($x,0); $dummy = calfromjd($x,1); } ?>
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 5.3.6