{"id":"CVE-2021-20229","aliases":["CVE-2021-20229","BIT-POSTGRESQL-2021-20229"],"related":[],"kind":"vulnerability","state":"published","title":"A flaw was found in PostgreSQL in versions before 13.2.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se ha encontrado un fallo en PostgreSQL en las versiones anteriores a la 13.2. Este fallo permite a un usuario con privilegio SELECT en una columna elaborar una consulta especial que devuelva todas las columnas de la tabla. La mayor amenaza de esta vulnerabilidad es la confidencialidad","source":"nvd"}],"published":"2021-02-23T17:40:53.000Z","modified":"2026-09-08T08:48:24.852Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","score":4,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"version":"postgresql 13.2, postgresql 12.6, postgresql 11.11, postgresql 10.16, postgresql 9.6.21, postgresql 9.5.25","status":"affected"}],"product":"PostgreSQL","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"13.0","fixed":"13.2"}],"vendor":"postgresql","product":"postgresql","cpe":"cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"redhat","product":"software_collections","cpe":"cpe:2.3:a:redhat:software_collections:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.0"},{"status":"affected","version":"8.0"}],"vendor":"redhat","product":"enterprise_linux","cpe":"cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"33"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"13.0.0","status":"affected","fixed":"13.2.0"}],"ecosystem":"Bitnami","package":"postgresql","purl":"pkg:bitnami/postgresql","source":"bitnami"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1925296","tags":["advisory","issue-tracking","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20210326-0005/","tags":["advisory","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.gentoo.org/glsa/202105-32","tags":["advisory","third-party-advisory","vendor-advisory","x-refsource-gentoo","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20229","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-20229","url":"https://www.cve.org/CVERecord?id=CVE-2021-20229","licence":"CVE Terms of Use","modified":"2024-08-03T17:30:07.427Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-20229","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20229","licence":"Public domain","modified":"2026-06-17T03:33:30.557Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-POSTGRESQL-2021-20229","url":"https://osv.dev/vulnerability/BIT-POSTGRESQL-2021-20229","licence":"Apache-2.0","modified":"2026-09-08T08:48:24.852Z"}],"updatedAt":"2026-11-25T22:58:00.017Z","epss":{"score":0.01484,"percentile":0.74744,"date":"2026-12-01T12:00:22.000Z"}}