Skip to content
OpenAdvisories
Unscored CVE-2021-3677 EUVD-2021-26969GHSA-j859-w9g7-8276

A flaw was found in postgresql. A purpose-crafted query can read arbitrary bytes of server memory. In the default configuration, any authen…

Published Mar 2, 2022 · Updated Aug 3, 2024 · Assigned by redhat

Description

A flaw was found in postgresql. A purpose-crafted query can read arbitrary bytes of server memory. In the default configuration, any authenticated database user can complete this attack at will. The attack does not require the ability to create objects. If server settings include max_worker_processes=0, the known versions of this attack are infeasible. However, undiscovered variants of the attack may be independent of that setting.

Affected products

VendorProductAffectedFixed
— postgresql Fixedin v13.4, v12.8, v11.13 —

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.4-0+deb11u1 —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS postgresql-12 12.8-0ubuntu0.20.04.1 USN-5038-1
Ubuntu 18.04 LTS postgresql-10 10.18-0ubuntu0.18.04.1 USN-5038-1
ReleasePackageFixed inAdvisory
RHEL 8 pg_repack 1.4.6-3.module+el8.5.0+11354+78b3c9c5 RHSA-2021:5236, RHSA-2021:5235
RHEL 8 pgaudit 1.4.0-5.module+el8.5.0+11354+78b3c9c5 RHSA-2021:5236, RHSA-2021:5235
RHEL 8 postgres-decoderbufs 0.10.0-2.module+el8.4.0+8873+b821c30a RHSA-2021:5236, RHSA-2021:5235
RHEL 8 postgresql +12 12.9-1.module+el8.5.0+13373+4554acc4 RHSA-2021:5236, RHSA-2021:5235
RHEL 3 rh-postgresql12-postgresql +13 12.9-1.el7 RHSA-2021:5197
RHEL 3 rh-postgresql13-postgresql +14 13.5-1.el7 RHSA-2021:5179
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhev Hypervisor 4 rhvm-appliance 2:4.5-20220603.1.el8ev RHSA-2022:4931

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 pg_repack 1.4.6-3.module_el8.5.0+2606+4554acc4 ALSA-2021:5236, ALSA-2021:5235
AlmaLinux 8 pgaudit 1.4.0-5.module_el8.5.0+2606+4554acc4 ALSA-2021:5236, ALSA-2021:5235
AlmaLinux 8 postgres-decoderbufs 0.10.0-2.module_el8.5.0+2606+4554acc4 ALSA-2021:5236, ALSA-2021:5235
AlmaLinux 8 postgresql +12 12.9-1.module_el8.5.0+2606+4554acc4 ALSA-2021:5236, ALSA-2021:5235

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 pg_repack 1.4.6-3.module+el8.5.0+684+c3892ef9 RLSA-2021:5236, RLSA-2021:5235
Rocky Linux 8 pgaudit 1.4.0-5.module+el8.5.0+686+20453ecc RLSA-2021:5236, RLSA-2021:5235
Rocky Linux 8 postgres-decoderbufs 0.10.0-2.module+el8.4.0+424+71d47d9a RLSA-2021:5236, RLSA-2021:5235
Rocky Linux 8 postgresql 12.9-1.module+el8.5.0+724+9de6e501 RLSA-2021:5236, RLSA-2021:5235
ReleasePackageFixed inAdvisory
SLES 15 SP3 postgresql12 12.8-8.23.2 SUSE-SU-2021:3256-1
SLES 15 SP3 postgresql13 13.4-5.16.2 SUSE-SU-2021:3255-1
SLES 15 SP2 postgresql12 12.8-8.23.2 SUSE-SU-2021:3256-1
SLES 15 SP2 postgresql13 13.4-5.16.2 SUSE-SU-2021:3255-1
SLES 15 SP1 postgresql12 12.12-150100.3.33.1 SUSE-SU-2022:2958-1
SLES 12 SP5 postgresql12 12.8-3.18.2 SUSE-SU-2021:3119-1
SLES 12 SP5 postgresql13 13.4-3.12.2 SUSE-SU-2021:3120-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.8-3.18.2 SUSE-SU-2021:3119-1
SLES for SAP 12 SP5 postgresql13 13.4-3.12.2 SUSE-SU-2021:3120-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 Leap 15.3 postgresql12 12.8-8.23.2 openSUSE-SU-2021:3256-1
openSUSE Leap 15.3 postgresql13 13.4-5.16.2 openSUSE-SU-2021:3255-1
ReleasePackageFixed inAdvisory
Alpine v3.20 postgresql14 +1 13.4-r0 —
Alpine v3.19 postgresql13 +2 13.4-r0 —
Alpine v3.18 postgresql12 12.8-r0 —
Alpine v3.18 postgresql13 +2 13.4-r0 —
Alpine v3.17 postgresql12 12.8-r0 —
Alpine v3.17 postgresql13 +2 13.4-r0 —
Alpine v3.16 postgresql12 12.8-r0 —
Alpine v3.16 postgresql13 +1 13.4-r0 —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.15 postgresql12 12.8-r0 —
Alpine v3.15 postgresql13 +1 13.4-r0 —
Alpine v3.14 postgresql 13.4-r0 —
Alpine v3.13 postgresql 13.4-r0 —
Alpine v3.12 postgresql 12.8-r0 —
Alpine v3.11 postgresql 12.8-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) postgresql 14.2-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 pg_repack 1.4.6-3.module+el8.5.0+20333+86306fc7 ELSA-2021-5236, ELSA-2021-5235
Oracle Linux 8 pgaudit 1.4.0-5.module+el8.5.0+20333+86306fc7 ELSA-2021-5236, ELSA-2021-5235
Oracle Linux 8 postgres-decoderbufs 0.10.0-2.module+el8.4.0+20016+06fd4df3 ELSA-2021-5236, ELSA-2021-5235
Oracle Linux 8 postgresql +12 12.9-1.module+el8.5.0+20463+3d6b40f2 ELSA-2021-5236, ELSA-2021-5235

Advisories 23

References