CVE-2004-1701 in Gnu Cfengine
Heap-based buffer overflow in the AuthenticationDialogue function in cfservd for Cfengine 2.0.0 to 2.1.7p1 allows remote attackers to execute arbitrary code via a long SAUTH command during RSA authentication.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Gnu | Cfengine | 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5+5 more2.0.6 2.0.7 2.0.8 2.1.0 2.1.7 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
Heap-based buffer overflow in the AuthenticationDialogue function in cfservd for Cfengine 2.0.0 to 2.1.7p1 allows remote attackers to execute arbitrary code via a long SAUTH command during RSA authentication.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2004-1701 |
|---|---|
| BreachSpider ID | BS-2004-GLOBAL-158000-C |
| CVSS vector | AV:N/AC:L/Au:N/C:C/I:C/A:C |
| Published | 2004-08-09 |
| Last modified | 2026-06-16 |
| Source | NVD |
Analysis AI-written, not human-reviewed
A heap-based buffer overflow vulnerability in the AuthenticationDialogue function of cfservd in Cfengine versions 2.0.0 to 2.1.7p1 allows remote attackers to execute arbitrary code by sending a long SAUTH command during RSA authentication.
The vulnerability is triggered by sending a specially crafted SAUTH command that exceeds the buffer size allocated for the AuthenticationDialogue function, leading to a heap-based buffer overflow. This can be exploited by a remote attacker to execute arbitrary code with the privileges of the cfservd process.
Questions
What is CVE-2004-1701?
A heap-based buffer overflow vulnerability in the AuthenticationDialogue function of cfservd in Cfengine versions 2.0.0 to 2.1.7p1 allows remote attackers to execute arbitrary code by sending a long SAUTH command during RSA authentication.
What is the CVSS score for CVE-2004-1701?
CVE-2004-1701 has CVSS 10.0 (Critical). Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C. EPSS: 19.5%.
Is CVE-2004-1701 actively exploited?
Public exploit available for CVE-2004-1701. Exploitation risk elevated.
How do I remediate CVE-2004-1701?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2004-1701?
CVE-2004-1701 affects Gnu Cfengine.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Gnu","product":"Cfengine","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.