VYPR
Unrated severityNVD Advisory· Published Nov 23, 2004· Updated Apr 16, 2026

CVE-2004-0354

CVE-2004-0354

Description

Multiple format string vulnerabilities in GNU Anubis 3.6.0-3.6.2, 3.9.92, and 3.9.93 allow remote attackers to execute arbitrary code via crafted strings sent to the info, anubis_error, or ssl_error functions.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Multiple format string vulnerabilities in GNU Anubis 3.6.0-3.6.2, 3.9.92, and 3.9.93 allow remote attackers to execute arbitrary code via crafted strings sent to the info, anubis_error, or ssl_error functions.

Vulnerability

GNU Anubis versions 3.6.0, 3.6.1, 3.6.2, 3.9.92, and 3.9.93 contain multiple format string bugs in three functions: the info() function in log.c, the anubis_error() function in errs.c, and the ssl_error() function in ssl.c. These functions pass user-supplied strings directly to syslog() or a logging function that interprets format string specifiers, allowing an attacker to supply malicious format tokens [1][2].

Exploitation

An unauthenticated remote attacker can exploit these vulnerabilities by sending specially crafted data—such as SMTP commands or other network input—that includes format string specifiers (e.g., %n, %x) to the Anubis service. No prior authentication is required, as the vulnerable code paths are reachable before privilege separation occurs [1]. The attacker does not need a local account; network access to the Anubis proxy port is sufficient.

Impact

Successful exploitation allows arbitrary code execution with the privileges of the Anubis process, which typically runs as root and drops privileges only after certain processing stages. An attacker can achieve full remote compromise, potentially gaining root access to the mail server [1].

Mitigation

The vendor (GNU Anubis Team) released patches for versions 3.6.2 and 3.9.93 on February 28, 2004, available from the Savannah patch tracker [2]. Users should upgrade to the patched versions or apply the official vendor patches. Later versions (post-3.9.93) already include the fix. For unsupported versions (3.6.0, 3.6.1, 3.9.92), upgrading to a patched release is mandatory [1][2].

AI Insight generated on May 24, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

6
  • GNU/Anubis6 versions
    cpe:2.3:a:gnu:anubis:3.6.0:*:*:*:*:*:*:*+ 5 more
    • cpe:2.3:a:gnu:anubis:3.6.0:*:*:*:*:*:*:*
    • cpe:2.3:a:gnu:anubis:3.6.1:*:*:*:*:*:*:*
    • cpe:2.3:a:gnu:anubis:3.6.2:*:*:*:*:*:*:*
    • cpe:2.3:a:gnu:anubis:3.9.92:*:*:*:*:*:*:*
    • cpe:2.3:a:gnu:anubis:3.9.93:*:*:*:*:*:*:*
    • (no CPE)range: 3.6.0-3.6.2, 3.9.92, 3.9.93

Patches

0

No patches discovered yet.

Vulnerability mechanics

No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.

References

4

News mentions

0

No linked articles in our index yet.