CVSS 3.1
8.1 highCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HHigh (8.1). EPSS 1.9% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HExplain CVE-2021-23214 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-23214?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-23214?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-23214 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| postgresql:postgresql | before 9.6.24 |
| postgresql:postgresql | from 10.0 before 10.19 |
| postgresql:postgresql | from 11.0 before 11.14 |
| postgresql:postgresql | from 12.0 before 12.9 |
| postgresql:postgresql | from 13.0 before 13.5 |
| postgresql:postgresql | 14.0 |
| fedoraproject:fedora | 34 |
| fedoraproject:fedora | 35 |
| redhat:software_collections | 1.0 |
| redhat:enterprise_linux | 8.0 |
| redhat:enterprise_linux_for_ibm_z_systems | 8.0 |
| redhat:enterprise_linux_for_power_little_endian | 8.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | postgresql-9.6 | 9.6.24-0+deb9u1 | DLA-2817-1 |
| Debian | 10 | postgresql-11 | 11.14-0+deb10u1 | DSA-5006-1 |
| Debian | 11 | postgresql-13 | 13.5-0+deb11u1 | DEBIAN-CVE-2021-23214 DSA-5007-1 |
| Ubuntu | 18.04:LTS | postgresql-10 | 10.19-0ubuntu0.18.04.1 | UBUNTU-CVE-2021-23214 USN-5145-1 |
| Ubuntu | 20.04:LTS | postgresql-12 | 12.9-0ubuntu0.20.04.1 | UBUNTU-CVE-2021-23214 USN-5145-1 |
| Ubuntu | Pro:14.04:LTS | postgresql-9.3 | no fix listed | UBUNTU-CVE-2021-23214 |
| Ubuntu | Pro:16.04:LTS | postgresql-9.5 | 9.5.25-0ubuntu0.16.04.1+esm1 | UBUNTU-CVE-2021-23214 USN-5645-1 |
| Red Hat | enterprise_linux:8::appstream | pg_repack, pg_repack-debuginfo, pg_repack-debugsource | 0:1.4.6-3.module+el8.5.0+11354+78b3c9c5 | RHSA-2021:5235 |
| Red Hat | enterprise_linux:8::appstream | pg_repack, pg_repack-debuginfo, pg_repack-debugsource | 0:1.4.6-3.module+el8.5.0+11357+bcc62552 | RHSA-2021:5236 |
| Red Hat | enterprise_linux:8::appstream | pgaudit, pgaudit-debuginfo, pgaudit-debugsource | 0:1.4.0-5.module+el8.5.0+11354+78b3c9c5 | RHSA-2021:5235 |
| Red Hat | enterprise_linux:8::appstream | pgaudit, pgaudit-debuginfo, pgaudit-debugsource | 0:1.5.0-1.module+el8.4.0+8873+b821c30a | RHSA-2021:5236 |
| Red Hat | enterprise_linux:8::appstream | postgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource | 0:0.10.0-2.module+el8.4.0+8873+b821c30a | RHSA-2021:5236 |
| Red Hat | enterprise_linux:8::appstream | postgres-decoderbufs, postgres-decoderbufs-debuginfo, postgres-decoderbufs-debugsource | 0:0.10.0-2.module+el8.5.0+11354+78b3c9c5 | RHSA-2021:5235 |
| Red Hat | enterprise_linux:8::appstream | postgresql, postgresql-docs, postgresql-test and 22 more | 0:10.19-1.module+el8.6.0+13642+78853f5a | RHSA-2022:1830 |
| Red Hat | enterprise_linux:8::appstream | postgresql, postgresql-docs, postgresql-test and 22 more | 0:12.9-1.module+el8.5.0+13373+4554acc4 | RHSA-2021:5235 |
| Red Hat | enterprise_linux:8::appstream | postgresql, postgresql-docs, postgresql-test and 22 more | 0:13.5-1.module+el8.5.0+13344+8c0fd184 | RHSA-2021:5236 |
| Red Hat | rhel_software_collections:3::el7 | rh-postgresql12-postgresql, rh-postgresql12-postgresql-docs, rh-postgresql12-postgresql-libs and 12 more | 0:12.9-1.el7 | RHSA-2021:5197 |
| Red Hat | rhel_software_collections:3::el7 | rh-postgresql13-postgresql, rh-postgresql13-postgresql-docs, rh-postgresql13-postgresql-libs and 13 more | 0:13.5-1.el7 | RHSA-2021:5179 |
| SUSE | Enterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 7 more | postgresql | 12.0.1-150000.8.19.1 | SUSE-SU-2022:2893-1 |
| SUSE | Enterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 6 more | postgresql10 | 10.19-8.41.1 | SUSE-SU-2021:4058-1 |
| SUSE | Enterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 3 more | postgresql12 | 12.12-150100.3.33.1 | SUSE-SU-2022:2958-1 |
| SUSE | HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 11 more | postgresql | 14-4.10.1 | SUSE-SU-2021:3755-1 |
| SUSE | HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 11 more | postgresql10 | 10.19-4.22.1 | SUSE-SU-2021:3761-1 |
| SUSE | HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 11 more | postgresql14 | 14.1-3.3.1 | SUSE-SU-2021:3755-1 |
| SUSE | HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 4 more | postgresql96 | 9.6.24-6.18.2 | SUSE-SU-2021:3757-1 |
| SUSE | Linux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 more | postgresql10 | 10.22-150000.4.42.1 | SUSE-SU-2022:2893-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Package Hub 15 SP2 and 3 more | postgresql13 | 13.5-5.22.1 | SUSE-SU-2021:3762-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Package Hub 15 SP2 and 3 more | postgresql14 | 14.1-5.6.1 | SUSE-SU-2021:3759-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Legacy 15 SP3, Linux Enterprise Module for Package Hub 15 SP2 and 2 more | postgresql12 | 12.9-8.26.1 | SUSE-SU-2021:3758-1 |
| SUSE | Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5 | postgresql12 | 12.9-3.21.1 | SUSE-SU-2021:3760-1 |
| 1 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 15.2 | postgresql10 | 10.19-lp152.2.27.1 | openSUSE-SU-2021:1584-1 |
| openSUSE | Leap 15.3 | postgresql10 | 10.19-8.41.1 | openSUSE-SU-2021:4058-1 |
| openSUSE | Leap 15.3 | postgresql12 | 12.9-8.26.1 | openSUSE-SU-2021:3758-1 |
| openSUSE | Leap 15.3 | postgresql13 | 13.5-5.22.1 | openSUSE-SU-2021:3762-1 |
| openSUSE | Leap 15.3 | postgresql14 | 14.1-5.6.1 | openSUSE-SU-2021:3759-1 |
| openSUSE | Tumbleweed | postgresql10 | 10.19-1.1 | openSUSE-SU-2024:11625-1 |
| openSUSE | Tumbleweed | postgresql11 | 11.14-1.1 | openSUSE-SU-2024:11626-1 |
| openSUSE | Tumbleweed | postgresql12 | 12.9-1.1 | openSUSE-SU-2024:11627-1 |
| openSUSE | Tumbleweed | postgresql13 | 13.5-1.1 | openSUSE-SU-2024:11628-1 |
| openSUSE | Tumbleweed | postgresql14 | 14.1-1.1 | openSUSE-SU-2024:11629-1 |
| openSUSE | Tumbleweed | postgresql15 | 15.4-2.1 | openSUSE-SU-2024:13243-1 |
| openSUSE | Tumbleweed | postgresql16 | 16.4-1.1 | openSUSE-SU-2024:14360-1 |
| 1 more for openSUSE in the JSON and on openSUSE's page. | ||||
| AlmaLinux | 8 | pg_repack | 1.4.6-3.module_el8.5.0+2606+4554acc4 | ALSA-2021:5235 |
| AlmaLinux | 8 | pg_repack | 1.4.6-3.module_el8.5.0+2607+8c0fd184 | ALSA-2021:5236 |
| AlmaLinux | 8 | pg_repack | 1.4.6-3.module_el8.6.0+2758+4f4474df | ALSA-2021:5235 ALSA-2021:5236 |
| AlmaLinux | 8 | pg_repack | 1.4.6-3.module_el8.6.0+2760+1746ec94 | ALSA-2021:5235 ALSA-2021:5236 |
| AlmaLinux | 8 | pgaudit | 1.4.0-5.module_el8.5.0+2606+4554acc4 | ALSA-2021:5235 |
| AlmaLinux | 8 | pgaudit | 1.4.0-5.module_el8.6.0+2758+4f4474df | ALSA-2021:5235 |
| AlmaLinux | 8 | pgaudit | 1.5.0-1.module_el8.5.0+2607+8c0fd184 | ALSA-2021:5236 |
| AlmaLinux | 8 | pgaudit | 1.5.0-1.module_el8.6.0+2760+1746ec94 | ALSA-2021:5236 |
| AlmaLinux | 8 | postgres-decoderbufs | 0.10.0-2.module_el8.5.0+2606+4554acc4 | ALSA-2021:5235 |
| AlmaLinux | 8 | postgres-decoderbufs | 0.10.0-2.module_el8.5.0+2607+8c0fd184 | ALSA-2021:5236 |
| AlmaLinux | 8 | postgres-decoderbufs | 0.10.0-2.module_el8.6.0+2758+4f4474df | ALSA-2021:5235 ALSA-2021:5236 |
| AlmaLinux | 8 | postgres-decoderbufs | 0.10.0-2.module_el8.6.0+2760+1746ec94 | ALSA-2021:5235 ALSA-2021:5236 |
| 3 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | pg_repack | 0:1.4.6-3.module+el8.5.0+684+c3892ef9 | RLSA-2021:5235 RLSA-2021:5236 |
| Rocky Linux | 8 | pgaudit | 0:1.4.0-5.module+el8.5.0+686+20453ecc | RLSA-2021:5235 |
| Rocky Linux | 8 | pgaudit | 0:1.5.0-1.module+el8.4.0+546+3620623e | RLSA-2021:5236 |
| Rocky Linux | 8 | pgaudit | 0:1.5.0-1.module+el8.5.0+684+c3892ef9 | RLSA-2021:5236 |
| Rocky Linux | 8 | postgres-decoderbufs | 0:0.10.0-2.module+el8.4.0+424+71d47d9a | RLSA-2021:5235 RLSA-2021:5236 |
| Rocky Linux | 8 | postgres-decoderbufs | 0:0.10.0-2.module+el8.5.0+684+c3892ef9 | RLSA-2021:5235 RLSA-2021:5236 |
| Rocky Linux | 8 | postgresql | 0:10.19-1.module+el8.6.0+802+f92d3c38 | RLSA-2022:1830 |
| Rocky Linux | 8 | postgresql | 0:12.9-1.module+el8.5.0+724+9de6e501 | RLSA-2021:5235 |
| Rocky Linux | 8 | postgresql | 0:13.5-1.module+el8.5.0+725+42e826de | RLSA-2021:5236 |
| Alpine | v3.11, v3.12 | postgresql | 12.9-r0 | ALPINE-CVE-2021-23214 |
| Alpine | v3.13, v3.14 | postgresql | 13.5-r0 | ALPINE-CVE-2021-23214 |
| Alpine | v3.15, v3.16 | postgresql14 | 14.1-r0 | ALPINE-CVE-2021-23214 |
| Alpine | v3.15, v3.16, v3.17 and 1 more | postgresql12 | 12.9-r0 | ALPINE-CVE-2021-23214 |
| Alpine | v3.15, v3.16, v3.17 and 2 more | postgresql13 | 13.5-r0 | ALPINE-CVE-2021-23214 |
| Alpine | v3.17, v3.18, v3.19 and 1 more | postgresql14, postgresql15 | 14.1-r0 | ALPINE-CVE-2021-23214 |
| Azure Linux | 2 | postgresql | 14.2-1 | AZL-8973 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
In Red Hat Virtualization the manager appliance uses a vulnerable version of postgresql. Once a fix has been shipped for RHEL 8 the appliance can consume the fix via a regular yum update.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | postgresql:12-8050020211122082354.c5368500 | Fixed 2021-12-21 | RHSA-2021:5235 |
| Red Hat Enterprise Linux 8 | postgresql:13-8050020211119210550.c5368500 | Fixed 2021-12-21 | RHSA-2021:5236 |
| Red Hat Enterprise Linux 8 | postgresql:10-8060020211213101623.d63f516d | Fixed 2022-05-10 | RHSA-2022:1830 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-postgresql13-postgresql-0:13.5-1.el7 | Fixed 2021-12-16 | RHSA-2021:5179 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-postgresql12-postgresql-0:12.9-1.el7 | Fixed 2021-12-16 | RHSA-2021:5197 |
| Red Hat build of Debezium 1 | postgresql | Not affected | |
| Red Hat build of Quarkus | postgresql | Not affected | |
| Red Hat Decision Manager 7 | postgresql | Not affected | |
| Red Hat Enterprise Linux 5 | postgresql | Out of support scope | |
| Red Hat Enterprise Linux 6 | postgresql | Out of support scope | |
| Red Hat Enterprise Linux 7 | postgresql | Out of support scope | |
| Red Hat Enterprise Linux 8 | libpq | Not affected | |
| Red Hat Enterprise Linux 8 | postgresql:9.6/postgresql | Will not fix | |
| Red Hat Enterprise Linux 9 | postgresql | Not affected | |
| Red Hat Fuse 7 | postgresql | Not affected | |
| Red Hat Integration Camel K 1 | postgresql | Not affected | |
| Red Hat Integration Camel Quarkus 1 | postgresql | Not affected | |
| Red Hat Integration Service Registry | postgresql | Not affected | |
| Red Hat JBoss Fuse 6 | postgresql | Not affected | |
| Red Hat JBoss Operations Network 3 | postgresql | Not affected | |
| 2 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-23214.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.