CVE-2003-0740
published 2003-10-20CVE-2003-0740: Stunnel 4.00, and 3.24 and earlier, leaks a privileged file descriptor returned by listen(), which allows local users to hijack the Stunnel server.
PriorityP413medium4.6CVSS 2.0
AVLACLAuNCPIPAP
EXPLOIT
EPSS
0.70%
48.7th percentile
Stunnel 4.00, and 3.24 and earlier, leaks a privileged file descriptor returned by listen(), which allows local users to hijack the Stunnel server.
Affected
24 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | stunnel4 | < stunnel4 2:4.04 (bookworm) | stunnel4 2:4.04 (bookworm) |
| stunnel | stunnel | — | — |
| stunnel | stunnel | — | — |
| stunnel | stunnel | — | — |
| stunnel | stunnel | — | — |
| stunnel | stunnel | — | — |
| stunnel | stunnel | — | — |
| stunnel | stunnel | — | — |
| stunnel | stunnel | — | — |
| stunnel | stunnel | — | — |
| stunnel | stunnel | — | — |
| stunnel | stunnel | — | — |
| stunnel | stunnel | — | — |
| stunnel | stunnel | — | — |
| stunnel | stunnel | — | — |
| stunnel | stunnel | — | — |
| stunnel | stunnel | — | — |
| stunnel | stunnel | — | — |
| stunnel | stunnel | — | — |
| stunnel | stunnel | — | — |
| stunnel | stunnel | — | — |
| stunnel | stunnel | — | — |
| stunnel | stunnel | — | — |
| stunnel | stunnel | — | — |
CVSS provenance
nvdv2.04.6MEDIUMAV:L/AC:L/Au:N/C:P/I:P/A:P
osv4.6MEDIUM
vendor_debian4.6MEDIUM
vendor_redhat4.6MEDIUM
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-94h5-4g3p-4v6g: Stunnel 4
ghsa_unreviewed·2022-04-29
CVE-2003-0740 [MEDIUM] GHSA-94h5-4g3p-4v6g: Stunnel 4
Stunnel 4.00, and 3.24 and earlier, leaks a privileged file descriptor returned by listen(), which allows local users to hijack the Stunnel server.
OSV
CVE-2003-0740: Stunnel 4
osv·2003-10-20·CVSS 4.6
CVE-2003-0740 [MEDIUM] CVE-2003-0740: Stunnel 4
Stunnel 4.00, and 3.24 and earlier, leaks a privileged file descriptor returned by listen(), which allows local users to hijack the Stunnel server.
Red Hat
security flaw
vendor_redhat·2003-09-03·CVSS 4.6
CVE-2003-0740 [MEDIUM] security flaw
security flaw
Stunnel 4.00, and 3.24 and earlier, leaks a privileged file descriptor returned by listen(), which allows local users to hijack the Stunnel server.
Debian
CVE-2003-0740: stunnel4 - Stunnel 4.00, and 3.24 and earlier, leaks a privileged file descriptor returned ...
vendor_debian·2003·CVSS 4.6
CVE-2003-0740 [MEDIUM] CVE-2003-0740: stunnel4 - Stunnel 4.00, and 3.24 and earlier, leaks a privileged file descriptor returned ...
Stunnel 4.00, and 3.24 and earlier, leaks a privileged file descriptor returned by listen(), which allows local users to hijack the Stunnel server.
Scope: local
bookworm: resolved (fixed in 2:4.04)
bullseye: resolved (fixed in 2:4.04)
forky: resolved (fixed in 2:4.04)
sid: resolved (fixed in 2:4.04)
trixie: resolved (fixed in 2:4.04)
No detection rules found.
CWE
Exposure of File Descriptor to Unintended Control Sphere ('File Descriptor Leak')
mitre_cwe·CVSS 7.2
[HIGH] CWE-403 Exposure of File Descriptor to Unintended Control Sphere ('File Descriptor Leak')
CWE-403: Exposure of File Descriptor to Unintended Control Sphere ('File Descriptor Leak')
A process does not close sensitive file descriptors before invoking a child process, which allows the child to perform unauthorized I/O operations using those descriptors.
When a new process is forked or executed, the child process inherits any open file descriptors. When the child process has fewer privileges than the parent process, this might introduce a vulnerability if the child process can access the file descriptor but does not have the privileges to access the associated file.
Modes of Introduction:
Phase: Implementation
Note: REALIZATION: This weakness is caused during implementation of an architectural security tactic.
Common Consequences:
Scope: Confidentiality, Integrity. Impact: Read
CWE
Transmission of Private Resources into a New Sphere ('Resource Leak')
mitre_cwe·CVSS 4.6
[MEDIUM] CWE-402 Transmission of Private Resources into a New Sphere ('Resource Leak')
CWE-402: Transmission of Private Resources into a New Sphere ('Resource Leak')
The product makes resources available to untrusted parties when those resources are only intended to be accessed by the product.
Modes of Introduction:
Phase: Architecture and Design
Phase: Implementation
Common Consequences:
Scope: Confidentiality. Impact: Read Application Data.
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 by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000736http://marc.info/?l=bugtraq&m=106260760211958&w=2http://www.mandriva.com/security/advisories?name=MDKSA-2003:108http://www.redhat.com/support/errata/RHSA-2003-297.htmlhttp://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000736http://marc.info/?l=bugtraq&m=106260760211958&w=2http://www.mandriva.com/security/advisories?name=MDKSA-2003:108http://www.redhat.com/support/errata/RHSA-2003-297.html
2003-10-20
Published