CVE-2021-32027
A flaw was found in postgresql in versions before 13.3, before 12.7, before 11.12, before 10.17 and before 9.6.22. While modifying certain SQL array values, missing bounds checks let authenticated
02 Description
A flaw was found in postgresql in versions before 13.3, before 12.7, before 11.12, before 10.17 and before 9.6.22. While modifying certain SQL array values, missing bounds checks let authenticated
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 1.99% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 80.4% of scored records. A rank, not a probability.
- NVD base score
- 8.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2021-06-01 00:00Z5 YR AGO
- Last updated
- 2024-08-03 23:17Z2 YR AGO
- Reserved
- 2021-05-04
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-190Integer Overflow or WraparoundBase
- Data version
- 5.1
- Document digest
- 1280debddbd742bf335f8bf70f603abeeacabfbeecd70e7b4a8317c4b231e6b3
05 Affected products
06 References
- bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=1956876
- www.postgresql.orghttps://www.postgresql.org/support/security/CVE-2021-32027/
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20210713-0004/
- security.gentoo.orgGLSA-202211-04https://security.gentoo.org/glsa/202211-04
07 Fixed in
AlmaLinux 8
- pgaudit Fixed
A version is affected if any line below covers it.
- Affected before 1.5.0-1.module_el8.5.0+2607+8c0fd184
- Affected before 1.5.0-1.module_el8.6.0+2760+1746ec94
- postgres-decoderbufs Fixed
A version is affected if any line below covers it.
- Affected before 0.10.0-2.module_el8.5.0+2607+8c0fd184
- Affected before 0.10.0-2.module_el8.6.0+2758+4f4474df
- Affected before 0.10.0-2.module_el8.6.0+2760+1746ec94
- postgresql Fixed
A version is affected if any line below covers it.
- Affected before 9.6.22-1.module_el8.4.0+2479+beebcf7e
- Affected before 9.6.22-1.module_el8.4.0+2492+beebcf7e
- Affected before 9.6.22-1.module_el8.5.0+58+52470387
- postgresql-contrib Fixed
A version is affected if any line below covers it.
- Affected before 9.6.22-1.module_el8.4.0+2479+beebcf7e
- Affected before 9.6.22-1.module_el8.4.0+2492+beebcf7e
- Affected before 9.6.22-1.module_el8.5.0+58+52470387
- postgresql-docs Fixed
A version is affected if any line below covers it.
- Affected before 9.6.22-1.module_el8.4.0+2479+beebcf7e
- Affected before 9.6.22-1.module_el8.4.0+2492+beebcf7e
- Affected before 9.6.22-1.module_el8.5.0+58+52470387
- postgresql-plperl Fixed
A version is affected if any line below covers it.
- Affected before 9.6.22-1.module_el8.4.0+2479+beebcf7e
- Affected before 9.6.22-1.module_el8.4.0+2492+beebcf7e
- Affected before 9.6.22-1.module_el8.5.0+58+52470387
- postgresql-plpython3 Fixed
A version is affected if any line below covers it.
- Affected before 9.6.22-1.module_el8.4.0+2479+beebcf7e
- Affected before 9.6.22-1.module_el8.4.0+2492+beebcf7e
- Affected before 9.6.22-1.module_el8.5.0+58+52470387
- postgresql-pltcl Fixed
A version is affected if any line below covers it.
- Affected before 9.6.22-1.module_el8.4.0+2479+beebcf7e
- Affected before 9.6.22-1.module_el8.4.0+2492+beebcf7e
- Affected before 9.6.22-1.module_el8.5.0+58+52470387
- postgresql-server Fixed
A version is affected if any line below covers it.
- Affected before 9.6.22-1.module_el8.4.0+2479+beebcf7e
- Affected before 9.6.22-1.module_el8.4.0+2492+beebcf7e
- Affected before 9.6.22-1.module_el8.5.0+58+52470387
- postgresql-server-devel Fixed
A version is affected if any line below covers it.
- Affected before 9.6.22-1.module_el8.4.0+2479+beebcf7e
- Affected before 9.6.22-1.module_el8.4.0+2492+beebcf7e
- Affected before 9.6.22-1.module_el8.5.0+58+52470387
- postgresql-static Fixed
A version is affected if any line below covers it.
- Affected before 9.6.22-1.module_el8.4.0+2479+beebcf7e
- Affected before 9.6.22-1.module_el8.4.0+2492+beebcf7e
- Affected before 9.6.22-1.module_el8.5.0+58+52470387
- postgresql-test Fixed
A version is affected if any line below covers it.
- Affected before 9.6.22-1.module_el8.4.0+2479+beebcf7e
- Affected before 9.6.22-1.module_el8.4.0+2492+beebcf7e
- Affected before 9.6.22-1.module_el8.5.0+58+52470387
- postgresql-test-rpm-macros Fixed
A version is affected if any line below covers it.
- Affected before 9.6.22-1.module_el8.4.0+2479+beebcf7e
- Affected before 9.6.22-1.module_el8.4.0+2492+beebcf7e
- Affected before 9.6.22-1.module_el8.5.0+58+52470387
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Arch Linux
- postgresql Fixed in 13.3-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
CloudLinux 8
- pgaudit Fixed
A version is affected if any line below covers it.
- Affected before 1.5.0-1.module_el8.5.0+2607+8c0fd184
- Affected before 1.5.0-1.module_el8.6.0+2760+1746ec94
- postgres-decoderbufs Fixed
A version is affected if any line below covers it.
- Affected before 0.10.0-2.module_el8.5.0+2607+8c0fd184
- Affected before 0.10.0-2.module_el8.6.0+2758+4f4474df
- Affected before 0.10.0-2.module_el8.6.0+2760+1746ec94
- postgresql Fixed
A version is affected if any line below covers it.
- Affected before 9.6.22-1.module_el8.4.0+2479+beebcf7e
- Affected before 9.6.22-1.module_el8.4.0+2492+beebcf7e
- Affected before 9.6.22-1.module_el8.5.0+58+52470387
- postgresql-contrib Fixed
A version is affected if any line below covers it.
- Affected before 9.6.22-1.module_el8.4.0+2479+beebcf7e
- Affected before 9.6.22-1.module_el8.4.0+2492+beebcf7e
- Affected before 9.6.22-1.module_el8.5.0+58+52470387
- postgresql-docs Fixed
A version is affected if any line below covers it.
- Affected before 9.6.22-1.module_el8.4.0+2479+beebcf7e
- Affected before 9.6.22-1.module_el8.4.0+2492+beebcf7e
- Affected before 9.6.22-1.module_el8.5.0+58+52470387
- postgresql-plperl Fixed
A version is affected if any line below covers it.
- Affected before 9.6.22-1.module_el8.4.0+2479+beebcf7e
- Affected before 9.6.22-1.module_el8.4.0+2492+beebcf7e
- Affected before 9.6.22-1.module_el8.5.0+58+52470387
- postgresql-plpython3 Fixed
A version is affected if any line below covers it.
- Affected before 9.6.22-1.module_el8.4.0+2479+beebcf7e
- Affected before 9.6.22-1.module_el8.4.0+2492+beebcf7e
- Affected before 9.6.22-1.module_el8.5.0+58+52470387
- postgresql-pltcl Fixed
A version is affected if any line below covers it.
- Affected before 9.6.22-1.module_el8.4.0+2479+beebcf7e
- Affected before 9.6.22-1.module_el8.4.0+2492+beebcf7e
- Affected before 9.6.22-1.module_el8.5.0+58+52470387
- postgresql-server Fixed
A version is affected if any line below covers it.
- Affected before 9.6.22-1.module_el8.4.0+2479+beebcf7e
- Affected before 9.6.22-1.module_el8.4.0+2492+beebcf7e
- Affected before 9.6.22-1.module_el8.5.0+58+52470387
- postgresql-server-devel Fixed
A version is affected if any line below covers it.
- Affected before 9.6.22-1.module_el8.4.0+2479+beebcf7e
- Affected before 9.6.22-1.module_el8.4.0+2492+beebcf7e
- Affected before 9.6.22-1.module_el8.5.0+58+52470387
- postgresql-static Fixed
A version is affected if any line below covers it.
- Affected before 9.6.22-1.module_el8.4.0+2479+beebcf7e
- Affected before 9.6.22-1.module_el8.4.0+2492+beebcf7e
- Affected before 9.6.22-1.module_el8.5.0+58+52470387
- postgresql-test Fixed
A version is affected if any line below covers it.
- Affected before 9.6.22-1.module_el8.4.0+2479+beebcf7e
- Affected before 9.6.22-1.module_el8.4.0+2492+beebcf7e
- Affected before 9.6.22-1.module_el8.5.0+58+52470387
- postgresql-test-rpm-macros Fixed
A version is affected if any line below covers it.
- Affected before 9.6.22-1.module_el8.4.0+2479+beebcf7e
- Affected before 9.6.22-1.module_el8.4.0+2492+beebcf7e
- Affected before 9.6.22-1.module_el8.5.0+58+52470387
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 11
- postgresql-13 Fixed in 13.3-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- postgresql-10 Fixed in 10.17-0ubuntu0.18.04.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- postgresql-12 Fixed in 12.7-0ubuntu0.20.04.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- postgresql-9.3 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- postgresql-9.5 Fixed in 9.5.25-0ubuntu0.16.04.1+esm1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.