↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

CVE-2020-14349

The PostgreSQL search_path setting determines schemas searched for tables, functions, operators, etc. The CVE-2018-1058 fix caused most PostgreSQL-provided client applications to sanitize search_path , but logical replication continued to leave search_path unchanged. Users of a replication publisher or subscriber database can create objects in the public schema and harness them to execute arbitrary SQL functions under the identity running replication, often a superuser. Installations having adopted a documented secure schema usage pattern are not vulnerable. The PostgreSQL project thanks Noah Misch for reporting this problem.

Version Information

Affected branchIntroducedFixed InFix Published
10—10.142020-08-13
11—11.92020-08-13
12—12.42020-08-13

CVSS 3.0

Overall Score7.5
Componentcore server
VectorAV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

First published: 2020-08-13

Original security advisory · JSON · All advisories