Auth bypass in Postgresql
CVE-2021-20229
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.
Vulnerability class: Broken Access Control
EPSS: 0.015 (71.0th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
Affected products
- Postgresql
- Fedoraproject Fedora — versions 33
- Redhat Enterprise_linux — versions 7.0, 8.0
- Redhat Software_collections
- N/a Postgresql — versions postgresql 13.2, postgresql 12.6, postgresql 11.11, postgresql 10.16, postgresql 9.6.21, postgresql 9.5.25
Weakness classification (CWE)
Public proof-of-concept exploits
References
- secalert@redhat.com (Third Party Advisory, x_refsource_MISC, Issue Tracking)
- secalert@redhat.com (x_refsource_CONFIRM, Third Party Advisory)
- secalert@redhat.com (vendor-advisory, Third Party Advisory, x_refsource_GENTOO)
Frequently asked questions
- What is CVE-2021-20229?
- CVE-2021-20229 is a medium-severity vulnerability in Postgresql, classified under Incorrect Authorization. CVSS score: 4.3/10. Published 2021-02-23.
- How severe is CVE-2021-20229?
- Medium severity. CVSS v3 base score is 4.3 out of 10.
- Is CVE-2021-20229 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.