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.

Severity (CVSS NVD)4.3Medium
Exploit odds (30 days)1.2%top 32.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
AlmaLinux:8postgres-decoderbufs0.10.0-2.module_el8.6.0+2758+4f4474dfALSA-2021:2372
AlmaLinux:8postgres-decoderbufs0.10.0-2.module_el8.6.0+2760+1746ec94ALSA-2021:2372
Alpine:v3.20postgresql1413.2-r0ALPINE-CVE-2021-3393
Alpine:v3.20postgresql1513.2-r0ALPINE-CVE-2021-3393
Rocky Linux:8pgaudit0:1.4.0-6.module+el8.4.0+587+d46efd10RLSA-2021:2372
Rocky Linux:8postgres-decoderbufs0:0.10.0-2.module+el8.4.0+424+71d47d9aRLSA-2021:2372
Rocky Linux:8postgres-decoderbufs0:0.10.0-2.module+el8.5.0+684+c3892ef9RLSA-2021:2372
Rocky Linux:8postgresql0:12.7-1.module+el8.4.0+545+ca56da2eRLSA-2021:2372

Affected products (as reported)

VendorProductVersions
n/a postgresql postgresql 13.2, postgresql 12.6, postgresql 11.11

Weakness: CWE-209

References