FreeBSD getnameinfo() Denial of Service Vulnerability

BID:1894

Info

FreeBSD getnameinfo() Denial of Service Vulnerability

Bugtraq ID: 1894
Class: Input Validation Error
CVE: CVE-2000-1066
Remote: Yes
Local: No
Published: Nov 01 2000 12:00AM
Updated: Jul 11 2009 03:56AM
Credit: First published in FreeBSD advisory SA-00:63 on November 1, 2000.
Vulnerable: FreeBSD FreeBSD 4.1.1 -RELEASE
FreeBSD FreeBSD 4.1.1
FreeBSD FreeBSD 4.1
FreeBSD FreeBSD 4.0 alpha
FreeBSD FreeBSD 4.0
Not Vulnerable:

Discussion

FreeBSD getnameinfo() Denial of Service Vulnerability

The getnameinfo() function is used by network programs to retrieve the resolved names for the address and port values in socket address structures (it returns hostname and service name strings). The implementation of this fuction that ships with BSD systems contains an off-by-one vulnerability that can lead to a remotely caused denial of service. If a malicious user controlling the victims DNS server has the service return an "extra long" hostname in response to a query made through the use of getnameinfo(), the program calling the function will crash. This attack can be used to disable a "one time" service not spawned by inetd that uses getnameinfo() before forking any children to deal with clients.

Exploit / POC

FreeBSD getnameinfo() Denial of Service Vulnerability

Currently the SecurityFocus staff 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].
© 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