summaryrefslogtreecommitdiff
path: root/src/bin/pg_dump/Makefile
diff options
context:
space:
mode:
authorNoah Misch2023-11-06 14:14:13 +0000
committerNoah Misch2023-11-06 14:14:13 +0000
commit3a9b18b3095366cd0c4305441d426d04572d88c1 (patch)
tree0f8b59882b0084601cbcfee05aea5adb86605ed6 /src/bin/pg_dump/Makefile
parent526fe0d79914b2dfcfd79effd1ab26ff62469248 (diff)
Ban role pg_signal_backend from more superuser backend types.
Documentation says it cannot signal "a backend owned by a superuser". On the contrary, it could signal background workers, including the logical replication launcher. It could signal autovacuum workers and the autovacuum launcher. Block all that. Signaling autovacuum workers and those two launchers doesn't stall progress beyond what one could achieve other ways. If a cluster uses a non-core extension with a background worker that does not auto-restart, this could create a denial of service with respect to that background worker. A background worker with bugs in its code for responding to terminations or cancellations could experience those bugs at a time the pg_signal_backend member chooses. Back-patch to v11 (all supported versions). Reviewed by Jelte Fennema-Nio. Reported by Hemanth Sandrana and Mahendrakar Srinivasarao. Security: CVE-2023-5870
Diffstat (limited to 'src/bin/pg_dump/Makefile')
0 files changed, 0 insertions, 0 deletions