Description
mod_cgi in Apache 2.0.39 and 2.0.40 allows local users and possibly remote attackers to cause a denial of service (hang and memory consumption) by causing a CGI script to send a large amount of data to stderr, which results in a read/write deadlock between httpd and the CGI script.
Vulnerability type
CWE-667
Improper Locking
The product does not properly acquire or release a lock on a resource, leading to unexpected resource state changes and behaviors.
Impact on systems
| Scope | Impact |
| Availability |
DoS: Resource Consumption (CPU) Inconsistent locking discipline can lead to deadlock. |
| Integrity |
Modify Memory, Modify Application Data This can lead to data or memory corruption. |
| Other |
Varies by Context, Unexpected State This can lead to unexpected resource state changes and behaviors. |
How to prevent it
Implementation · Libraries or Frameworks
Use industry standard APIs to implement locking mechanism.
All 738 CWE-667 CVEs, with trend and prevention