Skip to content
OpenAdvisories
Unscored CVE-2021-32029 EUVD-2021-18895GHSA-f47v-jjrp-x56x

A flaw was found in postgresql. Using an UPDATE ... RETURNING command on a purpose-crafted table, an authenticated database user could read…

Published Oct 8, 2021 · Updated Aug 3, 2024 · Assigned by redhat

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 products

VendorProductAffectedFixed
— postgresql postgresql 13.3, postgresql 12.7, postgresql 11.12 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 11 postgresql-13 13.3-1 —
Debian 10 postgresql-11 11.12-0+deb10u1 DSA-4915-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS postgresql-12 12.7-0ubuntu0.20.04.1 USN-4972-1
Ubuntu 18.04 LTS postgresql-10 10.17-0ubuntu0.18.04.1 USN-4972-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS postgresql-9.3 No fix yet —
ReleasePackageFixed inAdvisory
RHEL 8 pgaudit 1.4.0-6.module+el8.4.0+11288+c193d6d7 RHSA-2021:2375, RHSA-2021:2372
RHEL 8 postgres-decoderbufs 0.10.0-2.module+el8.4.0+8873+b821c30a RHSA-2021:2375, RHSA-2021:2372
RHEL 8 postgresql +12 12.7-1.module+el8.4.0+11288+c193d6d7 RHSA-2021:2375, RHSA-2021:2372
RHEL 3 rh-postgresql12-postgresql +13 12.7-1.el7 RHSA-2021:2394
RHEL 3 rh-postgresql13-postgresql +14 13.3-1.el7 RHSA-2021:2396
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.2 EUS pgaudit 1.4.0-4.module+el8.2.0+9043+1dbb5661 RHSA-2021:2389
RHEL 8.2 EUS postgres-decoderbufs 0.10.0-2.module+el8.2.0+9043+1dbb5661 RHSA-2021:2389
RHEL 8.2 EUS postgresql +12 12.7-1.module+el8.2.0+11251+7a3cc531 RHSA-2021:2389

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
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.5.0+2607+8c0fd184 ALSA-2021:2375, ALSA-2021:2372

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 pgaudit 1.4.0-6.module+el8.4.0+587+d46efd10 RLSA-2021:2375, RLSA-2021:2372
Rocky Linux 8 postgres-decoderbufs 0.10.0-2.module+el8.4.0+424+71d47d9a RLSA-2021:2375, RLSA-2021:2372
Rocky Linux 8 postgresql 12.7-1.module+el8.4.0+545+ca56da2e RLSA-2021:2375, RLSA-2021:2372
ReleasePackageFixed inAdvisory
SLES 15 SP3 postgresql12 12.7-8.20.1 SUSE-SU-2021:1994-1
SLES 15 SP3 postgresql13 13.3-5.10.1 SUSE-SU-2021:1785-2, SUSE-SU-2021:1785-1
SLES 15 SP2 postgresql12 12.7-8.20.1 SUSE-SU-2021:1994-1
SLES 15 SP2 postgresql13 13.3-5.10.1 SUSE-SU-2021:1785-1
SLES 15 SP1 postgresql12 12.12-150100.3.33.1 SUSE-SU-2022:2958-1
SLES 12 SP5 postgresql12 12.7-3.15.3 SUSE-SU-2021:1783-1
SLES 12 SP5 postgresql13 13.3-3.9.3 SUSE-SU-2021:1784-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP1 postgresql12 12.12-150100.3.33.1 SUSE-SU-2022:2958-1
SLES for SAP 12 SP5 postgresql12 12.7-3.15.3 SUSE-SU-2021:1783-1
SLES for SAP 12 SP5 postgresql13 13.3-3.9.3 SUSE-SU-2021:1784-1
SLE HPC 15 SP1 postgresql12 12.12-150100.3.33.1 SUSE-SU-2022:2958-1
SUSE Enterprise Storage 6 postgresql12 12.12-150100.3.33.1 SUSE-SU-2022:2958-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed postgresql11 11.13-1.3 openSUSE-SU-2024:11185-1
openSUSE Tumbleweed postgresql12 12.8-1.3 openSUSE-SU-2024:11186-1
openSUSE Tumbleweed postgresql13 13.4-1.3 openSUSE-SU-2024:11187-1
openSUSE Tumbleweed postgresql14 14.5-2.1 openSUSE-SU-2024:12387-1
openSUSE Tumbleweed postgresql15 15.4-2.1 openSUSE-SU-2024:13243-1
openSUSE Tumbleweed postgresql16 16.4-1.1 openSUSE-SU-2024:14360-1
openSUSE Tumbleweed postgresql17 17.6-2.1 openSUSE-SU-2025:15580-1
openSUSE Leap 15.3 postgresql12 12.7-8.20.1 openSUSE-SU-2021:1994-1
openSUSE Leap 15.3 postgresql13 13.3-5.10.1 openSUSE-SU-2021:1785-1
ReleasePackageFixed inAdvisory
Alpine v3.20 postgresql14 +1 13.3-r0 —
Alpine v3.19 postgresql13 +2 13.3-r0 —
Alpine v3.18 postgresql13 +2 13.3-r0 —
Alpine v3.17 postgresql13 +2 13.3-r0 —
Alpine v3.16 postgresql13 +1 13.3-r0 —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.15 postgresql13 +1 13.3-r0 —
Alpine v3.14 postgresql 13.3-r0 —
Alpine v3.13 postgresql 13.3-r0 —
Alpine v3.12 postgresql 12.7-r0 —
Alpine v3.11 postgresql 12.7-r0 —
Alpine v3.10 postgresql 11.12-r0 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 pgaudit 1.4.0-6.module+el8.4.0+20191+2f8d0e59 ELSA-2021-2375, ELSA-2021-2372
Oracle Linux 8 postgres-decoderbufs 0.10.0-2.module+el8.4.0+20016+06fd4df3 ELSA-2021-2375, ELSA-2021-2372
Oracle Linux 8 postgresql +12 12.7-1.module+el8.4.0+20191+2f8d0e59 ELSA-2021-2375, ELSA-2021-2372

Advisories 29

References