---
title: "CVE-2020-14349"
canonical_url: "https://pkgseek.com/security/CVE-2020-14349"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2020-14349

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.

CVE-2020-14349 is rated HIGH (7.1), with 24 indexed affected package builds across 2 distributions.

- **Severity / Score**: HIGH (7.1)
- **Affected builds**: 24
- **Affected distros**: 2
- **Distros with fixed_in**: Oracle Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Oracle Linux | 8 | pgaudit | 1.4.0-4.module+el8.1.1+5522+70e4f29e | 1.4.0-4.module+el8.3.0+9608+b210d254 |
| Oracle Linux | 8 | postgres-decoderbufs | 0.10.0-2.module+el8.1.1+5522+70e4f29e | 0.10.0-2.module+el8.3.0+9608+b210d254 |
| Oracle Linux | 8 | postgresql | 10.23-4.0.1.module+el8.9.0+90164+87901204 | 12.5-1.module+el8.3.0+9608+b210d254 |
| Oracle Linux | 8 | postgresql-contrib | 10.23-4.0.1.module+el8.9.0+90164+87901204 | 12.5-1.module+el8.3.0+9608+b210d254 |
| Oracle Linux | 8 | postgresql-docs | 10.23-4.0.1.module+el8.9.0+90164+87901204 | 12.5-1.module+el8.3.0+9608+b210d254 |
| Oracle Linux | 8 | postgresql-plperl | 10.23-4.0.1.module+el8.9.0+90164+87901204 | 12.5-1.module+el8.3.0+9608+b210d254 |
| Oracle Linux | 8 | postgresql-plpython3 | 10.23-4.0.1.module+el8.9.0+90164+87901204 | 12.5-1.module+el8.3.0+9608+b210d254 |
| Oracle Linux | 8 | postgresql-pltcl | 10.23-4.0.1.module+el8.9.0+90164+87901204 | 12.5-1.module+el8.3.0+9608+b210d254 |
| Oracle Linux | 8 | postgresql-server | 10.23-4.0.1.module+el8.9.0+90164+87901204 | 12.5-1.module+el8.3.0+9608+b210d254 |
| Oracle Linux | 8 | postgresql-server-devel | 10.23-4.0.1.module+el8.9.0+90164+87901204 | 12.5-1.module+el8.3.0+9608+b210d254 |
| Oracle Linux | 8 | postgresql-static | 10.23-4.0.1.module+el8.9.0+90164+87901204 | 12.5-1.module+el8.3.0+9608+b210d254 |
| Oracle Linux | 8 | postgresql-test | 10.23-4.0.1.module+el8.9.0+90164+87901204 | 12.5-1.module+el8.3.0+9608+b210d254 |
| Oracle Linux | 8 | postgresql-test-rpm-macros | 9.6.22-1.module+el8.4.0+20189+e6efae45 | 12.5-1.module+el8.3.0+9608+b210d254 |
| Oracle Linux | 8 | postgresql-upgrade | 10.23-4.0.1.module+el8.9.0+90164+87901204 | 12.5-1.module+el8.3.0+9608+b210d254 |
| Oracle Linux | 8 | postgresql-upgrade-devel | 10.23-4.0.1.module+el8.9.0+90164+87901204 | 12.5-1.module+el8.3.0+9608+b210d254 |
| Ubuntu | focal | libecpg6 | 12.2-4 | 12.4-0ubuntu0.20.04.1 |
| Ubuntu | focal | libecpg-compat3 | 12.2-4 | 12.4-0ubuntu0.20.04.1 |
| Ubuntu | focal | libecpg-dev | 12.2-4 | 12.4-0ubuntu0.20.04.1 |
| Ubuntu | focal | libpgtypes3 | 12.2-4 | 12.4-0ubuntu0.20.04.1 |
| Ubuntu | focal | libpq5 | 12.2-4 | 12.4-0ubuntu0.20.04.1 |
| Ubuntu | focal | libpq-dev | 12.2-4 | 12.4-0ubuntu0.20.04.1 |
| Ubuntu | focal | postgresql-12 | 12.2-4 | 12.4-0ubuntu0.20.04.1 |
| Ubuntu | focal | postgresql-client-12 | 12.2-4 | 12.4-0ubuntu0.20.04.1 |
| Ubuntu | focal | postgresql-doc-12 | 12.2-4 | 12.4-0ubuntu0.20.04.1 |
