summaryrefslogtreecommitdiff
blob: 212d0afcbe453719c269c802892e7db26bfa2a33 (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
91
92
93
94
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201811-24">
  <title>PostgreSQL: SQL injection</title>
  <synopsis>A SQL injection in PostgreSQL may allow attackers to execute
    arbitrary SQL statements.
  </synopsis>
  <product type="ebuild">postgresql</product>
  <announced>2018-11-30</announced>
  <revised count="2">2018-12-03</revised>
  <bug>670724</bug>
  <access>remote</access>
  <affected>
    <package name="dev-db/postgresql" auto="yes" arch="*">
      <unaffected range="ge" slot="9.3">9.3.25</unaffected>
      <unaffected range="ge" slot="9.4">9.4.20</unaffected>
      <unaffected range="ge" slot="9.5">9.5.15</unaffected>
      <unaffected range="ge" slot="9.6">9.6.11</unaffected>
      <unaffected range="ge" slot="10">10.6</unaffected>
      <unaffected range="ge" slot="11">11.1</unaffected>
      <vulnerable range="lt" slot="9.3">9.3.25</vulnerable>
      <vulnerable range="lt" slot="9.4">9.4.20</vulnerable>
      <vulnerable range="lt" slot="9.5">9.5.15</vulnerable>
      <vulnerable range="lt" slot="9.6">9.6.11</vulnerable>
      <vulnerable range="lt" slot="10">10.6</vulnerable>
      <vulnerable range="lt" slot="11">11.1</vulnerable>
    </package>
  </affected>
  <background>
    <p>PostgreSQL is an open source object-relational database management
      system.
    </p>
  </background>
  <description>
    <p>A vulnerability was discovered in PostgreSQL’s pg_upgrade and pg_dump.</p>
  </description>
  <impact type="normal">
    <p>An attacker, by enticing a user to process a specially crafted trigger
      definition, can execute arbitrary SQL statements with superuser
      privileges.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All PostgreSQL 9.3.x users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=dev-db/postgresql-9.3.25"
    </code>
    
    <p>All PostgreSQL 9.4.x users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=dev-db/postgresql-9.4.20"
    </code>
    
    <p>All PostgreSQL 9.5.x users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=dev-db/postgresql-9.5.15"
    </code>
    
    <p>All PostgreSQL 9.6.x users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=dev-db/postgresql-9.6.11"
    </code>
    
    <p>All PostgreSQL 10.x users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=dev-db/postgresql-10.6"
    </code>
    
    <p>All PostgreSQL 11.x users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=dev-db/postgresql-11.1"
    </code>
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/vuln/detail/CVE-2018-16850">CVE-2018-16850</uri>
  </references>
  <metadata tag="requester" timestamp="2018-11-29T21:19:15Z">b-man</metadata>
  <metadata tag="submitter" timestamp="2018-12-03T19:06:05Z">b-man</metadata>
</glsa>