This service will be undergoing maintenance at 00:00 UTC, 2016-08-01. It is expected to last about 1 hours
Bug 783609 - (CVE-2012-0789) CVE-2012-0789 php: strtotime timezone memory leak
CVE-2012-0789 php: strtotime timezone memory leak
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20120111,reported=2...
: Reopened, Security
Depends On: 819855 819856 830727 830728 830729 830730
Blocks: 782956 835958 835959 835960
  Show dependency treegraph
 
Reported: 2012-01-20 19:46 EST by Kurt Seifried
Modified: 2016-03-01 03:54 EST (History)
6 users (show)

See Also:
Fixed In Version: php 5.3.9
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-06-27 17:14:35 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Kurt Seifried 2012-01-20 19:46:18 EST
https://bugs.php.net/bug.php?id=53502

 [2010-12-08 21:04 UTC] jsheridan at tenable dot com

Description:
------------
strtotime calls with a timezone embedded function correctly but continually use up 
memory. In a daemon program this becomes quickly fatal.


Test script:
---------------
<?php
while (true) {
    strtotime('Monday 00:00 Europe/Paris');    // Memory leak
}
?>

<?php
while (true) {
    date_default_timezone_set("Europe/Paris");
    strtotime('Monday 00:00');    // No memory leak
}
?>

Expected result:
----------------
Memory usage should remain stable.
Comment 8 Stefan Cornelius 2012-05-15 09:34:42 EDT
Duping against bug 169857.

*** This bug has been marked as a duplicate of bug 169857 ***
Comment 14 Stefan Cornelius 2012-05-29 04:30:42 EDT
Statement:

(none)
Comment 17 errata-xmlrpc 2012-06-27 11:52:17 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2012:1047 https://rhn.redhat.com/errata/RHSA-2012-1047.html
Comment 18 errata-xmlrpc 2012-06-27 11:52:54 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2012:1046 https://rhn.redhat.com/errata/RHSA-2012-1046.html
Comment 19 errata-xmlrpc 2012-06-27 11:54:06 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2012:1045 https://rhn.redhat.com/errata/RHSA-2012-1045.html

Note You need to log in before you can comment on or make changes to this bug.