CVE-2004-2687 in the critical feed json
distcc 2.x, as used in XCode 1.5 and others, when not configured to restrict access to the server port, allows remote attackers to execute…
published 2004-12-31 21 y ago modified 2026-06-16 4 mo ago also EUVD-2004-2677
- cvss
- 9.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 87.4%
- EPSS 87.4% chance of exploitation in 30 days, percentile 99.7%
- public exploits
- 2
- Metasploit, Exploit-DB, plus a Nuclei check
Summary
distcc 2.x, as used in XCode 1.5 and others, when not configured to restrict access to the server port, allows remote attackers to execute arbitrary commands via compilation jobs, which are executed by the server without authorization checks.
Patch / fix
- distcc Debian 14, Debian 13, Debian 12 2.18.1-1
debian advisories DEBIAN-CVE-2004-2687
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2004-2687 updated cvss 7.5
distcc: TCP mode has too permissive default IP address whitelist
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (Metasploit exploit/unix/misc/distcc_exec)
- Published
Exploit prediction
87.36% chance of exploitation in the next 30 days, higher than 99.7% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Metasploit exploit/unix/misc/distcc_exec DistCC Daemon Command Execution metasploit exploit, excellent rank, 2002-02-01
- EDB-9915 DistCC Daemon - Command Execution (Metasploit) remote, 2002-02-01
- Nuclei template Distccd v1 - Remote Code Execution nuclei detection template
- metasploit.org http://www.metasploit.org/projects/Framework/exploits.html#distcc_exec referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 9.3 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-16 Configuration
References
-
metasploit.org
/projects/Framework/exploits.html#distcc_exec
exploit
-
archives.neohapsis.com
/archives/bugtraq/2005-03/0183.html
mailing-list
-
osvdb.org
/13378
vdb-entry
-
lists.samba.org
/archive/distcc/2004q3/002562.html
mailing-list
- distcc.samba.org /security.html
-
lists.samba.org
/archive/distcc/2004q3/002550.html
mailing-list
Sources
- CVE List CVE-2004-2687
- NVD CVE-2004-2687
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.