FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

newspost -- server response buffer overflow vulnerability

Affected packages
newspost <= 2.1.1


VuXML ID 7f13607b-6948-11d9-8937-00065be4b5b6
Discovery 2005-01-14
Entry 2005-02-01

The newspost program uses a function named socket_getline to read server responses from the network socket. Unfortunately this function does not check the length of the buffer in which the read data is stored and only stops reading when a newline character is found.

A malicious NNTP server could use this bug to cause a buffer overflow by sending an overly long response. Such an overflow allows arbitrary code to be executed, with the privileges of the newspost process, on the affected systems.


CVE Name CVE-2005-0101