CVE-2021-3677: Infoleak
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 maxworkerprocesses=0, the known versions of this attack are infeasible. However, undiscovered variants of the attack may be independent of that setting.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/postgresqlto a version that resolves this vulnerability.Fixed in 13.4 - Upgrade
Upgrade
redhat/postgresqlto a version that resolves this vulnerability.Fixed in 12.8 - Upgrade
Upgrade
redhat/postgresqlto a version that resolves this vulnerability.Fixed in 11.13 - Upgrade
Upgrade
alpine/postgresqlto a version that resolves this vulnerability.Fixed in 12.8-r0 - Upgrade
Upgrade
alpine/postgresqlto a version that resolves this vulnerability.Fixed in 13.4-r0 - Upgrade
Upgrade
alpine/postgresql12to a version that resolves this vulnerability.Fixed in 12.8-r0 - Upgrade
Upgrade
alpine/postgresql13to a version that resolves this vulnerability.Fixed in 13.4-r0 - Upgrade
Upgrade
alpine/postgresql14to a version that resolves this vulnerability.Fixed in 13.4-r0 - Upgrade
Upgrade
alpine/postgresql15to a version that resolves this vulnerability.Fixed in 13.4-r0 - Configuration
Set max_worker_processes=0 to make the known versions of this attack infeasible.
PostgreSQL max_worker_processes = 0
Event History
Frequently Asked Questions
What is CVE-2021-3677?
CVE-2021-3677 is a vulnerability found in postgresql that allows an authenticated database user to read arbitrary bytes of server memory.
How severe is CVE-2021-3677?
CVE-2021-3677 has a severity score of 6.5, which is considered medium.
Who is affected by CVE-2021-3677?
Postgresql versions 11.0 to 11.13, 12.0 to 12.8, and 13.0 to 13.4 are affected by CVE-2021-3677.
How can I fix CVE-2021-3677?
To fix CVE-2021-3677, it is recommended to update to a patched version of postgresql (11.13, 12.8, or 13.4).
Where can I find more information about CVE-2021-3677?
You can find more information about CVE-2021-3677 on the following references: [Red Hat Bugzilla](https://bugzilla.redhat.com/show_bug.cgi?id=2001857), [Gentoo GLSA](https://security.gentoo.org/glsa/202211-04), and [NetApp Security Advisory](https://security.netapp.com/advisory/ntap-20220407-0008/).