summaryrefslogtreecommitdiff
path: root/metadata/glsa/glsa-202101-18.xml
blob: 03d6e27b19ce5d4776b442c3a76b7bf668d3a6cd (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="202101-18">
  <title>Python: Multiple vulnerabilities</title>
  <synopsis>Multiple vulnerabilities have been found in Python, the worst of
    which could result in the arbitrary execution of code.
  </synopsis>
  <product type="ebuild">python</product>
  <announced>2021-01-24</announced>
  <revised count="1">2021-01-24</revised>
  <bug>749339</bug>
  <bug>759928</bug>
  <bug>766189</bug>
  <access>remote</access>
  <affected>
    <package name="dev-lang/python" auto="yes" arch="*">
      <unaffected range="ge" slot="2.7">2.7.18-r6</unaffected>
      <unaffected range="ge" slot="3.6">3.6.12-r2</unaffected>
      <unaffected range="ge" slot="3.7">3.7.9-r2</unaffected>
      <unaffected range="ge" slot="3.8">3.8.7-r1</unaffected>
      <unaffected range="ge" slot="3.9">3.9.1-r1</unaffected>
      <vulnerable range="lt" slot="2.7">2.7.18-r6</vulnerable>
      <vulnerable range="lt" slot="3.6">3.6.12-r2</vulnerable>
      <vulnerable range="lt" slot="3.7">3.7.9-r2</vulnerable>
      <vulnerable range="lt" slot="3.8">3.8.7-r1</vulnerable>
      <vulnerable range="lt" slot="3.9">3.9.1-r1</vulnerable>
    </package>
  </affected>
  <background>
    <p>Python is an interpreted, interactive, object-oriented programming
      language.
    </p>
  </background>
  <description>
    <p>Multiple vulnerabilities have been discovered in Python. Please review
      the bugs referenced below for details.
    </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 Python 2.7 users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=dev-lang/python-2.7.18-r5"
    </code>
    
    <p>All Python 3.6 users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=dev-lang/python-3.6.12-r1"
    </code>
    
    <p>All Python 3.7 users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=dev-lang/python-3.7.9-r1"
    </code>
    
    <p>All Python 3.8 users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=dev-lang/python-3.8.6-r1"
    </code>
    
    <p>All Python 3.9 users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=dev-lang/python-3.9.0-r1"
    </code>
    
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/vuln/detail/CVE-2020-26116">CVE-2020-26116</uri>
    <uri link="https://nvd.nist.gov/vuln/detail/CVE-2021-3177">CVE-2021-3177</uri>
  </references>
  <metadata tag="requester" timestamp="2021-01-04T03:36:56Z">sam_c</metadata>
  <metadata tag="submitter" timestamp="2021-01-24T23:58:22Z">sam_c</metadata>
</glsa>