CVE-2021-20229: A flaw was found in PostgreSQL in versions before 13.2.
Medium CVSS 4.3
- CVE id
- CVE-2021-20229
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| PostgreSQL Runtimes and servers |
>= 13.0, < 13.2 | 13.2 |
How to fix it
Upgrade PostgreSQL to 13.2 or later.
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 in versions before 13.2. This flaw allows a user with SELECT privilege on one column to craft a special query that returns all columns of the table. The highest threat from this vulnerability is to confidentiality.
References
- CVE-2021-20229 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2021-20229
- Web: https://bugzilla.redhat.com/show_bug.cgi?id=1925296
- Web: https://security.gentoo.org/glsa/202105-32
- Web: https://security.netapp.com/advisory/ntap-20210326-0005/
- Web: https://bugzilla.redhat.com/show_bug.cgi?id=1925296
- Web: https://security.gentoo.org/glsa/202105-32
- Web: https://security.netapp.com/advisory/ntap-20210326-0005/
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.