CVE-2021-3393
Generation of Error Message Containing Sensitive Information in postgresql
Reported by redhat · Published April 1, 2021
An information leak was discovered in postgresql in versions before 13.2, before 12.6 and before 11.11. A user having UPDATE permission but not SELECT permission to a particular column could craft queries which, under some circumstances, might disclose values from that column in error messages. An attacker could use this flaw to obtain information stored in a column they are allowed to write but not read.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| postgresql13 | Alpine | 13.2-r0 |
| postgresql14 | Alpine | 13.2-r0 |
| postgresql | Arch Linux | 13.2-1 |
| postgresql | Alpine | 13.2-r0, 12.6-r0, 11.11-r0 |
| postgresql15 | Alpine | 13.2-r0 |
| postgresql | Bitnami | 13.2.0, 12.6.0, 11.11.0 |
| postgresql-12 | Ubuntu:20.04:LTS | 12.6-0ubuntu0.20.04.1 |
| postgresql | Bitnami | 13.2.0, 12.6.0, 11.11.0 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | postgresql | postgresql 13.2, postgresql 12.6, postgresql 11.11 |
| alpine | postgresql13 | 0 |
| alpine | postgresql14 | 0 |
| arch | postgresql | 0 |
| alpine | postgresql | 0, 0, 0 |
| alpine | postgresql15 | 0 |
| n/a | postgresql | postgresql 13.2, postgresql 12.6, postgresql 11.11 |
Timeline
- Feb 11, 2021 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 7, 2026 Distribution Patch (3 in total, the first dated here)
- Mar 7, 2026 Security Advisory (9 in total, the first dated here)
- Jul 30, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-3393
vulnetix vdb fixes CVE-2021-3393
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-3393/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_CONFIRM
- GLSA-202105-32 vendor-advisoryx_refsource_GENTOO