CVE-2023-5870: Postgresql: role pg_signal_backend can signal certain superuser processes.

Published Oct 31, 2023
·
Updated

A flaw was found in PostgreSQL involving the pgcancelbackend role that signals background workers, including the logical replication launcher, autovacuum workers, and the autovacuum launcher. Successful exploitation requires a non-core extension with a less-resilient background worker and would affect that specific background worker only. This issue may allow a remote high privileged user to launch a denial of service (DoS) attack.

Other sources

PostgreSQL is vulnerable to a denial of service, caused by a flaw in the pgsignalbackend role. By sending a specially crafted request, a remote authenticated attacker could exploit this vulnerability to cause a denial of service condition.

IBM

The documentation says the pgsignalbackend role cannot signal "a backend owned by a superuser". On the contrary, it can signal background workers, including the logical replication launcher. It can signal autovacuum workers and the autovacuum launcher. Signaling autovacuum workers and those two launchers provides no meaningful exploit, so exploiting this vulnerability requires a non-core extension with a less-resilient background worker. For example, a non-core background worker that does not auto-restart would experience a denial of service with respect to that particular background worker.

The PostgreSQL project thanks Hemanth Sandrana and Mahendrakar Srinivasarao for reporting this problem.

Red Hat

Affected Software

55 affected componentsFixes available
redhat/PostgreSQL<16.1
16.1
redhat/PostgreSQL<15.5
15.5
redhat/PostgreSQL<14.10
14.10
redhat/PostgreSQL<13.13
13.13
redhat/PostgreSQL<12.17
12.17
redhat/PostgreSQL<11.22
11.22
debian/postgresql-13
13.16-0+deb11u1
debian/postgresql-15
15.8-0+deb12u1
debian/postgresql-16
16.4-1
IBM Security Guardium<=11.3
IBM Security Guardium<=11.4
IBM Security Guardium<=11.5
IBM Security Guardium<=12.0
PostgreSQL postgresql>=11.0<11.22
PostgreSQL postgresql>=12.0<12.17
PostgreSQL postgresql>=13.0<13.13
PostgreSQL postgresql>=14.0<14.10
PostgreSQL postgresql>=15.0<15.5
PostgreSQL postgresql=16.0
redhat Codeready Linux Builder Eus=9.2
redhat Codeready Linux Builder Eus For Power Little Endian Eus=9.0_ppc64le
redhat Codeready Linux Builder Eus For Power Little Endian Eus=9.2_ppc64le
redhat Codeready Linux Builder For Arm64 Eus=8.6_aarch64
redhat Codeready Linux Builder For Arm64 Eus=9.0_aarch64
redhat Codeready Linux Builder For Arm64 Eus=9.2_aarch64
redhat Codeready Linux Builder For Ibm Z Systems Eus=9.0_s390x
redhat Codeready Linux Builder For Ibm Z Systems Eus=9.2_s390x
redhat Codeready Linux Builder For Power Little Endian Eus=9.0_ppc64le
redhat Codeready Linux Builder For Power Little Endian Eus=9.2_ppc64le
redhat Software Collections=1.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
redhat Enterprise Linux Eus=8.6
redhat Enterprise Linux Eus=8.8
redhat Enterprise Linux Eus=9.0
redhat Enterprise Linux Eus=9.2
redhat Enterprise Linux For Arm 64=8.0
redhat Enterprise Linux For Arm 64=8.8_aarch64
redhat Enterprise Linux For Ibm Z Systems=8.0_s390x
redhat Enterprise Linux For Ibm Z Systems Eus=8.6_s390x
redhat Enterprise Linux For Ibm Z Systems Eus=8.8_s390x
redhat Enterprise Linux For Ibm Z Systems Eus=9.0_s390x
redhat Enterprise Linux For Ibm Z Systems Eus=9.2_s390x
redhat Enterprise Linux For Power Little Endian=8.0_ppc64le
redhat Enterprise Linux For Power Little Endian Eus=8.6_ppc64le
redhat Enterprise Linux For Power Little Endian Eus=8.8_ppc64le
redhat Enterprise Linux For Power Little Endian Eus=9.0_ppc64le
redhat Enterprise Linux For Power Little Endian Eus=9.2_ppc64le
redhat Enterprise Linux Server Aus=8.2
redhat Enterprise Linux Server Aus=8.4
redhat Enterprise Linux Server Aus=8.6
redhat Enterprise Linux Server Aus=9.2
redhat Enterprise Linux Server Tus=8.2
redhat Enterprise Linux Server Tus=8.4
redhat Enterprise Linux Server Tus=8.6

Event History

Oct 31, 2023
Data Sourced
via Red Hat·04:13 AM
DescriptionSeverityAffected Software
Dec 10, 2023
CVE Published
via MITRE·05:58 PM
Data Sourced
via MITRE·05:58 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeaknessAffected Software
Feb 1, 2024
Data Sourced
via Launchpad·12:33 AM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·04:18 AM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-5870?

The severity of CVE-2023-5870 is low.

2

How do I update my PostgreSQL package to fix CVE-2023-5870?

You can update your PostgreSQL package to version 16.1 or apply the appropriate security updates for your specific version.

3

Where can I find more information about CVE-2023-5870?

You can find more information about CVE-2023-5870 at the following references: [link1], [link2], [link3].

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203