VDB

CVE-2021-3393

CVE-2021-3393 PUBLISHED

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.

PackageEcosystemFixed in
postgresql13Alpine13.2-r0
postgresql14Alpine13.2-r0
postgresqlArch Linux13.2-1
postgresqlAlpine13.2-r0, 12.6-r0, 11.11-r0
postgresql15Alpine13.2-r0
postgresqlBitnami13.2.0, 12.6.0, 11.11.0
postgresql-12Ubuntu:20.04:LTS12.6-0ubuntu0.20.04.1
postgresqlBitnami13.2.0, 12.6.0, 11.11.0

Affected products

VendorProductVersions
n/apostgresqlpostgresql 13.2, postgresql 12.6, postgresql 11.11
alpinepostgresql130
alpinepostgresql140
archpostgresql0
alpinepostgresql0, 0, 0
alpinepostgresql150
n/apostgresqlpostgresql 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
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›