<div class="container">
    <h1>Security update for postgresql12</h1>

    <table class="table table-striped table-bordered">
        <tbody>
        <tr>
            <th>Announcement ID:</th>
            <td>SUSE-SU-2023:4433-1</td>
        </tr>
        
        <tr>
            <th>Rating:</th>
            <td>important</td>
        </tr>
        <tr>
            <th>References:</th>
            <td>
                <ul>
                    
                        <li style="display: inline;">
                            <a href="https://bugzilla.suse.com/show_bug.cgi?id=1216022">bsc#1216022</a>
                        </li>
                    
                        <li style="display: inline;">
                            <a href="https://bugzilla.suse.com/show_bug.cgi?id=1216734">bsc#1216734</a>
                        </li>
                    
                        <li style="display: inline;">
                            <a href="https://bugzilla.suse.com/show_bug.cgi?id=1216960">bsc#1216960</a>
                        </li>
                    
                        <li style="display: inline;">
                            <a href="https://bugzilla.suse.com/show_bug.cgi?id=1216961">bsc#1216961</a>
                        </li>
                    
                        <li style="display: inline;">
                            <a href="https://bugzilla.suse.com/show_bug.cgi?id=1216962">bsc#1216962</a>
                        </li>
                    
                    
                </ul>
            </td>
        </tr>
        
            <tr>
                <th>
                    Cross-References:
                </th>
                <td>
                    <ul>
                    
                        <li style="display: inline;">
                            <a href="https://www.suse.com/security/cve/CVE-2023-5868.html">CVE-2023-5868</a>
                        </li>
                    
                        <li style="display: inline;">
                            <a href="https://www.suse.com/security/cve/CVE-2023-5869.html">CVE-2023-5869</a>
                        </li>
                    
                        <li style="display: inline;">
                            <a href="https://www.suse.com/security/cve/CVE-2023-5870.html">CVE-2023-5870</a>
                        </li>
                    
                    </ul>
                </td>
            </tr>
            <tr>
                <th>CVSS scores:</th>
                <td>
                    <ul class="list-group">
                        
                            <li class="list-group-item">
                                <span class="cvss-reference">CVE-2023-5868</span>
                                <span class="cvss-source">
                                    (
                                    
                                        SUSE
                                    
                                    ):
                                </span>
                                <span class="cvss-score">7.5</span>
                                <span class="cvss-vector">CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N</span>
                            </li>
                        
                            <li class="list-group-item">
                                <span class="cvss-reference">CVE-2023-5869</span>
                                <span class="cvss-source">
                                    (
                                    
                                        SUSE
                                    
                                    ):
                                </span>
                                <span class="cvss-score">9.8</span>
                                <span class="cvss-vector">CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H</span>
                            </li>
                        
                            <li class="list-group-item">
                                <span class="cvss-reference">CVE-2023-5870</span>
                                <span class="cvss-source">
                                    (
                                    
                                        SUSE
                                    
                                    ):
                                </span>
                                <span class="cvss-score">6.2</span>
                                <span class="cvss-vector">CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H</span>
                            </li>
                        
                    </ul>
                </td>
            </tr>
        
        <tr>
            <th>Affected Products:</th>
            <td>
                <ul class="list-group">
                    
                        <li class="list-group-item">SUSE Linux Enterprise High Performance Computing 12 SP5</li>
                    
                        <li class="list-group-item">SUSE Linux Enterprise Server 12 SP5</li>
                    
                        <li class="list-group-item">SUSE Linux Enterprise Server for SAP Applications 12 SP5</li>
                    
                        <li class="list-group-item">SUSE Linux Enterprise Software Development Kit 12 SP5</li>
                    
                </ul>
            </td>
        </tr>
        </tbody>
    </table>

    <p>An update that solves three vulnerabilities and has two security fixes can now be installed.</p>

    


    
        <h2>Description:</h2>
    
    <p>This update for postgresql12 fixes the following issues:</p>
<p>Security issues fixed:</p>
<ul>
<li>CVE-2023-5868: Fix handling of unknown-type
  arguments in DISTINCT "any" aggregate functions. This error led
  to a text-type value being interpreted as an unknown-type value
  (that is, a zero-terminated string) at runtime. This could
  result in disclosure of server memory following the text value. (bsc#1216962)</li>
<li>CVE-2023-5869: Detect integer overflow while
  computing new array dimensions. When assigning new elements to
  array subscripts that are outside the current array bounds, an
  undetected integer overflow could occur in edge cases. Memory
  stomps that are potentially exploitable for arbitrary code
  execution are possible, and so is disclosure of server memory. (bsc#1216961)</li>
<li>
<p>CVE-2023-5870: Prevent the pg_signal_backend role
  from signalling background workers and autovacuum processes.
  The documentation says that pg_signal_backend cannot issue
  signals to superuser-owned processes. It was able to signal
  these background  processes, though, because they advertise a
  role OID of zero. Treat that as indicating superuser ownership.
  The security implications of cancelling one of these process
  types are fairly small so far as the core code goes (we&#x27;ll just
  start another one), but extensions might add background workers
  that are more vulnerable.
  Also ensure that the is_superuser parameter is set correctly in
  such processes. No specific security consequences are known for
  that oversight, but it might be significant for some extensions.
  (bsc#1216960)</p>
</li>
<li>
<p>Update to 12.17 https://www.postgresql.org/docs/12/release-12-17.html</p>
</li>
<li>
<p>Overhaul postgresql-README.SUSE and move it from the binary
  package to the noarch wrapper package.</p>
</li>
<li>Change the unix domain socket location from /var/run to /run.</li>
</ul>



    

    <h2>Patch Instructions:</h2>
    <p>
        To install this SUSE  update use the SUSE recommended
        installation methods like YaST online_update or "zypper patch".<br/>

        Alternatively you can run the command listed for your product:
    </p>
    <ul class="list-group">
        
            <li class="list-group-item">
                SUSE Linux Enterprise Software Development Kit 12 SP5
                
                    
                        <br/>
                        <code>zypper in -t patch SUSE-SLE-SDK-12-SP5-2023-4433=1</code>
                    
                    
                
            </li>
        
            <li class="list-group-item">
                SUSE Linux Enterprise High Performance Computing 12 SP5
                
                    
                        <br/>
                        <code>zypper in -t patch SUSE-SLE-SERVER-12-SP5-2023-4433=1</code>
                    
                    
                
            </li>
        
            <li class="list-group-item">
                SUSE Linux Enterprise Server 12 SP5
                
                    
                        <br/>
                        <code>zypper in -t patch SUSE-SLE-SERVER-12-SP5-2023-4433=1</code>
                    
                    
                
            </li>
        
            <li class="list-group-item">
                SUSE Linux Enterprise Server for SAP Applications 12 SP5
                
                    
                        <br/>
                        <code>zypper in -t patch SUSE-SLE-SERVER-12-SP5-2023-4433=1</code>
                    
                    
                
            </li>
        
    </ul>

    <h2>Package List:</h2>
    <ul>
        
            
                <li>
                    SUSE Linux Enterprise Software Development Kit 12 SP5 (aarch64 ppc64le s390x x86_64)
                    <ul>
                        
                            <li>postgresql12-debugsource-12.17-3.49.1</li>
                        
                            <li>postgresql12-devel-12.17-3.49.1</li>
                        
                            <li>postgresql12-devel-debuginfo-12.17-3.49.1</li>
                        
                    </ul>
                </li>
            
                <li>
                    SUSE Linux Enterprise Software Development Kit 12 SP5 (ppc64le s390x x86_64)
                    <ul>
                        
                            <li>postgresql12-server-devel-debuginfo-12.17-3.49.1</li>
                        
                            <li>postgresql12-server-devel-12.17-3.49.1</li>
                        
                    </ul>
                </li>
            
        
            
                <li>
                    SUSE Linux Enterprise High Performance Computing 12 SP5 (aarch64 x86_64)
                    <ul>
                        
                            <li>postgresql12-contrib-12.17-3.49.1</li>
                        
                            <li>postgresql12-server-debuginfo-12.17-3.49.1</li>
                        
                            <li>postgresql12-debuginfo-12.17-3.49.1</li>
                        
                            <li>postgresql12-debugsource-12.17-3.49.1</li>
                        
                            <li>postgresql12-contrib-debuginfo-12.17-3.49.1</li>
                        
                            <li>postgresql12-plperl-12.17-3.49.1</li>
                        
                            <li>postgresql12-server-12.17-3.49.1</li>
                        
                            <li>postgresql12-pltcl-12.17-3.49.1</li>
                        
                            <li>postgresql12-plpython-debuginfo-12.17-3.49.1</li>
                        
                            <li>postgresql12-pltcl-debuginfo-12.17-3.49.1</li>
                        
                            <li>postgresql12-plpython-12.17-3.49.1</li>
                        
                            <li>postgresql12-plperl-debuginfo-12.17-3.49.1</li>
                        
                            <li>postgresql12-12.17-3.49.1</li>
                        
                    </ul>
                </li>
            
                <li>
                    SUSE Linux Enterprise High Performance Computing 12 SP5 (noarch)
                    <ul>
                        
                            <li>postgresql12-docs-12.17-3.49.1</li>
                        
                    </ul>
                </li>
            
        
            
                <li>
                    SUSE Linux Enterprise Server 12 SP5 (aarch64 ppc64le s390x x86_64)
                    <ul>
                        
                            <li>postgresql12-contrib-12.17-3.49.1</li>
                        
                            <li>postgresql12-server-debuginfo-12.17-3.49.1</li>
                        
                            <li>postgresql12-debuginfo-12.17-3.49.1</li>
                        
                            <li>postgresql12-debugsource-12.17-3.49.1</li>
                        
                            <li>postgresql12-contrib-debuginfo-12.17-3.49.1</li>
                        
                            <li>postgresql12-plperl-12.17-3.49.1</li>
                        
                            <li>postgresql12-server-12.17-3.49.1</li>
                        
                            <li>postgresql12-pltcl-12.17-3.49.1</li>
                        
                            <li>postgresql12-plpython-debuginfo-12.17-3.49.1</li>
                        
                            <li>postgresql12-pltcl-debuginfo-12.17-3.49.1</li>
                        
                            <li>postgresql12-plpython-12.17-3.49.1</li>
                        
                            <li>postgresql12-plperl-debuginfo-12.17-3.49.1</li>
                        
                            <li>postgresql12-12.17-3.49.1</li>
                        
                    </ul>
                </li>
            
                <li>
                    SUSE Linux Enterprise Server 12 SP5 (noarch)
                    <ul>
                        
                            <li>postgresql12-docs-12.17-3.49.1</li>
                        
                    </ul>
                </li>
            
        
            
                <li>
                    SUSE Linux Enterprise Server for SAP Applications 12 SP5 (ppc64le x86_64)
                    <ul>
                        
                            <li>postgresql12-contrib-12.17-3.49.1</li>
                        
                            <li>postgresql12-server-debuginfo-12.17-3.49.1</li>
                        
                            <li>postgresql12-debuginfo-12.17-3.49.1</li>
                        
                            <li>postgresql12-debugsource-12.17-3.49.1</li>
                        
                            <li>postgresql12-contrib-debuginfo-12.17-3.49.1</li>
                        
                            <li>postgresql12-plperl-12.17-3.49.1</li>
                        
                            <li>postgresql12-server-12.17-3.49.1</li>
                        
                            <li>postgresql12-pltcl-12.17-3.49.1</li>
                        
                            <li>postgresql12-plpython-debuginfo-12.17-3.49.1</li>
                        
                            <li>postgresql12-pltcl-debuginfo-12.17-3.49.1</li>
                        
                            <li>postgresql12-plpython-12.17-3.49.1</li>
                        
                            <li>postgresql12-plperl-debuginfo-12.17-3.49.1</li>
                        
                            <li>postgresql12-12.17-3.49.1</li>
                        
                    </ul>
                </li>
            
                <li>
                    SUSE Linux Enterprise Server for SAP Applications 12 SP5 (noarch)
                    <ul>
                        
                            <li>postgresql12-docs-12.17-3.49.1</li>
                        
                    </ul>
                </li>
            
        
    </ul>

    
        <h2>References:</h2>
        <ul>
            
                
                    <li>
                        <a href="https://www.suse.com/security/cve/CVE-2023-5868.html">https://www.suse.com/security/cve/CVE-2023-5868.html</a>
                    </li>
                
            
                
                    <li>
                        <a href="https://www.suse.com/security/cve/CVE-2023-5869.html">https://www.suse.com/security/cve/CVE-2023-5869.html</a>
                    </li>
                
            
                
                    <li>
                        <a href="https://www.suse.com/security/cve/CVE-2023-5870.html">https://www.suse.com/security/cve/CVE-2023-5870.html</a>
                    </li>
                
            
                
                    <li>
                        <a href="https://bugzilla.suse.com/show_bug.cgi?id=1216022">https://bugzilla.suse.com/show_bug.cgi?id=1216022</a>
                    </li>
                
            
                
                    <li>
                        <a href="https://bugzilla.suse.com/show_bug.cgi?id=1216734">https://bugzilla.suse.com/show_bug.cgi?id=1216734</a>
                    </li>
                
            
                
                    <li>
                        <a href="https://bugzilla.suse.com/show_bug.cgi?id=1216960">https://bugzilla.suse.com/show_bug.cgi?id=1216960</a>
                    </li>
                
            
                
                    <li>
                        <a href="https://bugzilla.suse.com/show_bug.cgi?id=1216961">https://bugzilla.suse.com/show_bug.cgi?id=1216961</a>
                    </li>
                
            
                
                    <li>
                        <a href="https://bugzilla.suse.com/show_bug.cgi?id=1216962">https://bugzilla.suse.com/show_bug.cgi?id=1216962</a>
                    </li>
                
            
        </ul>
    
</div>