summaryrefslogtreecommitdiff
blob: bed37652846e774a9db8fa134edc94776ab93ea3 (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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201612-12">
  <title>Patch: Denial of service</title>
  <synopsis>Patch is vulnerable to a locally generated Denial of Service
    condition.
  </synopsis>
  <product type="ebuild">patch</product>
  <announced>2016-12-05</announced>
  <revised count="1">2016-12-05</revised>
  <bug>538658</bug>
  <access>local</access>
  <affected>
    <package name="sys-devel/patch" auto="yes" arch="*">
      <unaffected range="ge">2.7.4</unaffected>
      <vulnerable range="lt">2.7.4</vulnerable>
    </package>
  </affected>
  <background>
    <p>Patch takes a patch file containing a difference listing produced by the
      diff program and applies those differences to one or more original files,
      producing patched versions.
    </p>
  </background>
  <description>
    <p>Due to a flaw in Patch, the application can enter an infinite loop when
      processing a specially crafted diff file.
    </p>
  </description>
  <impact type="normal">
    <p>A local attacker could pass a specially crafted diff file to Patch,
      possibly resulting in a Denial of Service condition.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All patch users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=sys-devel/patch-2.7.4"
    </code>
    
  </resolution>
  <references>
  </references>
  <metadata tag="requester" timestamp="2016-02-25T07:47:45Z">
    BlueKnight
  </metadata>
  <metadata tag="submitter" timestamp="2016-12-05T01:16:43Z">whissi</metadata>
</glsa>