CVE-2021-3677: A flaw was found in postgresql.
Medium CVSS 6.5
- CVE id
- CVE-2021-3677
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| PostgreSQL Runtimes and servers |
>= 11.0, < 11.13 >= 12.0, < 12.8 >= 13.0, < 13.4 |
11.13, 12.8, 13.4 |
How to fix it
Upgrade PostgreSQL to the fixed release of the line you run: 11.13, 12.8, 13.4.
psql -c 'SELECT version();'
- Install the patched PostgreSQL minor release of your major version (the postgres image tag, the PGDG packages, or your provider's maintenance update) and restart the server; minor releases need no dump or pg_upgrade.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2021-3677 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2021-3677
- Web: https://bugzilla.redhat.com/show_bug.cgi?id=2001857
- Web: https://security.gentoo.org/glsa/202211-04
- Web: https://security.netapp.com/advisory/ntap-20220407-0008/
- Web: https://www.postgresql.org/support/security/CVE-2021-3677/
- Web: https://bugzilla.redhat.com/show_bug.cgi?id=2001857
- Web: https://security.gentoo.org/glsa/202211-04
- Web: https://security.netapp.com/advisory/ntap-20220407-0008/
- Web: https://www.postgresql.org/support/security/CVE-2021-3677/
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.