
CVE catalog
CVE-2021-3677
ALPINE-CVE-2021-3677
- Severity
- Medium · CVSS 6.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 1.44% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | postgresql-13 | 11 | 13.3-1 | vulnerable |
| Debian | postgresql-13 | 11 | 13.4-0+deb11u1 | fixed |
| Alpine | postgresql | 3.11 | 12.8-r0 | fixed |
| Alpine | postgresql | 3.12 | 12.8-r0 | fixed |
| Alpine | postgresql | 3.13 | 13.4-r0 | fixed |
| Alpine | postgresql | 3.14 | 13.4-r0 | fixed |
| Alpine | postgresql13 | 3.15 | 13.4-r0 | fixed |
| Alpine | postgresql13 | 3.16 | 13.4-r0 | fixed |
| Alpine | postgresql14 | 3.15 | 13.4-r0 | fixed |
| Alpine | postgresql14 | 3.16 | 13.4-r0 | fixed |
| Alpine | postgresql14 | 3.17 | 13.4-r0 | fixed |
| Alpine | postgresql14 | 3.18 | 13.4-r0 | fixed |
| Alpine | postgresql15 | 3.17 | 13.4-r0 | fixed |
| Alpine | postgresql15 | 3.18 | 13.4-r0 | fixed |
| Alpine | postgresql15 | 3.19 | 13.4-r0 | fixed |
| Alpine | postgresql15 | 3.20 | 13.4-r0 | fixed |
| Ubuntu | postgresql-12 | 20.04 | 12.0-1 | vulnerable |
| Ubuntu | postgresql-12 | 20.04 | 12.1-1 | vulnerable |
| Ubuntu | postgresql-12 | 20.04 | 12.1-2build1 | vulnerable |
| Ubuntu | postgresql-12 | 20.04 | 12.2-1 | vulnerable |
| Ubuntu | postgresql-12 | 20.04 | 12.2-1ubuntu2 | vulnerable |
| Ubuntu | postgresql-12 | 20.04 | 12.2-4 | vulnerable |
| Ubuntu | postgresql-12 | 20.04 | 12.4-0ubuntu0.20.04.1 | vulnerable |
| Ubuntu | postgresql-12 | 20.04 | 12.5-0ubuntu0.20.04.1 | vulnerable |
| Ubuntu | postgresql-12 | 20.04 | 12.6-0ubuntu0.20.04.1 | vulnerable |
| Ubuntu | postgresql-12 | 20.04 | 12.7-0ubuntu0.20.04.1 | vulnerable |
| Ubuntu | postgresql-12 | 20.04 | 12.8-0ubuntu0.20.04.1 | fixed |
| Suse | postgresql12 | linux enterprise module for basesystem 15 sp2 | 12.8-8.23.2 | fixed |
| Suse | postgresql12 | linux enterprise module for legacy 15 sp3 | 12.8-8.23.2 | fixed |
| Suse | postgresql12 | linux enterprise module for server applications 15 sp2 | 12.8-8.23.2 | fixed |
| Opensuse | postgresql12 | leap 15.3 | 12.8-8.23.2 | fixed |
| Suse | postgresql13 | linux enterprise software development kit 12 sp5 | 13.4-3.12.2 | fixed |
| Suse | postgresql13 | linux enterprise server 12 sp5 | 13.4-3.12.2 | fixed |
| Suse | postgresql13 | linux enterprise server for sap applications 12 sp5 | 13.4-3.12.2 | fixed |
| Suse | postgresql13 | linux enterprise module for basesystem 15 sp2 | 13.4-5.16.2 | fixed |
| Suse | postgresql13 | linux enterprise module for basesystem 15 sp3 | 13.4-5.16.2 | fixed |
| Suse | postgresql13 | linux enterprise module for package hub 15 sp2 | 13.4-5.16.2 | fixed |
| Suse | postgresql13 | linux enterprise module for package hub 15 sp3 | 13.4-5.16.2 | fixed |
| Suse | postgresql13 | linux enterprise module for server applications 15 sp2 | 13.4-5.16.2 | fixed |
| Suse | postgresql13 | linux enterprise module for server applications 15 sp3 | 13.4-5.16.2 | fixed |
| Opensuse | postgresql13 | leap 15.3 | 13.4-5.16.2 | fixed |
| Suse | postgresql12 | linux enterprise software development kit 12 sp5 | 12.8-3.18.2 | fixed |
| Suse | postgresql12 | linux enterprise server 12 sp5 | 12.8-3.18.2 | fixed |
| Suse | postgresql12 | linux enterprise server for sap applications 12 sp5 | 12.8-3.18.2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | postgresql-13 | deb | 11 | 13.4-0+deb11u1 | Not reported | DEBIAN-CVE-2021-3677 | Not reported |
| Alpine | postgresql | apk | 3.11 | 12.8-r0 | Not reported | ALPINE-CVE-2021-3677 | Not reported |
| Alpine | postgresql | apk | 3.12 | 12.8-r0 | Not reported | ALPINE-CVE-2021-3677 | Not reported |
| Alpine | postgresql | apk | 3.13 | 13.4-r0 | Not reported | ALPINE-CVE-2021-3677 | Not reported |
| Alpine | postgresql | apk | 3.14 | 13.4-r0 | Not reported | ALPINE-CVE-2021-3677 | Not reported |
| Alpine | postgresql13 | apk | 3.15 | 13.4-r0 | Not reported | ALPINE-CVE-2021-3677 | Not reported |
| Alpine | postgresql13 | apk | 3.16 | 13.4-r0 | Not reported | ALPINE-CVE-2021-3677 | Not reported |
| Alpine | postgresql14 | apk | 3.15 | 13.4-r0 | Not reported | ALPINE-CVE-2021-3677 | Not reported |
| Alpine | postgresql14 | apk | 3.16 | 13.4-r0 | Not reported | ALPINE-CVE-2021-3677 | Not reported |
| Alpine | postgresql14 | apk | 3.17 | 13.4-r0 | Not reported | ALPINE-CVE-2021-3677 | Not reported |
| Alpine | postgresql14 | apk | 3.18 | 13.4-r0 | Not reported | ALPINE-CVE-2021-3677 | Not reported |
| Alpine | postgresql15 | apk | 3.17 | 13.4-r0 | Not reported | ALPINE-CVE-2021-3677 | Not reported |
| Alpine | postgresql15 | apk | 3.18 | 13.4-r0 | Not reported | ALPINE-CVE-2021-3677 | Not reported |
| Alpine | postgresql15 | apk | 3.19 | 13.4-r0 | Not reported | ALPINE-CVE-2021-3677 | Not reported |
| Alpine | postgresql15 | apk | 3.20 | 13.4-r0 | Not reported | ALPINE-CVE-2021-3677 | Not reported |
| Ubuntu | postgresql-12 | deb | 20.04 | 12.8-0ubuntu0.20.04.1 | Not reported | UBUNTU-CVE-2021-3677 | Not reported |
| Suse | postgresql12 | rpm | linux enterprise module for basesystem 15 sp2 | 12.8-8.23.2 | Not reported | SUSE-SU-2021:3256-1 | Not reported |
| Suse | postgresql12 | rpm | linux enterprise module for legacy 15 sp3 | 12.8-8.23.2 | Not reported | SUSE-SU-2021:3256-1 | Not reported |
| Suse | postgresql12 | rpm | linux enterprise module for server applications 15 sp2 | 12.8-8.23.2 | Not reported | SUSE-SU-2021:3256-1 | Not reported |
| Opensuse | postgresql12 | rpm | leap 15.3 | 12.8-8.23.2 | Not reported | OPENSUSE-SU-2021:3256-1 | Not reported |
| Suse | postgresql13 | rpm | linux enterprise software development kit 12 sp5 | 13.4-3.12.2 | Not reported | SUSE-SU-2021:3120-1 | Not reported |
| Suse | postgresql13 | rpm | linux enterprise server 12 sp5 | 13.4-3.12.2 | Not reported | SUSE-SU-2021:3120-1 | Not reported |
| Suse | postgresql13 | rpm | linux enterprise server for sap applications 12 sp5 | 13.4-3.12.2 | Not reported | SUSE-SU-2021:3120-1 | Not reported |
| Suse | postgresql13 | rpm | linux enterprise module for basesystem 15 sp2 | 13.4-5.16.2 | Not reported | SUSE-SU-2021:3255-1 | Not reported |
| Suse | postgresql13 | rpm | linux enterprise module for basesystem 15 sp3 | 13.4-5.16.2 | Not reported | SUSE-SU-2021:3255-1 | Not reported |
| Suse | postgresql13 | rpm | linux enterprise module for package hub 15 sp2 | 13.4-5.16.2 | Not reported | SUSE-SU-2021:3255-1 | Not reported |
| Suse | postgresql13 | rpm | linux enterprise module for package hub 15 sp3 | 13.4-5.16.2 | Not reported | SUSE-SU-2021:3255-1 | Not reported |
| Suse | postgresql13 | rpm | linux enterprise module for server applications 15 sp2 | 13.4-5.16.2 | Not reported | SUSE-SU-2021:3255-1 | Not reported |
| Suse | postgresql13 | rpm | linux enterprise module for server applications 15 sp3 | 13.4-5.16.2 | Not reported | SUSE-SU-2021:3255-1 | Not reported |
| Opensuse | postgresql13 | rpm | leap 15.3 | 13.4-5.16.2 | Not reported | OPENSUSE-SU-2021:3255-1 | Not reported |
| Suse | postgresql12 | rpm | linux enterprise software development kit 12 sp5 | 12.8-3.18.2 | Not reported | SUSE-SU-2021:3119-1 | Not reported |
| Suse | postgresql12 | rpm | linux enterprise server 12 sp5 | 12.8-3.18.2 | Not reported | SUSE-SU-2021:3119-1 | Not reported |
| Suse | postgresql12 | rpm | linux enterprise server for sap applications 12 sp5 | 12.8-3.18.2 | Not reported | SUSE-SU-2021:3119-1 | Not reported |
OpenFactory catalog packages
No matching packages in this catalog.
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2021_5235.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2021-3677]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-3677]
- [https://osv.dev/vulnerability/SUSE-SU-2021:3119-1]
- [https://osv.dev/vulnerability/SUSE-SU-2021:3120-1]
- [https://osv.dev/vulnerability/SUSE-SU-2021:3255-1]
- [https://osv.dev/vulnerability/SUSE-SU-2021:3256-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-3677]
- [https://osv.dev/vulnerability/openSUSE-SU-2021:3255-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2021:3256-1]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-3677.json]
[FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]