Bug 241640 (CVE-2006-7205) - CVE-2006-7205 php array_fill memory consumption
Summary: CVE-2006-7205 php array_fill memory consumption
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2006-7205
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-05-29 09:54 UTC by Joe Orton
Modified: 2007-05-29 10:03 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-05-29 10:03:54 UTC
Embargoed:


Attachments (Terms of Use)

Description Joe Orton 2007-05-29 09:54:44 UTC
Description of problem:
The array_fill function in ext/standard/array.c in PHP 4.4.2 and 5.1.2 allows
context-dependent attackers to cause a denial of service (memory consumption)
via a large num value.

http://www.infigo.hr/hr/in_focus/advisories/INFIGO-2006-04-02
http://nvd.nist.gov/nvd.cfm?cvename=CVE-2006-7205

Comment 1 Joe Orton 2007-05-29 10:03:54 UTC
The memory_limit configuration option is used to constrain the amount of memory
which a script can consume during execution.  If this setting is disabled (or
set unreasonably high), it is expected behaviour that scripts will be able to
consume large amounts of memory during script execution.

The memory_limit setting is enabled by default in all versions of PHP
distributed in Red Hat Enterprise Linux.


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