CVE-2002-1850
published 2002-12-31CVE-2002-1850: 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…
PriorityP335high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EXPLOIT
EPSS
15.25%
96.4th percentile
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.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apache | http_server | — | — |
| apache | http_server | — | — |
| debian | apache2 | < apache2 2.0.42-1 (bookworm) | apache2 2.0.42-1 (bookworm) |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-vfpr-g7cv-3qw9: mod_cgi in Apache 2
ghsa_unreviewed·2022-04-30
CVE-2002-1850 [MEDIUM] CWE-667 GHSA-vfpr-g7cv-3qw9: mod_cgi in Apache 2
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.
OSV
CVE-2002-1850: mod_cgi in Apache 2
osv·2002-12-31·CVSS 7.5
CVE-2002-1850 [HIGH] CVE-2002-1850: mod_cgi in Apache 2
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.
Debian
CVE-2002-1850: apache2 - mod_cgi in Apache 2.0.39 and 2.0.40 allows local users and possibly remote attac...
vendor_debian·2002·CVSS 7.5
CVE-2002-1850 [HIGH] CVE-2002-1850: apache2 - mod_cgi in Apache 2.0.39 and 2.0.40 allows local users and possibly remote attac...
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.
Scope: local
bookworm: resolved (fixed in 2.0.42-1)
bullseye: resolved (fixed in 2.0.42-1)
forky: resolved (fixed in 2.0.42-1)
sid: resolved (fixed in 2.0.42-1)
trixie: resolved (fixed in 2.0.42-1)
Red Hat
CVE-2002-1850: mod_cgi in Apache 2
vendor_redhat·CVSS 7.5
CVE-2002-1850 [HIGH] CVE-2002-1850: mod_cgi in Apache 2
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.
Statement: Not vulnerable. This issue did not affect the versions of Apache HTTP server as shipped with Red Hat Enterprise Linux 2.1, 3, or 4.
No detection rules found.
No writeups or analysis indexed.
CWE
Deadlock
mitre_cwe·CVSS 2.1
[LOW] CWE-833 Deadlock
CWE-833: Deadlock
The product contains multiple threads or executable segments that are waiting for each other to release a necessary lock, resulting in deadlock.
Modes of Introduction:
Phase: Implementation
Common Consequences:
Scope: Availability. Impact: DoS: Resource Consumption (CPU), DoS: Resource Consumption (Other), DoS: Crash, Exit, or Restart. Each thread of execution will "hang" and prevent tasks from completing. In some cases, CPU consumption may occur if a lock check occurs in a tight loop.
Detection Methods:
Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done
CWE
Improper Locking
mitre_cwe
CWE-667 Improper Locking
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.
Locking is a type of synchronization behavior that ensures that multiple independently-operating processes or threads do not interfere with each other when accessing the same resource. All processes/threads are expected to follow the same steps for locking. If these steps are not followed precisely - or if no locking is done at all - then another process/thread could modify the shared resource in a way that is not visible or predictable to the original process. This can lead to data or memory corruption, denial of service, etc.
Modes of Introduction:
Phase: Architecture and Design
Phase: Implementation
Common Consequences:
Scope: A
http://cvs.apache.org/viewcvs.cgi/httpd-2.0/modules/generators/mod_cgi.c?r1=1.148.2.7&r2=1.148.2.8http://issues.apache.org/bugzilla/show_bug.cgi?id=10515http://issues.apache.org/bugzilla/show_bug.cgi?id=22030http://marc.info/?l=apache-httpd-dev&m=103291952019514&w=2http://seclists.org/bugtraq/2002/Sep/0253.htmlhttp://securitytracker.com/id?1007823http://www.iss.net/security_center/static/10200.phphttp://www.securityfocus.com/bid/5787http://www.securityfocus.com/bid/8725http://cvs.apache.org/viewcvs.cgi/httpd-2.0/modules/generators/mod_cgi.c?r1=1.148.2.7&r2=1.148.2.8http://issues.apache.org/bugzilla/show_bug.cgi?id=10515http://issues.apache.org/bugzilla/show_bug.cgi?id=22030http://marc.info/?l=apache-httpd-dev&m=103291952019514&w=2http://seclists.org/bugtraq/2002/Sep/0253.htmlhttp://securitytracker.com/id?1007823http://www.iss.net/security_center/static/10200.phphttp://www.securityfocus.com/bid/5787http://www.securityfocus.com/bid/8725
2002-12-31
Published