CVE-2021-3677
MEDIUM6.5EPSS 0.28%Published: 3/2/2022Modified: 4/28/2026
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.
Affected packages (6)
- Alpine/postgresqlfrom 0, < 12.8-r0
- Alpine/postgresql13from 0, < 13.4-r0
- Alpine/postgresql14from 0, < 13.4-r0
- Alpine/postgresql15from 0, < 13.4-r0
- Bitnami/postgresql>= 11.0.0, < 11.13.0, >= 12.0.0, < 12.8.0, >= 13.0.0, < 13.4.0
- Debian/postgresql-13from 0, < 13.4-0+deb11u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
References (7)
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2021-3677
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-3677
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=2001857
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2021-3677
- WEBhttps://security.gentoo.org/glsa/202211-04
- WEBhttps://security.netapp.com/advisory/ntap-20220407-0008/
- WEBhttps://www.postgresql.org/support/security/CVE-2021-3677/