Medium severity6.5NVD Advisory· Published Mar 2, 2022· Updated Jun 17, 2026
CVE-2021-3677
CVE-2021-3677
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
52cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*+ 2 more
- cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*range: >=11.0,<11.13
- (no CPE)
- (no CPE)
- cpe:2.3:a:redhat:software_collections:1.0:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:8.0:*:*:*:*:*:*:*
- osv-coords43 versionspkg:bitnami/postgresqlpkg:rpm/almalinux/pg_repackpkg:rpm/almalinux/pgauditpkg:rpm/almalinux/postgres-decoderbufspkg:rpm/almalinux/postgresqlpkg:rpm/almalinux/postgresql-contribpkg:rpm/almalinux/postgresql-docspkg:rpm/almalinux/postgresql-plperlpkg:rpm/almalinux/postgresql-plpython3pkg:rpm/almalinux/postgresql-pltclpkg:rpm/almalinux/postgresql-serverpkg:rpm/almalinux/postgresql-server-develpkg:rpm/almalinux/postgresql-staticpkg:rpm/almalinux/postgresql-testpkg:rpm/almalinux/postgresql-test-rpm-macrospkg:rpm/almalinux/postgresql-upgradepkg:rpm/almalinux/postgresql-upgrade-develpkg:rpm/opensuse/postgresql11&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/postgresql12&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/postgresql12&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/postgresql13&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/postgresql13&distro=openSUSE%20Tumbleweedpkg:rpm/suse/postgresql12&distro=SUSE%20Enterprise%20Storage%206pkg:rpm/suse/postgresql12&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOSpkg:rpm/suse/postgresql12&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSSpkg:rpm/suse/postgresql12&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP2pkg:rpm/suse/postgresql12&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Legacy%2015%20SP3pkg:rpm/suse/postgresql12&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP2pkg:rpm/suse/postgresql12&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/postgresql12&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCLpkg:rpm/suse/postgresql12&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSSpkg:rpm/suse/postgresql12&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/postgresql12&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1pkg:rpm/suse/postgresql12&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5pkg:rpm/suse/postgresql13&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP2pkg:rpm/suse/postgresql13&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP3pkg:rpm/suse/postgresql13&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP2pkg:rpm/suse/postgresql13&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP3pkg:rpm/suse/postgresql13&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP2pkg:rpm/suse/postgresql13&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP3pkg:rpm/suse/postgresql13&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/postgresql13&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/postgresql13&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5
>= 11.0.0, < 11.13.0+ 42 more
- (no CPE)range: >= 11.0.0, < 11.13.0
- (no CPE)range: < 1.4.6-3.module_el8.5.0+2606+4554acc4
- (no CPE)range: < 1.4.0-5.module_el8.6.0+2758+4f4474df
- (no CPE)range: < 0.10.0-2.module_el8.6.0+2760+1746ec94
- (no CPE)range: < 12.9-1.module_el8.5.0+2606+4554acc4
- (no CPE)range: < 12.9-1.module_el8.5.0+2606+4554acc4
- (no CPE)range: < 12.9-1.module_el8.5.0+2606+4554acc4
- (no CPE)range: < 12.9-1.module_el8.5.0+2606+4554acc4
- (no CPE)range: < 12.9-1.module_el8.5.0+2606+4554acc4
- (no CPE)range: < 12.9-1.module_el8.5.0+2606+4554acc4
- (no CPE)range: < 12.9-1.module_el8.5.0+2606+4554acc4
- (no CPE)range: < 12.9-1.module_el8.5.0+2606+4554acc4
- (no CPE)range: < 12.9-1.module_el8.5.0+2606+4554acc4
- (no CPE)range: < 12.9-1.module_el8.5.0+2606+4554acc4
- (no CPE)range: < 12.9-1.module_el8.5.0+2606+4554acc4
- (no CPE)range: < 12.9-1.module_el8.5.0+2606+4554acc4
- (no CPE)range: < 12.9-1.module_el8.5.0+2606+4554acc4
- (no CPE)range: < 11.13-1.3
- (no CPE)range: < 12.8-8.23.2
- (no CPE)range: < 12.8-1.3
- (no CPE)range: < 13.4-5.16.2
- (no CPE)range: < 13.4-1.3
- (no CPE)range: < 12.12-150100.3.33.1
- (no CPE)range: < 12.12-150100.3.33.1
- (no CPE)range: < 12.12-150100.3.33.1
- (no CPE)range: < 12.8-8.23.2
- (no CPE)range: < 12.8-8.23.2
- (no CPE)range: < 12.8-8.23.2
- (no CPE)range: < 12.8-3.18.2
- (no CPE)range: < 12.12-150100.3.33.1
- (no CPE)range: < 12.12-150100.3.33.1
- (no CPE)range: < 12.8-3.18.2
- (no CPE)range: < 12.12-150100.3.33.1
- (no CPE)range: < 12.8-3.18.2
- (no CPE)range: < 13.4-5.16.2
- (no CPE)range: < 13.4-5.16.2
- (no CPE)range: < 13.4-5.16.2
- (no CPE)range: < 13.4-5.16.2
- (no CPE)range: < 13.4-5.16.2
- (no CPE)range: < 13.4-5.16.2
- (no CPE)range: < 13.4-3.12.2
- (no CPE)range: < 13.4-3.12.2
- (no CPE)range: < 13.4-3.12.2
Patches
Vulnerability mechanics
References
4- bugzilla.redhat.com/show_bug.cginvdIssue TrackingThird Party Advisory
- security.gentoo.org/glsa/202211-04nvdThird Party Advisory
- security.netapp.com/advisory/ntap-20220407-0008/nvdThird Party Advisory
- www.postgresql.org/support/security/CVE-2021-3677/nvdVendor Advisory
News mentions
0No linked articles in our index yet.