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
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.015 (72.6th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 73rd percentile — 72.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.015 · newest: 0.015 · change: 0.000
Affected products
- PostgreSQL
- Fedoraproject Fedora — versions 33
- Red Hat Enterprise Linux — versions 7.0, 8.0
- Red Hat Software Collections
- 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
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- security.netapp.com/advisory/ntap-20210326-0005/ (Third Party Advisory)
- security.gentoo.org/glsa/202105-32 (vendor-advisory, Third Party Advisory)
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.