7.1high
It was found that PostgreSQL versions before 12.4, before 11.9 and before 10.14 did not properly sanitize the searchpath during logical rep…
- Severity
- 7.1high CVSS:3.1 by NVD
- Exploit likelihood
- 2.23% (higher than 83% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- BIT-POSTGRESQL-2020-14349
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| PostgreSQL | PostgreSQL versions before 12.4, before 11.9 and before 10.14 | CVE List |
| postgresql postgresql | from 10.0 before 10.14, from 11.0 before 11.9, from 12.0 before 12.4 | NVD |
| opensuse leap | 15.1, 15.2 | NVD |
| postgresql (Bitnami) | from 10.0.0 before 10.14.0, from 11.0.0 before 11.9.0, from 12.0.0 before 12.4.0 | Bitnami Vulnerability Database |
All scores
| NVD | 7.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | 4.6medium CVSS:2.0 | AV:N/AC:H/Au:S/C:P/I:P/A:P |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
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.
NVD (es)
Se detectó que las versiones de PostgreSQL anteriores a 12.4, anteriores a 11.9 y anteriores a 10.14, no saneban apropiadamente la función search_path durante la replicación lógica. Un atacante autenticado podría usar este fallo en un ataque similar al CVE-2018-1058, para ejecutar un comando SQL arbitrario en el contexto del usuario usado para la replicación.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-14349 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2020-14349 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-POSTGRESQL-2020-14349 changed 2026-09-08 | Apache-2.0 |