First published: Thu Dec 24 2009(Updated: )
The unserialize function in PHP 5.3.0 and earlier allows context-dependent attackers to cause a denial of service (resource consumption) via a deeply nested serialized variable, as demonstrated by a string beginning with a:1: followed by many {a:1: sequences.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
PHP | =5.2.9 | |
PHP | =5.2.4 | |
PHP | =5.1.5 | |
PHP | =5.1.2 | |
PHP | =5.1.1 | |
PHP | =5.0.0-beta1 | |
PHP | =5.1.6 | |
PHP | =5.0-rc1 | |
PHP | =5.2.7 | |
PHP | =5.2.2 | |
PHP | =5.0.5 | |
PHP | =5.0.1 | |
PHP | =5.1.4 | |
PHP | =5.2.5 | |
PHP | =5.0.4 | |
PHP | =5.0-rc3 | |
PHP | =5.2.11 | |
PHP | =5.2.6 | |
PHP | =5.0.0-rc2 | |
PHP | =5.2.3 | |
PHP | =5.0.3 | |
PHP | =5.1.0 | |
PHP | =5.0.0-rc3 | |
PHP | =5.2.0 | |
PHP | =5.0-rc2 | |
PHP | =5.2.4 | |
PHP | =5.0.0-beta3 | |
PHP | =5.1.3 | |
PHP | =5.2.10 | |
PHP | =5.0.0-rc1 | |
PHP | =5.0.2 | |
PHP | =5.2.1 | |
PHP | =5.0.0-beta4 | |
PHP | =5 | |
PHP | =5.0.0 | |
PHP | =5.0.0-beta2 | |
PHP | =5.2.8 | |
PHP | <=5.3.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2009-4418 has a medium severity level as it can lead to denial of service through resource consumption.
To fix CVE-2009-4418, upgrade to PHP version 5.3.1 or higher where the vulnerability has been addressed.
CVE-2009-4418 affects PHP versions 5.3.0 and earlier, including various 5.2.x and 5.1.x versions.
CVE-2009-4418 can be exploited to trigger a denial of service by causing excessive resource usage, affecting web application availability.
A potential workaround for CVE-2009-4418 is to limit the input size and depth of serialized variables processed by the unserialize function.