The ap_pregsub function in server/util.c in the Apache HTTP Server 2.0.x through 2.0.64 and 2.2.x through 2.2.21, when the mod_setenvif module is enabled, does not restrict the size of values of environment variables, which allows local users to cause a denial of service (memory consumption or NULL pointer dereference) via a .htaccess file with a crafted SetEnvIf directive, in conjunction with a crafted HTTP request header, related to (1) the len += statement and (2) the apr_pcalloc function call, a different vulnerability than CVE-2011-3607.
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Http_server | Apache | 2.0 (including) | 2.0 (including) |
Http_server | Apache | 2.0.9 (including) | 2.0.9 (including) |
Http_server | Apache | 2.0.28 (including) | 2.0.28 (including) |
Http_server | Apache | 2.0.28-beta (including) | 2.0.28-beta (including) |
Http_server | Apache | 2.0.32 (including) | 2.0.32 (including) |
Http_server | Apache | 2.0.32-beta (including) | 2.0.32-beta (including) |
Http_server | Apache | 2.0.34-beta (including) | 2.0.34-beta (including) |
Http_server | Apache | 2.0.35 (including) | 2.0.35 (including) |
Http_server | Apache | 2.0.36 (including) | 2.0.36 (including) |
Http_server | Apache | 2.0.37 (including) | 2.0.37 (including) |
Http_server | Apache | 2.0.38 (including) | 2.0.38 (including) |
Http_server | Apache | 2.0.39 (including) | 2.0.39 (including) |
Http_server | Apache | 2.0.40 (including) | 2.0.40 (including) |
Http_server | Apache | 2.0.41 (including) | 2.0.41 (including) |
Http_server | Apache | 2.0.42 (including) | 2.0.42 (including) |
Http_server | Apache | 2.0.43 (including) | 2.0.43 (including) |
Http_server | Apache | 2.0.44 (including) | 2.0.44 (including) |
Http_server | Apache | 2.0.45 (including) | 2.0.45 (including) |
Http_server | Apache | 2.0.46 (including) | 2.0.46 (including) |
Http_server | Apache | 2.0.47 (including) | 2.0.47 (including) |
Http_server | Apache | 2.0.48 (including) | 2.0.48 (including) |
Http_server | Apache | 2.0.49 (including) | 2.0.49 (including) |
Http_server | Apache | 2.0.50 (including) | 2.0.50 (including) |
Http_server | Apache | 2.0.51 (including) | 2.0.51 (including) |
Http_server | Apache | 2.0.52 (including) | 2.0.52 (including) |
Http_server | Apache | 2.0.53 (including) | 2.0.53 (including) |
Http_server | Apache | 2.0.54 (including) | 2.0.54 (including) |
Http_server | Apache | 2.0.55 (including) | 2.0.55 (including) |
Http_server | Apache | 2.0.56 (including) | 2.0.56 (including) |
Http_server | Apache | 2.0.57 (including) | 2.0.57 (including) |
Http_server | Apache | 2.0.58 (including) | 2.0.58 (including) |
Http_server | Apache | 2.0.59 (including) | 2.0.59 (including) |
Http_server | Apache | 2.0.60 (including) | 2.0.60 (including) |
Http_server | Apache | 2.0.61 (including) | 2.0.61 (including) |
Http_server | Apache | 2.0.63 (including) | 2.0.63 (including) |
Http_server | Apache | 2.0.64 (including) | 2.0.64 (including) |
Apache2 | Ubuntu | devel | * |
Apache2 | Ubuntu | hardy | * |
Apache2 | Ubuntu | lucid | * |
Apache2 | Ubuntu | maverick | * |
Apache2 | Ubuntu | natty | * |
Apache2 | Ubuntu | oneiric | * |
Apache2 | Ubuntu | upstream | * |
Input validation is a frequently-used technique for checking potentially dangerous inputs in order to ensure that the inputs are safe for processing within the code, or when communicating with other components. Input can consist of:
Data can be simple or structured. Structured data can be composed of many nested layers, composed of combinations of metadata and raw data, with other simple or structured data. Many properties of raw data or metadata may need to be validated upon entry into the code, such as:
Implied or derived properties of data must often be calculated or inferred by the code itself. Errors in deriving properties may be considered a contributing factor to improper input validation.