Information disclosure in PostgreSQL
CVE-2021-3677
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.
Vulnerability class: Information Disclosure
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.014, 73.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PostgreSQL
- Fedoraproject Fedora — versions 34
- Red Hat Enterprise Linux — versions 8.0, 7.0
- Red Hat Enterprise Linux For IBM Z Systems — versions 8.0
- Red Hat Enterprise Linux For Power Little Endian — versions 8.0
- Red Hat Software Collections — versions 1.0
- Red Hat Virtualization — versions 4.0
- PostgreSQL — versions Fixedin v13.4, v12.8, v11.13
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (lekctut/sdb-hw-13-01, pedr0alencar/vlab-metasploitable2). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.postgresql.org/support/security/CVE-2021-3677/ (Vendor Advisory)
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- security.netapp.com/advisory/ntap-20220407-0008/ (Third Party Advisory)
- GLSA-202211-04 (vendor-advisory, Third Party Advisory)