Vulnerability · Published Apr 1, 2021 · Assigned by redhat
CVE-2021-3393
Medium 4.3
In plain English
A medium-severity security flaw in postgresql. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | postgres-decoderbufs | 0.10.0-2.module_el8.6.0+2758+4f4474df | ALSA-2021:2372 |
| AlmaLinux:8 | postgres-decoderbufs | 0.10.0-2.module_el8.6.0+2760+1746ec94 | ALSA-2021:2372 |
| Alpine:v3.20 | postgresql14 | 13.2-r0 | ALPINE-CVE-2021-3393 |
| Alpine:v3.20 | postgresql15 | 13.2-r0 | ALPINE-CVE-2021-3393 |
| Rocky Linux:8 | pgaudit | 0:1.4.0-6.module+el8.4.0+587+d46efd10 | RLSA-2021:2372 |
| Rocky Linux:8 | postgres-decoderbufs | 0:0.10.0-2.module+el8.4.0+424+71d47d9a | RLSA-2021:2372 |
| Rocky Linux:8 | postgres-decoderbufs | 0:0.10.0-2.module+el8.5.0+684+c3892ef9 | RLSA-2021:2372 |
| Rocky Linux:8 | postgresql | 0:12.7-1.module+el8.4.0+545+ca56da2e | RLSA-2021:2372 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | postgresql | postgresql 13.2, postgresql 12.6, postgresql 11.11 |
Weakness: CWE-209
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1924005 x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20210507-0006/ x_refsource_CONFIRM
- GLSA-202105-32 vendor-advisory, x_refsource_GENTOO