Read the docs
TI-2021-12006 Aliases CVE-2021-32028GHSA-fr87-j862-8rwm

Information disclosure in postgresql

Priority LOW 32CWE-200Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Partial Red Hat: 7 fixed, 4 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-200.

Summary

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.

Why it matters now

EPSS 0.01558 75th percentileScored 2026-11-07
Fix Partial Red Hat: 12 advisoriesRed Hat: 7 fixed, 4 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—postgresqlpostgresql 13.3, postgresql 12.7, postgresql 11.12, postgresql 10.17, postgresql 9.6.22—No fix listedCNA
  • postgresql Vendor— Affected postgresql 13.3, postgresql 12.7, postgresql 11.12, postgresql 10.17, postgresql 9.6.22 Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*9.6.0 to before 9.6.22; 10.0 to before 10.17; 11.0 to before 11.12; 12.0 to before 12.7; 13.0 to before 13.3VulnerablePostgreSQL
  • cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* Versions 9.6.0 to before 9.6.22; 10.0 to before 10.17; 11.0 to before 11.12; 12.0 to before 12.7; 13.0 to before 13.3 Vulnerable ·PostgreSQL

Remediation

Red Hat 12 advisories

  • RHSA-2021:2396 Released 2021-06-14 · Red Hat rating Important
    rh-postgresql13-postgresql security update
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-postgresql13-postgresql-13.3-1.el7, rh-postgresql13-postgresql-contrib-13.3-1.el7, rh-postgresql13-postgresql-contrib-syspaths-13.3-1.el7 +12
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-postgresql13-postgresql-13.3-1.el7, rh-postgresql13-postgresql-contrib-13.3-1.el7, rh-postgresql13-postgresql-contrib-syspaths-13.3-1.el7 +12
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-postgresql13-postgresql-13.3-1.el7, rh-postgresql13-postgresql-contrib-13.3-1.el7, rh-postgresql13-postgresql-contrib-syspaths-13.3-1.el7 +12
  • RHSA-2021:2394 Released 2021-06-14 · Red Hat rating Important
    rh-postgresql12-postgresql security update
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-postgresql12-postgresql-12.7-1.el7, rh-postgresql12-postgresql-contrib-12.7-1.el7, rh-postgresql12-postgresql-contrib-syspaths-12.7-1.el7 +11
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-postgresql12-postgresql-12.7-1.el7, rh-postgresql12-postgresql-contrib-12.7-1.el7, rh-postgresql12-postgresql-contrib-syspaths-12.7-1.el7 +11
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-postgresql12-postgresql-12.7-1.el7, rh-postgresql12-postgresql-contrib-12.7-1.el7, rh-postgresql12-postgresql-contrib-syspaths-12.7-1.el7 +11
  • RHSA-2021:2390 Released 2021-06-14 · Red Hat rating Important
    postgresql:10 security update
    • Red Hat Enterprise Linux AppStream EUS (v. 8.2) postgresql-10.17-1.module+el8.2.0+11247+01f3c012.aarch64::postgresql:10, postgresql-10.17-1.module+el8.2.0+11247+01f3c012.ppc64le::postgresql:10, postgresql-10.17-1.module+el8.2.0+11247+01f3c012.s390x::postgresql:10 +47
Show 9 more Red Hat advisories
  • RHSA-2021:2389 Released 2021-06-14 · Red Hat rating Important
    postgresql:12 security update
    • Red Hat Enterprise Linux AppStream EUS (v. 8.2) pgaudit-1.4.0-4.module+el8.2.0+9043+1dbb5661.aarch64::postgresql:12, pgaudit-1.4.0-4.module+el8.2.0+9043+1dbb5661.ppc64le::postgresql:12, pgaudit-1.4.0-4.module+el8.2.0+9043+1dbb5661.s390x::postgresql:12 +47
  • RHSA-2021:2395 Released 2021-06-14 · Red Hat rating Important
    rh-postgresql10-postgresql security update
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-postgresql10-postgresql-10.17-1.el7, rh-postgresql10-postgresql-contrib-10.17-1.el7, rh-postgresql10-postgresql-contrib-syspaths-10.17-1.el7 +11
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-postgresql10-postgresql-10.17-1.el7, rh-postgresql10-postgresql-contrib-10.17-1.el7, rh-postgresql10-postgresql-contrib-syspaths-10.17-1.el7 +11
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-postgresql10-postgresql-10.17-1.el7, rh-postgresql10-postgresql-contrib-10.17-1.el7, rh-postgresql10-postgresql-contrib-syspaths-10.17-1.el7 +11
  • RHSA-2021:2391 Released 2021-06-14 · Red Hat rating Important
    postgresql:9.6 security update
    • Red Hat Enterprise Linux AppStream EUS (v. 8.2) postgresql-9.6.22-1.module+el8.2.0+11238+a7309cb6.aarch64::postgresql:9.6, postgresql-9.6.22-1.module+el8.2.0+11238+a7309cb6.ppc64le::postgresql:9.6, postgresql-9.6.22-1.module+el8.2.0+11238+a7309cb6.s390x::postgresql:9.6 +42
  • RHSA-2021:2393 Released 2021-06-14 · Red Hat rating Important
    postgresql:9.6 security update
    • Red Hat Enterprise Linux AppStream EUS (v. 8.1) postgresql-9.6.22-1.module+el8.1.0+11236+e0bc3a70.aarch64::postgresql:9.6, postgresql-9.6.22-1.module+el8.1.0+11236+e0bc3a70.ppc64le::postgresql:9.6, postgresql-9.6.22-1.module+el8.1.0+11236+e0bc3a70.s390x::postgresql:9.6 +42
  • RHSA-2021:2392 Released 2021-06-14 · Red Hat rating Important
    postgresql:10 security update
    • Red Hat Enterprise Linux AppStream EUS (v. 8.1) postgresql-10.17-1.module+el8.1.0+11246+8967ca4a.aarch64::postgresql:10, postgresql-10.17-1.module+el8.1.0+11246+8967ca4a.ppc64le::postgresql:10, postgresql-10.17-1.module+el8.1.0+11246+8967ca4a.s390x::postgresql:10 +47
  • RHSA-2021:2375 Released 2021-06-10 · Red Hat rating Important
    postgresql:13 security update
    • Red Hat Enterprise Linux AppStream (v. 8) pgaudit-1.5.0-1.module+el8.4.0+8873+b821c30a.aarch64::postgresql:13, pgaudit-1.5.0-1.module+el8.4.0+8873+b821c30a.ppc64le::postgresql:13, pgaudit-1.5.0-1.module+el8.4.0+8873+b821c30a.s390x::postgresql:13 +47
  • RHSA-2021:2372 Released 2021-06-10 · Red Hat rating Important
    postgresql:12 security update
    • Red Hat Enterprise Linux AppStream (v. 8) pgaudit-1.4.0-6.module+el8.4.0+11288+c193d6d7.aarch64::postgresql:12, pgaudit-1.4.0-6.module+el8.4.0+11288+c193d6d7.ppc64le::postgresql:12, pgaudit-1.4.0-6.module+el8.4.0+11288+c193d6d7.s390x::postgresql:12 +47
  • RHSA-2021:2361 Released 2021-06-09 · Red Hat rating Important
    postgresql:10 security update
    • Red Hat Enterprise Linux AppStream (v. 8) postgresql-10.17-1.module+el8.4.0+11249+895597ab.aarch64::postgresql:10, postgresql-10.17-1.module+el8.4.0+11249+895597ab.ppc64le::postgresql:10, postgresql-10.17-1.module+el8.4.0+11249+895597ab.s390x::postgresql:10 +47
  • RHSA-2021:2360 Released 2021-06-09 · Red Hat rating Important
    postgresql:9.6 security update
    • Red Hat Enterprise Linux AppStream (v. 8) postgresql-9.6.22-1.module+el8.4.0+11244+beebcf7e.aarch64::postgresql:9.6, postgresql-9.6.22-1.module+el8.4.0+11244+beebcf7e.ppc64le::postgresql:9.6, postgresql-9.6.22-1.module+el8.4.0+11244+beebcf7e.s390x::postgresql:9.6 +42

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat JBoss Enterprise Application Platform 6AffectedNo fix planned: Out of support scope
Red Hat JBoss Enterprise Application Platform 7AffectedNo fix planned: Will not fix
Red Hat Ansible Tower 3.8 for RHEL 7Fixed—
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2021:2360, RHSA-2021:2361, RHSA-2021:2372, RHSA-2021:2375
Red Hat Enterprise Linux AppStream EUS (v. 8.1)Fixed RHSA-2021:2392, RHSA-2021:2393
Red Hat Enterprise Linux AppStream EUS (v. 8.2)Fixed RHSA-2021:2389, RHSA-2021:2390, RHSA-2021:2391
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)Fixed RHSA-2021:2394, RHSA-2021:2395, RHSA-2021:2396
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7)Fixed RHSA-2021:2394, RHSA-2021:2395, RHSA-2021:2396
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7)Fixed RHSA-2021:2394, RHSA-2021:2395, RHSA-2021:2396
Not affected: 6 products
  • Red Hat Decision Manager 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat Fuse 7
  • Red Hat Process Automation 7
  • Red Hat build of Quarkus

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-32028
  2. 2026-10-03 Alias added: GHSA-fr87-j862-8rwm

References

  • TI-2019-06651 In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and… CVSS 3.0HIGH 7.2
  • TI-2017-05187 Improper authentication in postgresql CVSS 3.0CRITICAL 9.8
  • TI-2020-15711 SQL injection in postgresql CVSS 3.1HIGH 8.8
  • TI-2013-01675 Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9… CVSS 2.0MEDIUM 6.5
  • TI-2007-03176 The Database Link library (dblink) in PostgreSQL 8.1 implements functions via CREATE… CVSS 2.0HIGH 9.0
  • TI-2022-01423 SQL injection in postgresql CVSS 3.1HIGH 8.8
See all 202 →

Sources