summaryrefslogtreecommitdiff
blob: f44b167e62254b9a2820699de2a86fbb4a3c4162 (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="201710-02">
  <title>file: Stack-based buffer overflow</title>
  <synopsis>A stack-based buffer overflow was found in file, possibly resulting
    in the execution of arbitrary code.
  </synopsis>
  <product type="ebuild">file</product>
  <announced>2017-10-08</announced>
  <revised>2017-10-08: 1</revised>
  <bug>629872</bug>
  <access>remote</access>
  <affected>
    <package name="sys-apps/file" auto="yes" arch="*">
      <unaffected range="ge">5.32</unaffected>
      <vulnerable range="lt">5.32</vulnerable>
    </package>
  </affected>
  <background>
    <p>file is a utility that guesses a file format by scanning binary data for
      patterns.
    </p>
  </background>
  <description>
    <p>An issue discovered in file allows attackers to write 20 bytes to the
      stack buffer via a specially crafted .notes section.
    </p>
  </description>
  <impact type="normal">
    <p>A remote attacker, by using a specially crafted .notes section in an ELF
      binary, could execute arbitrary code or cause a Denial of Service
      condition.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All file users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=sys-apps/file-5.32"
    </code>
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2017-1000249">
      CVE-2017-1000249
    </uri>
  </references>
  <metadata tag="requester" timestamp="2017-09-29T23:38:45Z">chrisadr</metadata>
  <metadata tag="submitter" timestamp="2017-10-08T13:26:24Z">chrisadr</metadata>
</glsa>