# CVE-2021-3677: A flaw was found in postgresql.

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.44%, higher than 74% of CVEs (2026-11-30)
- Published: 2022-03-02T00:00:00.000Z
- Modified: 2026-09-08T08:47:58.835Z
- Also known as: BIT-POSTGRESQL-2021-3677
- Weaknesses: CWE-200
- 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.

(As written by CVE List.)

## Affected

- postgresql: Fixedin v13.4, v12.8, v11.13
- postgresql postgresql: from 11.0 before 11.13; from 12.0 before 12.8; from 13.0 before 13.4
- redhat virtualization: 4.0
- 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
- fedoraproject fedora: 34
- postgresql (Bitnami): from 11.0.0 before 11.13.0; from 12.0.0 before 12.8.0; from 13.0.0 before 13.4.0

## Every score

- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://www.postgresql.org/support/security/CVE-2021-3677/> (advisory, vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2001857> (advisory, issue-tracking, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20220407-0008/> (advisory, third-party-advisory)
- <https://security.gentoo.org/glsa/202211-04> (advisory, third-party-advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3677> (web)

## Sources

- CVE List: [CVE-2021-3677](https://www.cve.org/CVERecord?id=CVE-2021-3677), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-3677](https://nvd.nist.gov/vuln/detail/CVE-2021-3677), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-POSTGRESQL-2021-3677](https://osv.dev/vulnerability/BIT-POSTGRESQL-2021-3677), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-3677 · Whole record: https://cve.day/CVE-2021-3677.json · Rebuilt by cve.day 2026-11-25T22:58:07.102Z
