It was found that PostgreSQL versions before 12.4, before 11.9 and before 10.14 did not properly sanitize the search_path during logical replication. An authenticated attacker could use this flaw in an attack similar to CVE-2018-1058, in order to execute arbitrary SQL command in the context of the user used for replication.
Source: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14349
Reference (s):
- https://security.netapp.com/advisory/ntap-20200918-0002/
- GENTOO:GLSA-202008-13
- URL: https://security.gentoo.org/glsa/202008-13
- https://bugzilla.redhat.com/show_bug.cgi?id=1865744
- URL: https://bugzilla.redhat.com/show_bug.cgi?id=1865744

