CVE-2021-32028: Infoleak

Published May 4, 2021
·
Updated

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.

Other sources

PostgreSQL could allow a remote authenticated attacker to obtain sensitive information, caused by a memory disclosure vulnerability when using an INSERT … ON CONFLICT … DO UPDATE command on a purpose-crafted table. By creating prerequisite objects, an attacker could exploit this vulnerability to read arbitrary bytes of server memory.

IBM

Using an INSERT ... ON CONFLICT ... DO UPDATE command on a purpose-crafted table, an attacker can read arbitrary bytes of server memory. In the default configuration, any authenticated database user can create prerequisite objects and complete this attack at will. A user lacking the CREATE and TEMPORARY privileges on all databases and the CREATE privilege on all schemas cannot use this attack at will.

Red Hat

Affected Software

11 affected componentsFixes available
redhat/postgresql<13.3
13.3
redhat/postgresql<12.7
12.7
redhat/postgresql<11.12
11.12
redhat/postgresql<10.17
10.17
redhat/postgresql<9.6.22
9.6.22
IBM DRM<=2.0.6
PostgreSQL postgresql>=9.6.0<9.6.22
PostgreSQL postgresql>=10.0<10.17
PostgreSQL postgresql>=11.0<11.12
PostgreSQL postgresql>=12.0<12.7
PostgreSQL postgresql>=13.0<13.3

Event History

Oct 6, 2021
CVE Published
via IBM·12:00 AM
Oct 11, 2021
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-32028?

CVE-2021-32028 is a vulnerability in PostgreSQL that allows a remote authenticated attacker to obtain sensitive information.

2

What is the severity of CVE-2021-32028?

The severity of CVE-2021-32028 is medium with a CVSS score of 6.5.

3

Which software is affected by CVE-2021-32028?

CVE-2021-32028 affects PostgreSQL versions 9.6.0 to 9.6.22, 10.0 to 10.17, 11.0 to 11.12, 12.0 to 12.7, and 13.0 to 13.3.

4

How can an attacker exploit CVE-2021-32028?

An attacker can exploit CVE-2021-32028 by using an INSERT ... ON CONFLICT ... DO UPDATE command on a purpose-crafted table to obtain sensitive information.

5

Are there any references for CVE-2021-32028?

Yes, you can find more information about CVE-2021-32028 at the following references: [1] [2] [3]

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203