summaryrefslogtreecommitdiff
path: root/metadata/glsa/glsa-200410-08.xml
blob: c218f06557919530aa857fcc570093f6d9a878b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200410-08">
  <title>ncompress: Buffer overflow</title>
  <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.
  </synopsis>
  <product type="ebuild">ncompress</product>
  <announced>2004-10-09</announced>
  <revised count="02">2006-05-22</revised>
  <bug>66251</bug>
  <access>remote</access>
  <affected>
    <package name="app-arch/ncompress" auto="yes" arch="*">
      <unaffected range="ge">4.2.4-r1</unaffected>
      <vulnerable range="le">4.2.4</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    ncompress is a utility handling compression and decompression of
    Lempel-Ziv archives, compatible with the original *nix compress and
    uncompress utilities (.Z extensions).
    </p>
  </background>
  <description>
    <p>
    compress and uncompress do not properly check bounds on command line
    options, including the filename. Large parameters would trigger a
    buffer overflow.
    </p>
  </description>
  <impact type="normal">
    <p>
    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.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All ncompress users should upgrade to the latest version:
    </p>
    <code>
    # emerge sync
    
    # emerge -pv "&gt;=app-arch/ncompress-4.2.4-r1"
    # emerge "&gt;=app-arch/ncompress-4.2.4-r1"</code>
  </resolution>
  <references>
    <uri link="https://www.kb.cert.org/vuls/id/176363">US-CERT Vulnerability Note VU#176363</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2001-1413">CVE-2001-1413</uri>
  </references>
  <metadata tag="requester" timestamp="2004-10-08T21:09:39Z">
    koon
  </metadata>
  <metadata tag="bugReady" timestamp="2004-10-08T21:11:15Z">
    koon
  </metadata>
  <metadata tag="submitter" timestamp="2004-10-09T10:24:20Z">
    koon
  </metadata>
</glsa>