CVE-2021-20229
mediumpriority · track · 18OT risk · elevatedEPSS 0.015 · 74 %ileDEEURUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (35)
Products and version ranges known to be affected.
- n/a PostgreSQL≤ postgresql 13.2, postgresql 12.6, postgresql 11.11, postgresql 10.16, postgresql 9.6.21, postgresql 9.5.25enisa_euvdEU
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2023-2464PostgreSQL: Mehrere SchwachstellenDeutsch2021-02-11csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann mehrere Schwachstellen in PostgreSQL ausnutzen, um Sicherheitsvorkehrungen zu umgehen oder Informationen offenzulegen.
- BIT-postgresql-2021-202292024-03-06vendor · osvUS
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.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (17)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2021-20229cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=1925296cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-20229cnnvd
- https://packetstormsecurity.com/files/162809/Gentoo-Linux-Security-Advisory-202105-32.htmlcnnvd
- https://security.gentoo.org/glsa/202105-32cnnvd
- https://security.netapp.com/advisory/ntap-20210326-0005/cnnvd
- https://vigilance.fr/vulnerability/PostgreSQL-information-disclosure-via-Single-column-SELECT-Privilege-34570cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.0671cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan