Vulnerability database / CVE-2021-3677
CVE-2021-3677
MEDIUM 6.5 CVSS 3.1 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.
Published 2 Mar 2022
Last modified 17 Jun 2026 Assigned by secalert@redhat.com NVD status Modified Weakness
CWE-200 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
MEDIUM 6.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NNVD
nvd@nist.gov (Primary)
CVSS 2.0
MEDIUM 4.0
AV:N/AC:L/Au:S/C:P/I:N/A:N
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
postgresql
postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
>= 11.0, < 11.13
11.13 NVD
postgresql
postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
>= 12.0, < 12.8
12.8 NVD
postgresql
postgresqlcpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
>= 13.0, < 13.4
13.4 NVD
redhat
virtualizationcpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:*
= 4.0
NVD
redhat
enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD
redhat
enterprise_linux_for_ibm_z_systemscpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:8.0:*:*:*:*:*:*:*
= 8.0
NVD
redhat
enterprise_linux_for_power_little_endiancpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:8.0:*:*:*:*:*:*:*
= 8.0
NVD
redhat
software_collectionscpe:2.3:a:redhat:software_collections:1.0:*:*:*:*:*:*:*
= 1.0
NVD
fedoraproject
fedoracpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
= 34
References
History
25 Nov 2026 20:34 UTC · NVD: first stored (published 2 Mar 2022)