Vulnerability · Published Feb 23, 2021 · Assigned by redhat
CVE-2021-20229
Medium 4.3
In plain English
A medium-severity incorrect authorization in PostgreSQL. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 74% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)4.3Medium
Exploit odds (30 days)1.5%top 26.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | postgresql14 | 13.2-r0 | ALPINE-CVE-2021-20229 |
| Alpine:v3.20 | postgresql15 | 13.2-r0 | ALPINE-CVE-2021-20229 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | PostgreSQL | postgresql 13.2, postgresql 12.6, postgresql 11.11, postgresql 10.16, postgresql 9.6.21, postgresql 9.5.25 |
Weakness: CWE-863
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1925296 x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20210326-0005/ x_refsource_CONFIRM
- GLSA-202105-32 vendor-advisory, x_refsource_GENTOO