CVE-2021-20229

Name
CVE-2021-20229
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
Issue Tracking https://bugzilla.redhat.com/show_bug.cgi?id=1925296
Third Party Advisory https://security.netapp.com/advisory/ntap-20210326-0005/
Third Party Advisory https://security.gentoo.org/glsa/202105-32

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* postgresql >= 9.5.0 < 9.5.25
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* postgresql >= 9.6.0 < 9.6.21
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* postgresql >= 10.0 < 10.16
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* postgresql >= 11.0 < 11.11
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* postgresql >= 12.0 < 12.6
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* postgresql >= 13.0 < 13.2

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
postgresql15 edge-main 13.2-r0 None fixed
postgresql15 edge-community 13.2-r0 None fixed
postgresql15 3.20-main 13.2-r0 None fixed
postgresql15 3.19-main 13.2-r0 None fixed
postgresql15 3.18-main 13.2-r0 None fixed
postgresql15 3.17-main 13.2-r0 None fixed
postgresql14 edge-main 13.2-r0 None fixed
postgresql14 edge-community 13.2-r0 None fixed
postgresql14 3.20-community 13.2-r0 None fixed
postgresql14 3.19-community 13.2-r0 None fixed
postgresql14 3.18-main 13.2-r0 None fixed
postgresql14 3.17-main 13.2-r0 None fixed
postgresql13 edge-main 13.2-r0 None fixed
postgresql13 edge-community 13.2-r0 None fixed
postgresql13 3.19-community 13.2-r0 None fixed
postgresql13 3.18-community 13.2-r0 None fixed
postgresql13 3.17-community 13.2-r0 None fixed
postgresql edge-main 13.2-r0 None fixed
postgresql edge-main 12.5-r0 None possibly vulnerable
postgresql edge-main 12.4-r0 None possibly vulnerable
postgresql edge-main 12.2-r0 None possibly vulnerable
postgresql edge-main 11.5-r0 None possibly vulnerable
postgresql edge-main 11.4-r0 None possibly vulnerable
postgresql edge-main 11.3-r0 None possibly vulnerable
postgresql edge-main 11.1-r0 None possibly vulnerable
postgresql edge-main 10.5-r0 None possibly vulnerable
postgresql edge-main 10.4-r0 None possibly vulnerable
postgresql edge-main 10.3-r0 None possibly vulnerable
postgresql edge-main 10.2-r0 None possibly vulnerable
postgresql edge-main 10.1-r0 None possibly vulnerable
postgresql edge-main 9.6.4-r0 None possibly vulnerable
postgresql edge-main 9.6.3-r0 None possibly vulnerable
postgresql 3.12-main 12.6-r0 Jakub Jirutka <jakub@jirutka.cz> fixed