{"id":"ALPINE-CVE-2021-20229","details":"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.","modified":"2026-08-27T22:18:01.430489507Z","published":"2021-02-23T18:15:13.473Z","upstream":["CVE-2021-20229"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2021-20229"}],"affected":[{"package":{"name":"postgresql","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/postgresql?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.0"},{"fixed":"12.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-20229.json"}},{"package":{"name":"postgresql","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/postgresql?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.0"},{"fixed":"13.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-20229.json"}},{"package":{"name":"postgresql","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/postgresql?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"13.0"},{"fixed":"13.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-20229.json"}},{"package":{"name":"postgresql13","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/postgresql13?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-20229.json"}},{"package":{"name":"postgresql13","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/postgresql13?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-20229.json"}},{"package":{"name":"postgresql14","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/postgresql14?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-20229.json"}},{"package":{"name":"postgresql14","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/postgresql14?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-20229.json"}},{"package":{"name":"postgresql14","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/postgresql14?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-20229.json"}},{"package":{"name":"postgresql14","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/postgresql14?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-20229.json"}},{"package":{"name":"postgresql15","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/postgresql15?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-20229.json"}},{"package":{"name":"postgresql15","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/postgresql15?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-20229.json"}},{"package":{"name":"postgresql15","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/postgresql15?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-20229.json"}},{"package":{"name":"postgresql15","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/postgresql15?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"13.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-20229.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"}]}