PT-2021-2222 · Unknown+3 · Postgresql+2

Sven Klemm

·

Published

2021-02-10

·

Updated

2026-01-30

·

CVE-2021-20229

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions PostgreSQL versions prior to 13.2 PostgreSQL versions prior to 12.6 PostgreSQL versions prior to 11.11 PostgreSQL versions prior to 10.16 PostgreSQL versions prior to 9.6.21 PostgreSQL versions prior to 9.5.25
Description A flaw was found in PostgreSQL that 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. This issue is related to shortcomings in the authorization mechanism, which can be exploited by a remote attacker to gain unauthorized access to protected information.
Recommendations For versions prior to 13.2, update to version 13.2 or later. For versions prior to 12.6, update to version 12.6 or later. For versions prior to 11.11, update to version 11.11 or later. For versions prior to 10.16, update to version 10.16 or later. For versions prior to 9.6.21, update to version 9.6.21 or later. For versions prior to 9.5.25, update to version 9.5.25 or later.

Fix

Incorrect Authorization

Weakness Enumeration

Related Identifiers

ALT-PU-2021-1291
BDU:2021-01131
BIT-POSTGRESQL-2021-20229
CLEANSTART-2026-FW42039
CLEANSTART-2026-HJ04971
CVE-2021-20229
ECHO-5FD3-4F65-EAE8
MGASA-2021-0121
OESA-2021-1124
OPENSUSE-SU-2024:11187-1
OPENSUSE-SU-2024:12387-1
OPENSUSE-SU-2024:13243-1
OPENSUSE-SU-2024:14360-1
OPENSUSE-SU-2025:15580-1
SUSE-SU-2021:0543-1
SUSE-SU-2021:0545-1
SUSE-SU-2021_0543-1
SUSE-SU-2021_0545-1

Affected Products

Alt Linux
Postgresql
Suse