summaryrefslogtreecommitdiff
blob: 28e9a34258aec237821d5ff5ce7201364b82616d (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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201612-20">
  <title>jq: Buffer overflow</title>
  <synopsis>A buffer overflow in jq might allow remote attackers to execute
    arbitrary code.
  </synopsis>
  <product type="ebuild">jq</product>
  <announced>2016-12-08</announced>
  <revised>2016-12-08: 1</revised>
  <bug>580606</bug>
  <access>remote</access>
  <affected>
    <package name="app-misc/jq" auto="yes" arch="*">
      <unaffected range="ge">1.5-r2</unaffected>
      <vulnerable range="lt">1.5-r2</vulnerable>
    </package>
  </affected>
  <background>
    <p>jq is a lightweight and flexible command-line JSON processor.</p>
  </background>
  <description>
    <p>An off-by-one error was discovered in the tokenadd function in
      jv_parse.c which triggers a heap-based buffer overflow.
    </p>
  </description>
  <impact type="normal">
    <p>A remote attacker could trick a victim into processing a specially
      crafted JSON file, possibly resulting in the execution of arbitrary code
      with the privileges of the process.  Additionally, a remote attacker
      could cause a Denial of Service condition.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All jq users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=app-misc/jq-1.5-r2"
    </code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-8863">
      CVE-2015-8863
    </uri>
  </references>
  <metadata tag="requester" timestamp="2016-11-29T20:07:39Z">whissi</metadata>
  <metadata tag="submitter" timestamp="2016-12-08T13:09:23Z">whissi</metadata>
</glsa>