Gentoo: Newspost Buffer overflow vulnerability
Posted by Benjamin D. Thomas   
Gentoo A buffer overflow can be exploited to crash Newspost remotely and potentially execute arbitrary code.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200502-05
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: Newspost: Buffer overflow vulnerability
      Date: February 03, 2005
      Bugs: #78530
        ID: 200502-05

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

A buffer overflow can be exploited to crash Newspost remotely and
potentially execute arbitrary code.

Background
==========

Newspost is a Usenet News binary autoposter.

Affected packages
=================

    -------------------------------------------------------------------
     Package            /  Vulnerable  /                    Unaffected
    -------------------------------------------------------------------
  1  net-nntp/newspost      < 2.0-r1                         >= 2.0-r1

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-nttp/newspost-2.0-r1"

References
==========

  [ 1 ] CAN-2005-0101
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0101

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200502-05.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2005 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.0