pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Empty search_path in logical replication apply worker and walsen 5+ messages / 1 participants [nested] [flat]
* pgsql: Empty search_path in logical replication apply worker and walsen @ 2020-08-10 16:24 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 5+ messages in thread From: Noah Misch @ 2020-08-10 16:24 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Empty search_path in logical replication apply worker and walsender. This is like CVE-2018-1058 commit 582edc369cdbd348d68441fc50fa26a84afd0c1a. Today, a malicious user of a publisher or subscriber database can invoke arbitrary SQL functions under an identity running replication, often a superuser. This fix may cause "does not exist" or "no schema has been selected to create in" errors in a replication process. After upgrading, consider watching server logs for these errors. Objects accruing schema qualification in the wake of the earlier commit are unlikely to need further correction. Back-patch to v10, which introduced logical replication. Security: CVE-2020-14349 Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/5a936d64c84ddce2c0e0f2f1f9db2c1094c3ceb8 Modified Files -------------- .../replication/libpqwalreceiver/libpqwalreceiver.c | 17 +++++++++++++++++ src/backend/replication/logical/worker.c | 6 ++++++ src/test/subscription/t/001_rep_changes.pl | 4 ++++ 3 files changed, 27 insertions(+) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Empty search_path in logical replication apply worker and walsen @ 2020-08-10 16:24 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 5+ messages in thread From: Noah Misch @ 2020-08-10 16:24 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Empty search_path in logical replication apply worker and walsender. This is like CVE-2018-1058 commit 582edc369cdbd348d68441fc50fa26a84afd0c1a. Today, a malicious user of a publisher or subscriber database can invoke arbitrary SQL functions under an identity running replication, often a superuser. This fix may cause "does not exist" or "no schema has been selected to create in" errors in a replication process. After upgrading, consider watching server logs for these errors. Objects accruing schema qualification in the wake of the earlier commit are unlikely to need further correction. Back-patch to v10, which introduced logical replication. Security: CVE-2020-14349 Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/dd5d9951618831aa8f015c6a0ebd3a8f96a9ac32 Modified Files -------------- .../replication/libpqwalreceiver/libpqwalreceiver.c | 17 +++++++++++++++++ src/backend/replication/logical/worker.c | 6 ++++++ src/test/subscription/t/001_rep_changes.pl | 4 ++++ 3 files changed, 27 insertions(+) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Empty search_path in logical replication apply worker and walsen @ 2020-08-10 16:24 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 5+ messages in thread From: Noah Misch @ 2020-08-10 16:24 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Empty search_path in logical replication apply worker and walsender. This is like CVE-2018-1058 commit 582edc369cdbd348d68441fc50fa26a84afd0c1a. Today, a malicious user of a publisher or subscriber database can invoke arbitrary SQL functions under an identity running replication, often a superuser. This fix may cause "does not exist" or "no schema has been selected to create in" errors in a replication process. After upgrading, consider watching server logs for these errors. Objects accruing schema qualification in the wake of the earlier commit are unlikely to need further correction. Back-patch to v10, which introduced logical replication. Security: CVE-2020-14349 Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/412c5c4010c0bec294f60a10cd56929680d3f95b Modified Files -------------- .../replication/libpqwalreceiver/libpqwalreceiver.c | 17 +++++++++++++++++ src/backend/replication/logical/worker.c | 6 ++++++ src/test/subscription/t/001_rep_changes.pl | 4 ++++ 3 files changed, 27 insertions(+) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Empty search_path in logical replication apply worker and walsen @ 2020-08-10 16:24 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 5+ messages in thread From: Noah Misch @ 2020-08-10 16:24 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Empty search_path in logical replication apply worker and walsender. This is like CVE-2018-1058 commit 582edc369cdbd348d68441fc50fa26a84afd0c1a. Today, a malicious user of a publisher or subscriber database can invoke arbitrary SQL functions under an identity running replication, often a superuser. This fix may cause "does not exist" or "no schema has been selected to create in" errors in a replication process. After upgrading, consider watching server logs for these errors. Objects accruing schema qualification in the wake of the earlier commit are unlikely to need further correction. Back-patch to v10, which introduced logical replication. Security: CVE-2020-14349 Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/64a71062e0e2fd7eb1eddd3cb4138c554fb29e4c Modified Files -------------- .../replication/libpqwalreceiver/libpqwalreceiver.c | 17 +++++++++++++++++ src/backend/replication/logical/worker.c | 6 ++++++ src/test/subscription/t/001_rep_changes.pl | 4 ++++ 3 files changed, 27 insertions(+) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Empty search_path in logical replication apply worker and walsen @ 2020-08-10 16:24 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 5+ messages in thread From: Noah Misch @ 2020-08-10 16:24 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Empty search_path in logical replication apply worker and walsender. This is like CVE-2018-1058 commit 582edc369cdbd348d68441fc50fa26a84afd0c1a. Today, a malicious user of a publisher or subscriber database can invoke arbitrary SQL functions under an identity running replication, often a superuser. This fix may cause "does not exist" or "no schema has been selected to create in" errors in a replication process. After upgrading, consider watching server logs for these errors. Objects accruing schema qualification in the wake of the earlier commit are unlikely to need further correction. Back-patch to v10, which introduced logical replication. Security: CVE-2020-14349 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/11da97024abbe76b8c81e3f2375b2a62e9717c67 Modified Files -------------- .../replication/libpqwalreceiver/libpqwalreceiver.c | 17 +++++++++++++++++ src/backend/replication/logical/worker.c | 6 ++++++ src/test/subscription/t/001_rep_changes.pl | 4 ++++ 3 files changed, 27 insertions(+) ^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2020-08-10 16:24 UTC | newest] Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2020-08-10 16:24 pgsql: Empty search_path in logical replication apply worker and walsen Noah Misch <noah@leadboat.com> 2020-08-10 16:24 pgsql: Empty search_path in logical replication apply worker and walsen Noah Misch <noah@leadboat.com> 2020-08-10 16:24 pgsql: Empty search_path in logical replication apply worker and walsen Noah Misch <noah@leadboat.com> 2020-08-10 16:24 pgsql: Empty search_path in logical replication apply worker and walsen Noah Misch <noah@leadboat.com> 2020-08-10 16:24 pgsql: Empty search_path in logical replication apply worker and walsen Noah Misch <noah@leadboat.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox