public inbox for gentoo-announce@lists.gentoo.org
 help / color / mirror / Atom feed
From: Thierry Carrez <koon@gentoo.org>
To: gentoo-announce@lists.gentoo.org
Cc: bugtraq@securityfocus.com,  full-disclosure@lists.netsys.com,
	 security-alerts@linuxsecurity.com
Subject: [gentoo-announce] [ GLSA 200410-08 ] ncompress: Buffer overflow
Date: Sat, 09 Oct 2004 20:26:24 +0200	[thread overview]
Message-ID: <41682D50.8030708@gentoo.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 2938 bytes --]

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200410-08
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: ncompress: Buffer overflow
      Date: October 09, 2004
      Bugs: #66251
        ID: 200410-08

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

Synopsis
========

compress and uncompress, which could be used by daemon programs,
contain a buffer overflow that could lead to remote execution of
arbitrary code with the rights of the daemon process.

Background
==========

ncompress is a utility handling compression and decompression of
Lempel-Ziv archives, compatible with the original *nix compress and
uncompress utilities (.Z extensions).

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

    -------------------------------------------------------------------
     Package             /  Vulnerable  /                   Unaffected
    -------------------------------------------------------------------
  1  app-arch/ncompress      <= 4.2.4                      >= 4.2.4-r1

Description
===========

compress and uncompress do not properly check bounds on command line
options, including the filename. Large parameters would trigger a
buffer overflow.

Impact
======

By supplying a carefully crafted filename or other option, an attacker
could execute arbitrary code on the system. A local attacker could only
execute code with his own rights, but since compress and uncompress are
called by various daemon programs, this might also allow a remote
attacker to execute code with the rights of the daemon making use of
ncompress.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All ncompress users should upgrade to the latest version:

    # emerge sync

    # emerge -pv ">=app-arch/ncompress-4.2.4-r1"
    # emerge ">=app-arch/ncompress-4.2.4-r1"

References
==========

  [ 1 ] US-CERT Vulnerability Note VU#176363
        http://www.kb.cert.org/vuls/id/176363

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

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

  http://security.gentoo.org/glsa/glsa-200410-08.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 2004 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/1.0


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]

                 reply	other threads:[~2004-10-09 18:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41682D50.8030708@gentoo.org \
    --to=koon@gentoo.org \
    --cc=bugtraq@securityfocus.com \
    --cc=full-disclosure@lists.netsys.com \
    --cc=gentoo-announce@lists.gentoo.org \
    --cc=security-alerts@linuxsecurity.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox