GNU GNATS Syslog() Format String Vulnerability

BID:10609

Info

GNU GNATS Syslog() Format String Vulnerability

Bugtraq ID: 10609
Class: Input Validation Error
CVE: CVE-2004-0623
Remote: Yes
Local: No
Published: Jun 25 2004 12:00AM
Updated: Jul 12 2009 05:16AM
Credit: Khan Shirani <[email protected]> disclosed this vulnerability.
Vulnerable: GNU GNATS 4.0
GNU GNATS 3.999
+ Debian Linux 3.0 sparc
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 alpha
+ Debian Linux 3.0 alpha
+ Debian Linux 3.0
+ Debian Linux 3.0
GNU GNATS 3.113.1
GNU GNATS 3.113 .1_6
GNU GNATS 3.113
GNU GNATS 3.14 b
GNU GNATS 3.2
GNU GNATS 3.0 02
Not Vulnerable:

Discussion

GNU GNATS Syslog() Format String Vulnerability

It is reported that GNU GNATS contains a format string vulnerability in its logging function.

GNATS has the ability to log to various files: stderr, syslog() or a file.

If an attacker devises a method of controlling the arguments to the logging function, they would be able to read or write arbitrary locations in memory. Code execution could be possible.

GNU GNATS version 4.0 is reported vulnerable. Other version may also be affected.

NOTE: It has been reported that this issue is not exploitable due the application never passing user-supplied data to the affected formatted printing function. This is not verified, however, if it the case this issue is not exploitable. This BID will be updated when more information becomes available.

Exploit / POC

GNU GNATS Syslog() Format String Vulnerability

Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] &lt;mailto:[email protected]&gt;.

Solution / Fix

GNU GNATS Syslog() Format String Vulnerability

Solution:
Debian has released an advisory (DSA 590-1) to address this issue. Please see the referenced advisory for more information.

Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.


GNU GNATS 3.999

References

GNU GNATS Syslog() Format String Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report