CVE-2021-32028 Information disclosure in postgresql

Medium 6.5 Published Updated

An authenticated user can read arbitrary server memory bytes via a crafted INSERT ON CONFLICT command, compromising data confidentiality.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-32028?

CVE-2021-32028 is a medium-severity vulnerability in Postgresql Postgresql, published on 11 Oct 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A flaw was found in postgresql. Using an INSERT ... ON CONFLICT ... DO UPDATE command on a purpose-crafted table, an authenticated database user could read arbitrary bytes of server memory. The highest threat from this vulnerability is to data confidentiality.

Weakness: CWE-200

Which versions are affected by CVE-2021-32028?

1 open source package ship an affected version, including postgresql. It affects 1 product.

PackageAffectedFixed in
postgresql BitnamiFrom 9.6.09.6.22, 10.17.0, 11.12.0, 12.7.0, 13.3.0

Products include Postgresql Postgresql.

How do I fix CVE-2021-32028?

Upgrade postgresql to a fixed version for your release line: 9.6.22, 10.17.0, 11.12.0 or 12.7.0.

Is CVE-2021-32028 being exploited?

There is no known exploitation of CVE-2021-32028 in the wild and no public exploit code.

All Postgresql Postgresql vulnerabilities

Sources

Also known as ALPINE-CVE-2021-32028, BIT-postgresql-2021-32028, CLEANSTART-2026-VM56889, DEBIAN-CVE-2021-32028, ECHO-6788-82b2-dd38, GHSA-fr87-j862-8rwm and 3 more.

Is CVE-2021-32028 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free