Vulnerabilidades / CVE-2018-16850

crítica

CVE-2018-16850

postgresql: SQL injection in pg_upgrade and pg_dump, via CREATE TRIGGER ... REFERENCING

Publicada Modificada CWE 89
En la Trivy database desde, como mínimo, el 24 oct 2026, 07:11 UTCNo consta cuándo entró antes de ese build.

Severidad por fuente

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat8.0CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, Photon OS. Más baja según Red Hat (alta), Ubuntu (media).

Descripción

postgresql before versions 11.1, 10.6 is vulnerable to a to SQL injection in pg_upgrade and pg_dump via CREATE TRIGGER ... REFERENCING. Using a purpose-crafted trigger definition, an attacker can cause arbitrary SQL statements to run, with superuser privileges.

Paquetes afectados y versiones corregidas

FuentePaqueteCorregido en
Photon OS 3.0postgresql10.5-2.ph3
alpine 3.10postgresql11.1-r0
alpine 3.11postgresql11.1-r0
alpine 3.12postgresql11.1-r0
alpine 3.13postgresql11.1-r0
alpine 3.14postgresql11.1-r0
alpine 3.15postgresql1411.1-r0
alpine 3.16postgresql1411.1-r0
alpine 3.17postgresql14, postgresql1511.1-r0
alpine 3.18postgresql14, postgresql1511.1-r0
alpine 3.19postgresql14, postgresql1511.1-r0
alpine 3.20postgresql14, postgresql1511.1-r0
Mostrar las 20 entradas de 16 fuentes
FuentePaqueteCorregido en
Photon OS 3.0postgresql10.5-2.ph3
alpine 3.10postgresql11.1-r0
alpine 3.11postgresql11.1-r0
alpine 3.12postgresql11.1-r0
alpine 3.13postgresql11.1-r0
alpine 3.14postgresql11.1-r0
alpine 3.15postgresql1411.1-r0
alpine 3.16postgresql1411.1-r0
alpine 3.17postgresql1411.1-r0
alpine 3.17postgresql1511.1-r0
alpine 3.18postgresql1411.1-r0
alpine 3.18postgresql1511.1-r0
alpine 3.19postgresql1411.1-r0
alpine 3.19postgresql1511.1-r0
alpine 3.20postgresql1411.1-r0
alpine 3.20postgresql1511.1-r0
alpine 3.9postgresql11.1-r0
ubuntu 18.04postgresql-1010.6-0ubuntu0.18.04.1
ubuntu 18.04-ESMpostgresql-1010.6-0ubuntu0.18.04.1
ubuntu 18.10postgresql-1010.6-0ubuntu0.18.10.1

Referencias

Las 11 referencias

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.