Vulnerability · Published Oct 8, 2021 · Assigned by redhat

CVE-2021-32029

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.5% (higher than 74% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)1.5%top 25.6% 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 UPDATE ... RETURNING 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.5.0+2607+8c0fd184ALSA-2021:2375
AlmaLinux:8pgaudit1.5.0-1.module_el8.6.0+2760+1746ec94ALSA-2021:2375
AlmaLinux:8postgres-decoderbufs0.10.0-2.module_el8.6.0+2760+1746ec94ALSA-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+2758+4f4474dfALSA-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:2372
Alpine:v3.20postgresql1413.3-r0ALPINE-CVE-2021-32029
Alpine:v3.20postgresql1513.3-r0ALPINE-CVE-2021-32029
Rocky Linux:8pgaudit0:1.5.0-1.module+el8.4.0+546+3620623eRLSA-2021:2375
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: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: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

Affected products (as reported)

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

Weakness: CWE-200

References