---
title: "CVE-2021-3393"
canonical_url: "https://pkgseek.com/security/CVE-2021-3393"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2021-3393

An information leak was discovered in postgresql in versions before 13.2, before 12.6 and before 11.11. A user having UPDATE permission but not SELECT permission to a particular column could craft queries which, under some circumstances, might disclose values from that column in error messages. An attacker could use this flaw to obtain information stored in a column they are allowed to write but not read.

CVE-2021-3393 is rated MEDIUM (4.3), with 24 indexed affected package builds across 2 distributions.

- **Severity / Score**: MEDIUM (4.3)
- **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-5.module+el8.9.0+90107+c48bae1a | 1.4.0-6.module+el8.4.0+20191+2f8d0e59 |
| Oracle Linux | 8 | postgres-decoderbufs | 0.10.0-2.module+el8.4.0+20016+06fd4df3 | 0.10.0-2.module+el8.4.0+20191+2f8d0e59 |
| Oracle Linux | 8 | postgresql | 10.23-4.0.1.module+el8.9.0+90164+87901204 | 12.7-1.module+el8.4.0+20191+2f8d0e59 |
| Oracle Linux | 8 | postgresql-contrib | 10.23-4.0.1.module+el8.9.0+90164+87901204 | 12.7-1.module+el8.4.0+20191+2f8d0e59 |
| Oracle Linux | 8 | postgresql-docs | 10.23-4.0.1.module+el8.9.0+90164+87901204 | 12.7-1.module+el8.4.0+20191+2f8d0e59 |
| Oracle Linux | 8 | postgresql-plperl | 10.23-4.0.1.module+el8.9.0+90164+87901204 | 12.7-1.module+el8.4.0+20191+2f8d0e59 |
| Oracle Linux | 8 | postgresql-plpython3 | 10.23-4.0.1.module+el8.9.0+90164+87901204 | 12.7-1.module+el8.4.0+20191+2f8d0e59 |
| Oracle Linux | 8 | postgresql-pltcl | 10.23-4.0.1.module+el8.9.0+90164+87901204 | 12.7-1.module+el8.4.0+20191+2f8d0e59 |
| Oracle Linux | 8 | postgresql-server | 10.23-4.0.1.module+el8.9.0+90164+87901204 | 12.7-1.module+el8.4.0+20191+2f8d0e59 |
| Oracle Linux | 8 | postgresql-server-devel | 10.23-4.0.1.module+el8.9.0+90164+87901204 | 12.7-1.module+el8.4.0+20191+2f8d0e59 |
| Oracle Linux | 8 | postgresql-static | 10.23-4.0.1.module+el8.9.0+90164+87901204 | 12.7-1.module+el8.4.0+20191+2f8d0e59 |
| Oracle Linux | 8 | postgresql-test | 10.23-4.0.1.module+el8.9.0+90164+87901204 | 12.7-1.module+el8.4.0+20191+2f8d0e59 |
| Oracle Linux | 8 | postgresql-test-rpm-macros | 12.5-1.module+el8.3.0+9608+b210d254 | 12.7-1.module+el8.4.0+20191+2f8d0e59 |
| Oracle Linux | 8 | postgresql-upgrade | 10.23-4.0.1.module+el8.9.0+90164+87901204 | 12.7-1.module+el8.4.0+20191+2f8d0e59 |
| Oracle Linux | 8 | postgresql-upgrade-devel | 10.23-4.0.1.module+el8.9.0+90164+87901204 | 12.7-1.module+el8.4.0+20191+2f8d0e59 |
| Ubuntu | focal | libecpg6 | 12.2-4 | 12.6-0ubuntu0.20.04.1 |
| Ubuntu | focal | libecpg-compat3 | 12.2-4 | 12.6-0ubuntu0.20.04.1 |
| Ubuntu | focal | libecpg-dev | 12.2-4 | 12.6-0ubuntu0.20.04.1 |
| Ubuntu | focal | libpgtypes3 | 12.2-4 | 12.6-0ubuntu0.20.04.1 |
| Ubuntu | focal | libpq5 | 12.2-4 | 12.6-0ubuntu0.20.04.1 |
| Ubuntu | focal | libpq-dev | 12.2-4 | 12.6-0ubuntu0.20.04.1 |
| Ubuntu | focal | postgresql-12 | 12.2-4 | 12.6-0ubuntu0.20.04.1 |
| Ubuntu | focal | postgresql-client-12 | 12.2-4 | 12.6-0ubuntu0.20.04.1 |
| Ubuntu | focal | postgresql-doc-12 | 12.2-4 | 12.6-0ubuntu0.20.04.1 |
