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

# CVE-2021-32028

A flaw was found in postgresql. Using an INSERT ... ON CONFLICT ... DO UPDATE command on a purpose-crafted table, an authenticated database user could read arbitrary bytes of server memory. The highest threat from this vulnerability is to data confidentiality.

CVE-2021-32028 is rated MEDIUM (6.5), with 37 indexed affected package builds across 3 distributions.

- **Severity / Score**: MEDIUM (6.5)
- **Affected builds**: 37
- **Affected distros**: 3
- **Distros with fixed_in**: Alibaba Cloud Linux, Oracle Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Alibaba Cloud Linux | 3 | postgresql | 13.2-1.1.al8 | 13.3-1.1.al8 |
| Alibaba Cloud Linux | 3 | postgresql-contrib | 13.2-1.1.al8 | 13.3-1.1.al8 |
| Alibaba Cloud Linux | 3 | postgresql-docs | 13.2-1.1.al8 | 13.3-1.1.al8 |
| Alibaba Cloud Linux | 3 | postgresql-plperl | 13.2-1.1.al8 | 13.3-1.1.al8 |
| Alibaba Cloud Linux | 3 | postgresql-plpython3 | 13.2-1.1.al8 | 13.3-1.1.al8 |
| Alibaba Cloud Linux | 3 | postgresql-pltcl | 13.2-1.1.al8 | 13.3-1.1.al8 |
| Alibaba Cloud Linux | 3 | postgresql-server | 13.2-1.1.al8 | 13.3-1.1.al8 |
| Alibaba Cloud Linux | 3 | postgresql-server-devel | 13.2-1.1.al8 | 13.3-1.1.al8 |
| Alibaba Cloud Linux | 3 | postgresql-static | 13.2-1.1.al8 | 13.3-1.1.al8 |
| Alibaba Cloud Linux | 3 | postgresql-test | 13.2-1.1.al8 | 13.3-1.1.al8 |
| Alibaba Cloud Linux | 3 | postgresql-test-rpm-macros | 13.2-1.1.al8 | 13.3-1.1.al8 |
| Alibaba Cloud Linux | 3 | postgresql-upgrade | 13.2-1.1.al8 | 13.3-1.1.al8 |
| Alibaba Cloud Linux | 3 | postgresql-upgrade-devel | 13.2-1.1.al8 | 13.3-1.1.al8 |
| Oracle Linux | 8 | pgaudit | 1.4.0-7.module+el8.10.0+90397+67dad74f | 1.5.0-1.module+el8.4.0+20016+06fd4df3 |
| 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 | 12.22-12.module+el8.10.0+91045+f9258fff | 9.6.22-1.module+el8.4.0+20189+e6efae45 |
| Oracle Linux | 8 | postgresql-contrib | 12.22-12.module+el8.10.0+91045+f9258fff | 9.6.22-1.module+el8.4.0+20189+e6efae45 |
| Oracle Linux | 8 | postgresql-docs | 12.22-12.module+el8.10.0+91045+f9258fff | 9.6.22-1.module+el8.4.0+20189+e6efae45 |
| Oracle Linux | 8 | postgresql-plperl | 12.22-12.module+el8.10.0+91045+f9258fff | 9.6.22-1.module+el8.4.0+20189+e6efae45 |
| Oracle Linux | 8 | postgresql-plpython3 | 12.22-12.module+el8.10.0+91045+f9258fff | 9.6.22-1.module+el8.4.0+20189+e6efae45 |
| Oracle Linux | 8 | postgresql-pltcl | 12.22-12.module+el8.10.0+91045+f9258fff | 9.6.22-1.module+el8.4.0+20189+e6efae45 |
| Oracle Linux | 8 | postgresql-server | 12.22-12.module+el8.10.0+91045+f9258fff | 9.6.22-1.module+el8.4.0+20189+e6efae45 |
| Oracle Linux | 8 | postgresql-server-devel | 12.22-12.module+el8.10.0+91045+f9258fff | 9.6.22-1.module+el8.4.0+20189+e6efae45 |
| Oracle Linux | 8 | postgresql-static | 12.22-12.module+el8.10.0+91045+f9258fff | 9.6.22-1.module+el8.4.0+20189+e6efae45 |
| Oracle Linux | 8 | postgresql-test | 12.22-12.module+el8.10.0+91045+f9258fff | 9.6.22-1.module+el8.4.0+20189+e6efae45 |
| Oracle Linux | 8 | postgresql-test-rpm-macros | 12.22-12.module+el8.10.0+91045+f9258fff | 9.6.22-1.module+el8.4.0+20189+e6efae45 |
| Oracle Linux | 8 | postgresql-upgrade | 12.22-12.module+el8.10.0+91045+f9258fff | 13.3-1.module+el8.4.0+20192+096f5771 |
| Oracle Linux | 8 | postgresql-upgrade-devel | 12.22-12.module+el8.10.0+91045+f9258fff | 13.3-1.module+el8.4.0+20192+096f5771 |
| Ubuntu | focal | libecpg6 | 12.2-4 | 12.7-0ubuntu0.20.04.1 |
| Ubuntu | focal | libecpg-compat3 | 12.2-4 | 12.7-0ubuntu0.20.04.1 |
| Ubuntu | focal | libecpg-dev | 12.2-4 | 12.7-0ubuntu0.20.04.1 |
| Ubuntu | focal | libpgtypes3 | 12.2-4 | 12.7-0ubuntu0.20.04.1 |
| Ubuntu | focal | libpq5 | 12.2-4 | 12.7-0ubuntu0.20.04.1 |
| Ubuntu | focal | libpq-dev | 12.2-4 | 12.7-0ubuntu0.20.04.1 |
| Ubuntu | focal | postgresql-12 | 12.2-4 | 12.7-0ubuntu0.20.04.1 |
| Ubuntu | focal | postgresql-client-12 | 12.2-4 | 12.7-0ubuntu0.20.04.1 |
| Ubuntu | focal | postgresql-doc-12 | 12.2-4 | 12.7-0ubuntu0.20.04.1 |
