summaryrefslogtreecommitdiff
path: root/metadata/glsa/glsa-202101-21.xml
blob: 38c63fc9f4d13965abccf5d365a8130d8bff0b86 (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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="202101-21">
  <title>Flatpak: Sandbox escape</title>
  <synopsis>A vulnerability was discovered in Flatpak which could allow a
    remote attacker to execute arbitrary code.
  </synopsis>
  <product type="ebuild">flatpak</product>
  <announced>2021-01-25</announced>
  <revised count="1">2021-01-25</revised>
  <bug>765457</bug>
  <access>remote</access>
  <affected>
    <package name="sys-apps/flatpak" auto="yes" arch="*">
      <unaffected range="ge">1.10.0</unaffected>
      <vulnerable range="lt">1.10.0</vulnerable>
    </package>
  </affected>
  <background>
    <p>Flatpak is a Linux application sandboxing and distribution framework.</p>
  </background>
  <description>
    <p>A bug was discovered in the flatpak-portal service that can allow
      sandboxed applications to execute arbitrary code on the host system (a
      sandbox escape).
    </p>
  </description>
  <impact type="normal">
    <p>A remote attacker could entice a user to open a specially crafted
      Flatpak app possibly resulting in execution of arbitrary code with the
      privileges of the process or a Denial of Service condition.
    </p>
  </impact>
  <workaround>
    <p>As a workaround, this vulnerability can be mitigated by preventing the
      flatpak-portal service from starting, but that mitigation will prevent
      many Flatpak apps from working correctly. It is highly recommended to
      upgrade.
    </p>
  </workaround>
  <resolution>
    <p>All Flatpak users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=sys-apps/flatpak-1.10.0"
    </code>
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/vuln/detail/CVE-2021-21261">CVE-2021-21261</uri>
  </references>
  <metadata tag="requester" timestamp="2021-01-22T00:26:55Z">sam_c</metadata>
  <metadata tag="submitter" timestamp="2021-01-25T00:07:24Z">b-man</metadata>
</glsa>