# CVE-2021-3677

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-03-02 · Modified: 2024-08-03
- Aliases: ALPINE-CVE-2021-3677, MGASA-2021-0424, SUSE-SU-2021:3119-1, SUSE-SU-2021:3120-1, SUSE-SU-2021:3255-1, SUSE-SU-2021:3256-1, RHSA-2022:4931, UBUNTU-CVE-2021-3677, DEBIAN-CVE-2021-3677, openSUSE-SU-2021:3255-1, openSUSE-SU-2021:3256-1
- Record: https://cvemate.com/vulnerability/CVE-2021-3677 · JSON: https://cvemate.com/vulnerability/CVE-2021-3677/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- EPSS: 1.442%, percentile 74.135%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 34)

- alpine postgresql (Alpine Linux): ≥ 11.0, \< 12.8-r0 \| ≥ 11.0, \< 13.4-r0 \| ≥ 12.0, \< 12.8-r0 \| ≥ 13.0, \< 13.4-r0
- alpine postgresql12 (Alpine Linux): \< 12.8-r0
- alpine postgresql13 (Alpine Linux): \< 13.4-r0
- alpine postgresql14 (Alpine Linux): \< 13.4-r0
- alpine postgresql15 (Alpine Linux): \< 13.4-r0
- debian postgresql-13 (Debian): \< 13.4-0+deb11u1
- ubuntu postgresql-12 (Ubuntu): \< 12.8-0ubuntu0.20.04.1
- fedoraproject fedora: 34
- mageia postgresql11 (Mageia): \< 11.13-1.mga8
- mageia postgresql13 (Mageia): \< 13.4-1.mga8
- postgresql postgresql: ≥ 11.0, \< 11.13 \| ≥ 12.0, \< 12.8 \| ≥ 13.0, \< 13.4
- redhat enterprise\_linux: 8.0
- redhat enterprise\_linux\_for\_ibm\_z\_systems: 8.0
- redhat enterprise\_linux\_for\_power\_little\_endian: 8.0
- redhat software\_collections: 1.0
- redhat virtualization: 4.0
- opensuse postgresql12&distro=openSUSE Leap 15.3 (openSUSE): \< 12.8-8.23.2
- opensuse postgresql13&distro=openSUSE Leap 15.3 (openSUSE): \< 13.4-5.16.2
- redhat rhvm-appliance (Red Hat): \< 2:4.5-20220603.1.el8ev
- suse postgresql12&distro=SUSE Linux Enterprise Module for Basesystem 15 SP2 (SUSE Linux Enterprise): \< 12.8-8.23.2

## References (first 20 of 38)

- <https://www.postgresql.org/support/security/CVE-2021-3677/>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2001857>
- <https://security.netapp.com/advisory/ntap-20220407-0008/>
- <https://security.gentoo.org/glsa/202211-04>
- <https://security.alpinelinux.org/vuln/CVE-2021-3677>
- <https://advisories.mageia.org/MGASA-2021-0424.html>
- <https://bugs.mageia.org/show_bug.cgi?id=29369>
- <https://www.postgresql.org/about/news/postgresql-134-128-1113-1018-9623-and-14-beta-3-released-2277/>
- <https://ubuntu.com/security/notices/USN-5038-1>
- <https://www.suse.com/support/update/announcement/2021/suse-su-20213119-1/>
- <https://bugzilla.suse.com/1179945>
- <https://bugzilla.suse.com/1185952>
- <https://bugzilla.suse.com/1187751>
- <https://bugzilla.suse.com/1189748>
- <https://www.suse.com/security/cve/CVE-2021-3677>
- <https://www.suse.com/support/update/announcement/2021/suse-su-20213120-1/>
- <https://www.suse.com/support/update/announcement/2021/suse-su-20213255-1/>
- <https://www.suse.com/support/update/announcement/2021/suse-su-20213256-1/>
- <https://access.redhat.com/errata/RHSA-2022:4931>
- <https://access.redhat.com/security/updates/classification/#moderate>

---

Data as of 2026-12-05T03:08:54.518Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
