Vulnerability · Published Oct 11, 2021 · Assigned by redhat
CVE-2021-32028
Medium 6.5
In plain English
A medium-severity information exposure in postgresql. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 75% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)1.6%top 24.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | pgaudit | 1.5.0-1.module_el8.6.0+2760+1746ec94 | ALSA-2021:2375 |
| AlmaLinux:8 | pgaudit | 1.5.0-1.module_el8.5.0+2607+8c0fd184 | ALSA-2021:2375 |
| AlmaLinux:8 | postgres-decoderbufs | 0.10.0-2.module_el8.6.0+2760+1746ec94 | ALSA-2021:2372 |
| AlmaLinux:8 | postgres-decoderbufs | 0.10.0-2.module_el8.6.0+2758+4f4474df | ALSA-2021:2375 |
| AlmaLinux:8 | postgres-decoderbufs | 0.10.0-2.module_el8.5.0+2607+8c0fd184 | ALSA-2021:2375 |
| AlmaLinux:8 | postgres-decoderbufs | 0.10.0-2.module_el8.6.0+2760+1746ec94 | ALSA-2021:2375 |
| AlmaLinux:8 | postgres-decoderbufs | 0.10.0-2.module_el8.6.0+2758+4f4474df | ALSA-2021:2372 |
| AlmaLinux:8 | postgresql | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql | 9.6.22-1.module_el8.4.0+2492+beebcf7e | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql | 9.6.22-1.module_el8.5.0+58+52470387 | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql-contrib | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql-contrib | 9.6.22-1.module_el8.4.0+2492+beebcf7e | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql-contrib | 9.6.22-1.module_el8.5.0+58+52470387 | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql-docs | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql-docs | 9.6.22-1.module_el8.5.0+58+52470387 | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql-docs | 9.6.22-1.module_el8.4.0+2492+beebcf7e | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql-plperl | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql-plperl | 9.6.22-1.module_el8.5.0+58+52470387 | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql-plperl | 9.6.22-1.module_el8.4.0+2492+beebcf7e | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql-plpython3 | 9.6.22-1.module_el8.5.0+58+52470387 | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql-plpython3 | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql-plpython3 | 9.6.22-1.module_el8.4.0+2492+beebcf7e | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql-pltcl | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql-pltcl | 9.6.22-1.module_el8.4.0+2492+beebcf7e | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql-pltcl | 9.6.22-1.module_el8.5.0+58+52470387 | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql-server | 9.6.22-1.module_el8.4.0+2492+beebcf7e | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql-server | 9.6.22-1.module_el8.5.0+58+52470387 | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql-server | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql-server-devel | 9.6.22-1.module_el8.4.0+2492+beebcf7e | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql-server-devel | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql-server-devel | 9.6.22-1.module_el8.5.0+58+52470387 | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql-static | 9.6.22-1.module_el8.4.0+2492+beebcf7e | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql-static | 9.6.22-1.module_el8.5.0+58+52470387 | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql-static | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql-test | 9.6.22-1.module_el8.5.0+58+52470387 | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql-test | 9.6.22-1.module_el8.4.0+2492+beebcf7e | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql-test | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql-test-rpm-macros | 9.6.22-1.module_el8.5.0+58+52470387 | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql-test-rpm-macros | 9.6.22-1.module_el8.4.0+2492+beebcf7e | ALSA-2021:2360 |
| AlmaLinux:8 | postgresql-test-rpm-macros | 9.6.22-1.module_el8.4.0+2479+beebcf7e | ALSA-2021:2360 |
| Alpine:v3.20 | postgresql14 | 13.3-r0 | ALPINE-CVE-2021-32028 |
| Alpine:v3.20 | postgresql15 | 13.3-r0 | ALPINE-CVE-2021-32028 |
| Rocky Linux:8 | pgaudit | 0:1.4.0-6.module+el8.4.0+587+d46efd10 | RLSA-2021:2372 |
| Rocky Linux:8 | pgaudit | 0:1.5.0-1.module+el8.5.0+684+c3892ef9 | RLSA-2021:2375 |
| Rocky Linux:8 | pgaudit | 0:1.5.0-1.module+el8.4.0+546+3620623e | RLSA-2021:2375 |
| Rocky Linux:8 | postgres-decoderbufs | 0:0.10.0-2.module+el8.5.0+684+c3892ef9 | RLSA-2021:2375 |
| Rocky Linux:8 | postgres-decoderbufs | 0:0.10.0-2.module+el8.4.0+424+71d47d9a | RLSA-2021:2372 |
| Rocky Linux:8 | postgres-decoderbufs | 0:0.10.0-2.module+el8.4.0+424+71d47d9a | RLSA-2021:2375 |
| Rocky Linux:8 | postgres-decoderbufs | 0:0.10.0-2.module+el8.5.0+684+c3892ef9 | RLSA-2021:2372 |
| Rocky Linux:8 | postgresql | 0:9.6.22-1.module+el8.5.0+687+7cd82e08 | RLSA-2021:2360 |
| Rocky Linux:8 | postgresql | 0:12.7-1.module+el8.4.0+545+ca56da2e | RLSA-2021:2372 |
| Rocky Linux:8 | postgresql | 0:13.3-1.module+el8.4.0+546+3620623e | RLSA-2021:2375 |
| Rocky Linux:8 | postgresql | 0:9.6.22-1.module+el8.4.0+547+51cac6db | RLSA-2021:2360 |
| Rocky Linux:8 | postgresql | 0:10.17-1.module+el8.4.0+548+9eccbe3f | RLSA-2021:2361 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | postgresql | postgresql 13.3, postgresql 12.7, postgresql 11.12, postgresql 10.17, postgresql 9.6.22 |
Weakness: CWE-200