Newspost: Buffer overflow vulnerability

2005-02-03T00:00:00
ID GLSA-200502-05
Type gentoo
Reporter Gentoo Foundation
Modified 2005-02-21T00:00:00

Description

Background

Newspost is a Usenet News binary autoposter.

Description

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.

Impact

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.

Workaround

There is no known workaround at this time.

Resolution

All Newspost users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=net-nntp/newspost-2.0-r1"