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

EcosystemPackageFixed inAdvisory
AlmaLinux:8pgaudit1.5.0-1.module_el8.6.0+2760+1746ec94ALSA-2021:2375
AlmaLinux:8pgaudit1.5.0-1.module_el8.5.0+2607+8c0fd184ALSA-2021:2375
AlmaLinux:8postgres-decoderbufs0.10.0-2.module_el8.6.0+2760+1746ec94ALSA-2021:2372
AlmaLinux:8postgres-decoderbufs0.10.0-2.module_el8.6.0+2758+4f4474dfALSA-2021:2375
AlmaLinux:8postgres-decoderbufs0.10.0-2.module_el8.5.0+2607+8c0fd184ALSA-2021:2375
AlmaLinux:8postgres-decoderbufs0.10.0-2.module_el8.6.0+2760+1746ec94ALSA-2021:2375
AlmaLinux:8postgres-decoderbufs0.10.0-2.module_el8.6.0+2758+4f4474dfALSA-2021:2372
AlmaLinux:8postgresql9.6.22-1.module_el8.4.0+2479+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql9.6.22-1.module_el8.4.0+2492+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql9.6.22-1.module_el8.5.0+58+52470387ALSA-2021:2360
AlmaLinux:8postgresql-contrib9.6.22-1.module_el8.4.0+2479+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-contrib9.6.22-1.module_el8.4.0+2492+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-contrib9.6.22-1.module_el8.5.0+58+52470387ALSA-2021:2360
AlmaLinux:8postgresql-docs9.6.22-1.module_el8.4.0+2479+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-docs9.6.22-1.module_el8.5.0+58+52470387ALSA-2021:2360
AlmaLinux:8postgresql-docs9.6.22-1.module_el8.4.0+2492+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-plperl9.6.22-1.module_el8.4.0+2479+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-plperl9.6.22-1.module_el8.5.0+58+52470387ALSA-2021:2360
AlmaLinux:8postgresql-plperl9.6.22-1.module_el8.4.0+2492+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-plpython39.6.22-1.module_el8.5.0+58+52470387ALSA-2021:2360
AlmaLinux:8postgresql-plpython39.6.22-1.module_el8.4.0+2479+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-plpython39.6.22-1.module_el8.4.0+2492+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-pltcl9.6.22-1.module_el8.4.0+2479+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-pltcl9.6.22-1.module_el8.4.0+2492+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-pltcl9.6.22-1.module_el8.5.0+58+52470387ALSA-2021:2360
AlmaLinux:8postgresql-server9.6.22-1.module_el8.4.0+2492+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-server9.6.22-1.module_el8.5.0+58+52470387ALSA-2021:2360
AlmaLinux:8postgresql-server9.6.22-1.module_el8.4.0+2479+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-server-devel9.6.22-1.module_el8.4.0+2492+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-server-devel9.6.22-1.module_el8.4.0+2479+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-server-devel9.6.22-1.module_el8.5.0+58+52470387ALSA-2021:2360
AlmaLinux:8postgresql-static9.6.22-1.module_el8.4.0+2492+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-static9.6.22-1.module_el8.5.0+58+52470387ALSA-2021:2360
AlmaLinux:8postgresql-static9.6.22-1.module_el8.4.0+2479+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-test9.6.22-1.module_el8.5.0+58+52470387ALSA-2021:2360
AlmaLinux:8postgresql-test9.6.22-1.module_el8.4.0+2492+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-test9.6.22-1.module_el8.4.0+2479+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-test-rpm-macros9.6.22-1.module_el8.5.0+58+52470387ALSA-2021:2360
AlmaLinux:8postgresql-test-rpm-macros9.6.22-1.module_el8.4.0+2492+beebcf7eALSA-2021:2360
AlmaLinux:8postgresql-test-rpm-macros9.6.22-1.module_el8.4.0+2479+beebcf7eALSA-2021:2360
Alpine:v3.20postgresql1413.3-r0ALPINE-CVE-2021-32028
Alpine:v3.20postgresql1513.3-r0ALPINE-CVE-2021-32028
Rocky Linux:8pgaudit0:1.4.0-6.module+el8.4.0+587+d46efd10RLSA-2021:2372
Rocky Linux:8pgaudit0:1.5.0-1.module+el8.5.0+684+c3892ef9RLSA-2021:2375
Rocky Linux:8pgaudit0:1.5.0-1.module+el8.4.0+546+3620623eRLSA-2021:2375
Rocky Linux:8postgres-decoderbufs0:0.10.0-2.module+el8.5.0+684+c3892ef9RLSA-2021:2375
Rocky Linux:8postgres-decoderbufs0:0.10.0-2.module+el8.4.0+424+71d47d9aRLSA-2021:2372
Rocky Linux:8postgres-decoderbufs0:0.10.0-2.module+el8.4.0+424+71d47d9aRLSA-2021:2375
Rocky Linux:8postgres-decoderbufs0:0.10.0-2.module+el8.5.0+684+c3892ef9RLSA-2021:2372
Rocky Linux:8postgresql0:9.6.22-1.module+el8.5.0+687+7cd82e08RLSA-2021:2360
Rocky Linux:8postgresql0:12.7-1.module+el8.4.0+545+ca56da2eRLSA-2021:2372
Rocky Linux:8postgresql0:13.3-1.module+el8.4.0+546+3620623eRLSA-2021:2375
Rocky Linux:8postgresql0:9.6.22-1.module+el8.4.0+547+51cac6dbRLSA-2021:2360
Rocky Linux:8postgresql0:10.17-1.module+el8.4.0+548+9eccbe3fRLSA-2021:2361

Affected products (as reported)

VendorProductVersions
n/a postgresql postgresql 13.3, postgresql 12.7, postgresql 11.12, postgresql 10.17, postgresql 9.6.22

Weakness: CWE-200

References