Overview
- Description
- 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.
- Source
- cve@mitre.org
- NVD status
- Analyzed
Risk scores
CVSS 2.0
- Type
- Primary
- Base score
- 5
- Impact score
- 2.9
- Exploitability score
- 10
- Vector string
- AV:N/AC:L/Au:N/C:N/I:N/A:P
Weaknesses
- nvd@nist.gov
- NVD-CWE-Other
Social media
- Hype score
- Not currently trending
Vendor comments
- Red HatThe 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 and Application Stack.
Configurations
[ { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:php_group:php:4.4.2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "20F1DB01-95BA-4C76-9A6A-EFA5F80D8014" }, { "criteria": "cpe:2.3:a:php_group:php:5.1.2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "679DA16E-1E68-46B8-B659-E1B48AA9764A" } ], "operator": "OR" } ] } ]