Newspost: Buffer overflow vulnerability
Gentoo Linux Security Advisory
||GLSA 200502-05 / newspost
||February 03, 2005
||February 21, 2005: 02
All supported architectures
A buffer overflow can be exploited to crash Newspost remotely and
potentially execute arbitrary code.
Newspost is a Usenet News binary autoposter.
Niels Heinen has discovered a buffer overflow in the socket_getline()
function of Newspost, which can be triggered by providing long strings
that do not end with a newline character.
A remote attacker could setup a malicious NNTP server and entice a
Newspost user to post to it, leading to the crash of the Newspost
process and potentially the execution of arbitrary code with the rights
of the Newspost user.
There is no known workaround at this time.
All Newspost users should upgrade to the latest version:
Code Listing 3.1: Resolution
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-nntp/newspost-2.0-r1"