Bug 1956877 (CVE-2021-32028) - CVE-2021-32028 postgresql: Memory disclosure in INSERT ... ON CONFLICT ... DO UPDATE
Summary: CVE-2021-32028 postgresql: Memory disclosure in INSERT ... ON CONFLICT ... DO...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2021-32028
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1962787 1962788 1962789 1962790 1962791 1962792 1962793 1962805 1962806 1962807 1962808 1962809 1962810 1966208 1966209 1966210 1966211 1966212 1966213 1966214 1966215 1967308 1967309 1967551
Blocks: 1956886 1972612 1956885
TreeView+ depends on / blocked
 
Reported: 2021-05-04 15:21 UTC by Michael Kaplan
Modified: 2022-05-17 10:26 UTC (History)
77 users (show)

Fixed In Version: postgresql 13.3, postgresql 12.7, postgresql 11.12, postgresql 10.17, postgresql 9.6.22
Doc Type: If docs needed, set a value
Doc Text:
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.
Clone Of:
Environment:
Last Closed: 2021-06-09 15:05:30 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2021:2446 0 None None None 2021-06-15 16:39:38 UTC
Red Hat Product Errata RHBA-2021:2447 0 None None None 2021-06-15 16:43:33 UTC
Red Hat Product Errata RHBA-2021:2452 0 None None None 2021-06-15 18:10:14 UTC
Red Hat Product Errata RHSA-2021:2360 0 None None None 2021-06-09 12:02:10 UTC
Red Hat Product Errata RHSA-2021:2361 0 None None None 2021-06-09 12:13:23 UTC
Red Hat Product Errata RHSA-2021:2372 0 None None None 2021-06-10 10:07:23 UTC
Red Hat Product Errata RHSA-2021:2375 0 None None None 2021-06-10 11:20:29 UTC
Red Hat Product Errata RHSA-2021:2389 0 None None None 2021-06-14 08:53:48 UTC
Red Hat Product Errata RHSA-2021:2390 0 None None None 2021-06-14 09:07:07 UTC
Red Hat Product Errata RHSA-2021:2391 0 None None None 2021-06-14 08:54:26 UTC
Red Hat Product Errata RHSA-2021:2392 0 None None None 2021-06-14 07:47:38 UTC
Red Hat Product Errata RHSA-2021:2393 0 None None None 2021-06-14 07:50:41 UTC
Red Hat Product Errata RHSA-2021:2394 0 None None None 2021-06-14 09:17:48 UTC
Red Hat Product Errata RHSA-2021:2395 0 None None None 2021-06-14 08:56:03 UTC
Red Hat Product Errata RHSA-2021:2396 0 None None None 2021-06-14 09:26:00 UTC

Description Michael Kaplan 2021-05-04 15:21:16 UTC
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.

Comment 4 Mauro Matteo Cascella 2021-05-20 15:59:03 UTC
Created mingw-postgresql tracking bugs for this issue:

Affects: fedora-all [bug 1962791]


Created postgresql tracking bugs for this issue:

Affects: fedora-all [bug 1962790]


Created postgresql:10/postgresql tracking bugs for this issue:

Affects: fedora-all [bug 1962789]


Created postgresql:11/postgresql tracking bugs for this issue:

Affects: fedora-all [bug 1962788]


Created postgresql:12/postgresql tracking bugs for this issue:

Affects: fedora-all [bug 1962787]


Created postgresql:13/postgresql tracking bugs for this issue:

Affects: fedora-all [bug 1962793]


Created postgresql:9.6/postgresql tracking bugs for this issue:

Affects: fedora-all [bug 1962792]

Comment 7 Mauro Matteo Cascella 2021-06-03 19:59:22 UTC
Upstream advisory:
https://www.postgresql.org/support/security/CVE-2021-32028/

Comment 9 errata-xmlrpc 2021-06-09 12:01:59 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:2360 https://access.redhat.com/errata/RHSA-2021:2360

Comment 10 errata-xmlrpc 2021-06-09 12:13:13 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:2361 https://access.redhat.com/errata/RHSA-2021:2361

Comment 11 Product Security DevOps Team 2021-06-09 15:05:30 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-32028

Comment 12 errata-xmlrpc 2021-06-10 10:07:14 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:2372 https://access.redhat.com/errata/RHSA-2021:2372

Comment 13 errata-xmlrpc 2021-06-10 11:20:16 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:2375 https://access.redhat.com/errata/RHSA-2021:2375

Comment 14 errata-xmlrpc 2021-06-14 07:47:34 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.1 Extended Update Support

Via RHSA-2021:2392 https://access.redhat.com/errata/RHSA-2021:2392

Comment 15 errata-xmlrpc 2021-06-14 07:50:38 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.1 Extended Update Support

Via RHSA-2021:2393 https://access.redhat.com/errata/RHSA-2021:2393

Comment 16 errata-xmlrpc 2021-06-14 08:53:43 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Extended Update Support

Via RHSA-2021:2389 https://access.redhat.com/errata/RHSA-2021:2389

Comment 17 errata-xmlrpc 2021-06-14 08:54:19 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Extended Update Support

Via RHSA-2021:2391 https://access.redhat.com/errata/RHSA-2021:2391

Comment 18 errata-xmlrpc 2021-06-14 08:55:54 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS

Via RHSA-2021:2395 https://access.redhat.com/errata/RHSA-2021:2395

Comment 19 errata-xmlrpc 2021-06-14 09:07:02 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Extended Update Support

Via RHSA-2021:2390 https://access.redhat.com/errata/RHSA-2021:2390

Comment 20 errata-xmlrpc 2021-06-14 09:17:41 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS

Via RHSA-2021:2394 https://access.redhat.com/errata/RHSA-2021:2394

Comment 21 errata-xmlrpc 2021-06-14 09:25:52 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS

Via RHSA-2021:2396 https://access.redhat.com/errata/RHSA-2021:2396


Note You need to log in before you can comment on or make changes to this bug.