CVE-2021-3393: An information leak was discovered in postgresql in versions before 13.2, before 12.6 and before 11.11.
Medium CVSS 4.3
- CVE id
- CVE-2021-3393
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| PostgreSQL Runtimes and servers |
< 11.11 >= 12.0, < 12.6 >= 13.0, < 13.2 |
11.11, 12.6, 13.2 |
How to fix it
Upgrade PostgreSQL to the fixed release of the line you run: 11.11, 12.6, 13.2.
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
An information leak was discovered in postgresql in versions before 13.2, before 12.6 and before 11.11. A user having UPDATE permission but not SELECT permission to a particular column could craft queries which, under some circumstances, might disclose values from that column in error messages. An attacker could use this flaw to obtain information stored in a column they are allowed to write but not read.
References
- CVE-2021-3393 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2021-3393
- Web: https://bugzilla.redhat.com/show_bug.cgi?id=1924005
- Web: https://security.gentoo.org/glsa/202105-32
- Web: https://security.netapp.com/advisory/ntap-20210507-0006/
- Web: https://bugzilla.redhat.com/show_bug.cgi?id=1924005
- Web: https://security.gentoo.org/glsa/202105-32
- Web: https://security.netapp.com/advisory/ntap-20210507-0006/
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.