{"api_version":"1","generated_at":"2026-04-23T08:15:15+00:00","cve":"CVE-2021-20229","urls":{"html":"https://cve.report/CVE-2021-20229","api":"https://cve.report/api/cve/CVE-2021-20229.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-20229","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-20229"},"summary":{"title":"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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2021-02-23 18:15:00","updated_at":"2021-06-09 15:01:00"},"problem_types":["CWE-863"],"metrics":[],"references":[{"url":"https://security.netapp.com/advisory/ntap-20210326-0005/","name":"https://security.netapp.com/advisory/ntap-20210326-0005/","refsource":"CONFIRM","tags":[],"title":"CVE-2021-20229 PostgreSQL Vulnerability in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1925296","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1925296","refsource":"MISC","tags":["Issue Tracking","Third Party Advisory"],"title":"1925296 – (CVE-2021-20229) CVE-2021-20229 postgresql: single-column SELECT privilege enables reading all columns","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/202105-32","name":"GLSA-202105-32","refsource":"GENTOO","tags":[],"title":"PostgreSQL: Multiple vulnerabilities (GLSA 202105-32) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-20229","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20229","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"20229","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"33","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"20229","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"postgresql","cpe5":"postgresql","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"20229","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"postgresql","cpe5":"postgresql","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"20229","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"7.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"20229","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"20229","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"7.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"20229","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"20229","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redhat","cpe5":"software_collections","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"20229","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redhat","cpe5":"software_collections","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-20229","qid":"180318","title":"Debian Security Update for postgresql-13 (CVE-2021-20229)"},{"cve":"CVE-2021-20229","qid":"500541","title":"Alpine Linux Security Update for postgresql"},{"cve":"CVE-2021-20229","qid":"501469","title":"Alpine Linux Security Update for postgresql"},{"cve":"CVE-2021-20229","qid":"501992","title":"Alpine Linux Security Update for postgresql13"},{"cve":"CVE-2021-20229","qid":"502009","title":"Alpine Linux Security Update for postgresql14"},{"cve":"CVE-2021-20229","qid":"502775","title":"Alpine Linux Security Update for postgresql15"},{"cve":"CVE-2021-20229","qid":"504308","title":"Alpine Linux Security Update for postgresql14"},{"cve":"CVE-2021-20229","qid":"710082","title":"Gentoo Linux PostgreSQL Multiple vulnerabilities (GLSA 202105-32)"},{"cve":"CVE-2021-20229","qid":"900020","title":"CBL-Mariner Linux Security Update for postgresql 12.5"},{"cve":"CVE-2021-20229","qid":"903508","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for postgresql (3909)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2021-20229","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"PostgreSQL","version":{"version_data":[{"version_value":"postgresql 13.2, postgresql 12.6, postgresql 11.11, postgresql 10.16, postgresql 9.6.21, postgresql 9.5.25"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-863"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1925296","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1925296"},{"refsource":"CONFIRM","name":"https://security.netapp.com/advisory/ntap-20210326-0005/","url":"https://security.netapp.com/advisory/ntap-20210326-0005/"},{"refsource":"GENTOO","name":"GLSA-202105-32","url":"https://security.gentoo.org/glsa/202105-32"}]},"description":{"description_data":[{"lang":"eng","value":"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":{"publishedDate":"2021-02-23 18:15:00","lastModifiedDate":"2021-06-09 15:01:00","problem_types":["CWE-863"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":4.3,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":1.4},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:N/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":4},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*","versionStartIncluding":"13.0","versionEndExcluding":"13.2","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:redhat:software_collections:-:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"20229","Ordinal":"194270","Title":"CVE-2021-20229","CVE":"CVE-2021-20229","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"20229","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"20229","Ordinal":"2","NoteData":"2021-02-23","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"20229","Ordinal":"3","NoteData":"2021-06-08","Type":"Other","Title":"Modified"}]}}}