summaryrefslogtreecommitdiff
blob: cc568e2427e09ea5ba58accdcd8799f3eb9cd77c (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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="202007-27">
  <title>Haml: Arbitrary code execution</title>
  <synopsis>A flaw in Haml allows arbitrary code execution as a result of
    improper filtering.
  </synopsis>
  <product type="ebuild">haml</product>
  <announced>2020-07-27</announced>
  <revised count="1">2020-07-27</revised>
  <bug>699840</bug>
  <access>remote</access>
  <affected>
    <package name="dev-ruby/haml" auto="yes" arch="*">
      <unaffected range="ge">5.1.2</unaffected>
      <vulnerable range="lt">5.1.2</vulnerable>
    </package>
  </affected>
  <background>
    <p>Haml is a templating engine for HTML.</p>
  </background>
  <description>
    <p>It was discovered that Haml was not correctly filtering out special
      characters which may be used for attributes.
    </p>
  </description>
  <impact type="normal">
    <p>A remote attacker could possibly execute arbitrary code with the
      privileges of the process or cause a Denial of Service condition.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All Haml users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=dev-ruby/haml-5.1.2"
    </code>
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/vuln/detail/CVE-2017-1002201">
      CVE-2017-1002201
    </uri>
  </references>
  <metadata tag="requester" timestamp="2020-05-22T01:38:59Z">BlueKnight</metadata>
  <metadata tag="submitter" timestamp="2020-07-27T00:18:18Z">sam_c</metadata>
</glsa>