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 cal_from_jd 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 = cal_from_jd($x,0); $dummy = cal_from_jd($x,1); } ?>
This issue affects the versions of the php package, as shipped with Red Hat Enterprise Linux 4, 5, and 6. This issue affects the version of the php53 package, as shipped with Red Hat Enterprise Linux 5. -- This issue affects the versions of the php package, as shipped with Fedora release of 13 and 14.
This issue has been addressed in following products: Red Hat Enterprise Linux 5 Red Hat Enterprise Linux 6 Via RHSA-2011:1423 https://rhn.redhat.com/errata/RHSA-2011-1423.html
Statement: (none)
This issue did not affect the version of php as shipped with Fedora 15 and Fedora 16.
This issue has been addressed in following products: Red Hat Enterprise Linux 5 Via RHSA-2012:0033 https://rhn.redhat.com/errata/RHSA-2012-0033.html
This issue has been addressed in following products: Red Hat Enterprise Linux 4 Via RHSA-2012:0071 https://rhn.redhat.com/errata/RHSA-2012-0071.html