summaryrefslogtreecommitdiff
blob: 47d6f3e0f5a5ebe1999fe2cd6421ba2edd9dc69c (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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200405-12">
  <title>CVS heap overflow vulnerability</title>
  <synopsis>
    CVS is subject to a heap overflow vulnerability allowing source repository
    compromise.
  </synopsis>
  <product type="ebuild">cvs</product>
  <announced>2004-05-20</announced>
  <revised count="01">2004-05-20</revised>
  <bug>51460</bug>
  <access>remote </access>
  <affected>
    <package name="dev-util/cvs" auto="yes" arch="*">
      <unaffected range="ge">1.11.16</unaffected>
      <vulnerable range="le">1.11.15</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    CVS (Concurrent Versions System) is an open-source network-transparent
    version control system. It contains both a client utility and a server.
    </p>
  </background>
  <description>
    <p>
    Stefan Esser discovered a heap overflow in the CVS server, which can be
    triggered by sending malicious "Entry" lines and manipulating the flags
    related to that Entry. This vulnerability was proven to be exploitable.
    </p>
  </description>
  <impact type="high">
    <p>
    A remote attacker can execute arbitrary code on the CVS server, with the
    rights of the CVS server. By default, Gentoo uses the "cvs" user to run the
    CVS server. In particular, this flaw allows a complete compromise of CVS
    source repositories. If you're not running a server, then you are not
    vulnerable.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time. All users are advised to upgrade
    to the latest available version of CVS.
    </p>
  </workaround>
  <resolution>
    <p>
    All users running a CVS server should upgrade to the latest stable version:
    </p>
    <code>
    # emerge sync

    # emerge -pv "&gt;=dev-util/cvs-1.11.16"
    # emerge "&gt;=dev-util/cvs-1.11.16"</code>
  </resolution>
  <references>
    <uri link="http://security.e-matters.de/advisories/072004.html">E-matters advisory 07/2004</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0396">CAN-2004-0396</uri>
  </references>
  <metadata tag="submitter">
    koon
  </metadata>
</glsa>