# CVE-2021-3393: An information leak was discovered in postgresql in versions before 13.2, before 12.6 and before 11.11.

- Severity: Medium 4.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.19%, higher than 68% of CVEs (2026-12-01)
- Published: 2021-04-01T13:46:02.000Z
- Modified: 2026-09-08T08:47:47.495Z
- Also known as: BIT-POSTGRESQL-2021-3393
- Weaknesses: CWE-209
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- postgresql: postgresql 13.2, postgresql 12.6, postgresql 11.11
- postgresql postgresql: before 11.11; from 12.0 before 12.6; from 13.0 before 13.2
- redhat software_collections: no versions given
- redhat enterprise_linux: 8.0
- postgresql (Bitnami): before 11.11.0; from 12.0.0 before 12.6.0; from 13.0.0 before 13.2.0

## Every score

- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:P/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1924005> (advisory, issue-tracking, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210507-0006/> (advisory, third-party-advisory)
- <https://security.gentoo.org/glsa/202105-32> (advisory, third-party-advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3393> (web)

## Sources

- CVE List: [CVE-2021-3393](https://www.cve.org/CVERecord?id=CVE-2021-3393), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-3393](https://nvd.nist.gov/vuln/detail/CVE-2021-3393), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-POSTGRESQL-2021-3393](https://osv.dev/vulnerability/BIT-POSTGRESQL-2021-3393), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-3393 · Whole record: https://cve.day/CVE-2021-3393.json · Rebuilt by cve.day 2026-11-25T22:58:00.544Z
