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, 74.1th percentile (scored ); unchanged over 30 days. About EPSS.
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 exploits and proof-of-concept code
Also mentioned in 2 other repositories (lekctut/sdb-hw-13-01, pedr0alencar/vlab-metasploitable2). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- security.netapp.com/advisory/ntap-20210326-0005/ (Third Party Advisory)
- GLSA-202105-32 (vendor-advisory, Third Party Advisory)