CVE-2021-23214
publishedpostgresql: server processes unencrypted bytes from man-in-the-middle
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | postgresqlAffects v9.6 to v14 | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-1949 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 8 | postgresql | Advisory build | 10.19-1.module_el8.6.0+2744+ce3fc19a | ALSA-2022:1830 |
| Alpine Linux | v3.11 | postgresql | Fixed | 12.9-r0 | Package fix record |
| Oracle Linux | 8 | postgresqlaarch64 · postgresql · 10b | Advisory build | 0:10.19-1.module+el8.6.0+20530+78853f5a | ELSA-2022-1830 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 10.19-1.module+el8.6.0+13642+78853f5a | RHSA-2022:1830 |
| SUSE / openSUSE | SLE-12-SP2 | postgresqlnoarch | Advisory build | 14-4.10.1 | SUSE-SU-2021:3755-1 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | postgresql | Advisory build | 12.9-1.module_el8.5.0+2606+4554acc4 | ALSA-2021:5235 |
| AlmaLinux | 8 | postgresql | Advisory build | 13.5-1.module_el8.5.0+2607+8c0fd184 | ALSA-2021:5236 |
| Alpine Linux | v3.12 | postgresql | Fixed | 12.9-r0 | Package fix record |
| Alpine Linux | v3.13 | postgresql | Fixed | 13.5-r0 | Package fix record |
| Alpine Linux | v3.14 | postgresql | Fixed | 13.5-r0 | Package fix record |
| Oracle Linux | 8 | postgresqlaarch64 · postgresql · 12b | Advisory build | 0:12.9-1.module+el8.5.0+20463+3d6b40f2 | ELSA-2021-5235 |
| Oracle Linux | 8 | postgresqlaarch64 · postgresql · 13b | Advisory build | 0:13.5-1.module+el8.5.0+20464+55827c52 | ELSA-2021-5236 |
| Oracle Linux | 8 | postgresqlx86_64 · postgresql · 10b | Advisory build | 0:10.19-1.module+el8.6.0+20530+78853f5a | ELSA-2022-1830 |
| Oracle Linux | 8 | postgresqlx86_64 · postgresql · 12b | Advisory build | 0:12.9-1.module+el8.5.0+20463+3d6b40f2 | ELSA-2021-5235 |
| Oracle Linux | 8 | postgresqlx86_64 · postgresql · 13b | Advisory build | 0:13.5-1.module+el8.5.0+20464+55827c52 | ELSA-2021-5236 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 12.9-1.module+el8.5.0+13373+4554acc4 | RHSA-2021:5235 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 13.5-1.module+el8.5.0+13344+8c0fd184 | RHSA-2021:5236 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 10.19-1.module+el8.6.0+13642+78853f5a | RHSA-2022:1830 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 12.9-1.module+el8.5.0+13373+4554acc4 | RHSA-2021:5235 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 13.5-1.module+el8.5.0+13344+8c0fd184 | RHSA-2021:5236 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 10.19-1.module+el8.6.0+13642+78853f5a | RHSA-2022:1830 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 12.9-1.module+el8.5.0+13373+4554acc4 | RHSA-2021:5235 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 13.5-1.module+el8.5.0+13344+8c0fd184 | RHSA-2021:5236 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 10.19-1.module+el8.6.0+13642+78853f5a | RHSA-2022:1830 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 12.9-1.module+el8.5.0+13373+4554acc4 | RHSA-2021:5235 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 13.5-1.module+el8.5.0+13344+8c0fd184 | RHSA-2021:5236 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 10.19-1.module+el8.6.0+13642+78853f5a | RHSA-2022:1830 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 12.9-1.module+el8.5.0+13373+4554acc4 | RHSA-2021:5235 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 13.5-1.module+el8.5.0+13344+8c0fd184 | RHSA-2021:5236 |
| SUSE / openSUSE | SLE-12-SP3 | postgresqlnoarch | Advisory build | 14-4.10.1 | SUSE-SU-2021:3755-1 |
| SUSE / openSUSE | SLE-12-SP4 | postgresqlnoarch | Advisory build | 14-4.10.1 | SUSE-SU-2021:3755-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresqlnoarch | Advisory build | 14-4.10.1 | SUSE-SU-2021:3755-1 |
| SUSE / openSUSE | SLE-15 | postgresqlnoarch | Advisory build | 12.0.1-150000.8.19.1 | SUSE-SU-2022:2893-1 |
| SUSE / openSUSE | SLE-15-SP1 | postgresqlnoarch | Advisory build | 12.0.1-150000.8.19.1 | SUSE-SU-2022:2893-1 |
| AlmaLinux | 8 | pg_repack | Advisory build | 1.4.6-3.module_el8.5.0+2606+4554acc4 | ALSA-2021:5235 |
| AlmaLinux | 8 | pg_repack | Advisory build | 1.4.6-3.module_el8.5.0+2607+8c0fd184 | ALSA-2021:5236 |
| AlmaLinux | 8 | pg_repack | Advisory build | 1.4.6-3.module_el8.6.0+2758+4f4474df | ALSA-2021:5235 |
| AlmaLinux | 8 | pg_repack | Advisory build | 1.4.6-3.module_el8.6.0+2758+4f4474df | ALSA-2021:5236 |
| AlmaLinux | 8 | pg_repack | Advisory build | 1.4.6-3.module_el8.6.0+2760+1746ec94 | ALSA-2021:5235 |
| AlmaLinux | 8 | pg_repack | Advisory build | 1.4.6-3.module_el8.6.0+2760+1746ec94 | ALSA-2021:5236 |
| AlmaLinux | 8 | pgaudit | Advisory build | 1.4.0-5.module_el8.5.0+2606+4554acc4 | ALSA-2021:5235 |
| AlmaLinux | 8 | pgaudit | Advisory build | 1.4.0-5.module_el8.6.0+2758+4f4474df | ALSA-2021:5235 |
| AlmaLinux | 8 | pgaudit | Advisory build | 1.5.0-1.module_el8.5.0+2607+8c0fd184 | ALSA-2021:5236 |
| AlmaLinux | 8 | pgaudit | Advisory build | 1.5.0-1.module_el8.6.0+2760+1746ec94 | ALSA-2021:5236 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.5.0+2606+4554acc4 | ALSA-2021:5235 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.5.0+2607+8c0fd184 | ALSA-2021:5236 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.6.0+2758+4f4474df | ALSA-2021:5235 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.6.0+2758+4f4474df | ALSA-2021:5236 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.6.0+2760+1746ec94 | ALSA-2021:5235 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.6.0+2760+1746ec94 | ALSA-2021:5236 |
| AlmaLinux | 8 | postgresql-contrib | Advisory build | 10.19-1.module_el8.6.0+2744+ce3fc19a | ALSA-2022:1830 |
| AlmaLinux | 8 | postgresql-contrib | Advisory build | 12.9-1.module_el8.5.0+2606+4554acc4 | ALSA-2021:5235 |
| AlmaLinux | 8 | postgresql-contrib | Advisory build | 13.5-1.module_el8.5.0+2607+8c0fd184 | ALSA-2021:5236 |
| AlmaLinux | 8 | postgresql-docs | Advisory build | 10.19-1.module_el8.6.0+2744+ce3fc19a | ALSA-2022:1830 |
| AlmaLinux | 8 | postgresql-docs | Advisory build | 12.9-1.module_el8.5.0+2606+4554acc4 | ALSA-2021:5235 |
| AlmaLinux | 8 | postgresql-docs | Advisory build | 13.5-1.module_el8.5.0+2607+8c0fd184 | ALSA-2021:5236 |
| AlmaLinux | 8 | postgresql-plperl | Advisory build | 10.19-1.module_el8.6.0+2744+ce3fc19a | ALSA-2022:1830 |
| AlmaLinux | 8 | postgresql-plperl | Advisory build | 12.9-1.module_el8.5.0+2606+4554acc4 | ALSA-2021:5235 |
| AlmaLinux | 8 | postgresql-plperl | Advisory build | 13.5-1.module_el8.5.0+2607+8c0fd184 | ALSA-2021:5236 |
| AlmaLinux | 8 | postgresql-plpython3 | Advisory build | 10.19-1.module_el8.6.0+2744+ce3fc19a | ALSA-2022:1830 |
| AlmaLinux | 8 | postgresql-plpython3 | Advisory build | 12.9-1.module_el8.5.0+2606+4554acc4 | ALSA-2021:5235 |
| AlmaLinux | 8 | postgresql-plpython3 | Advisory build | 13.5-1.module_el8.5.0+2607+8c0fd184 | ALSA-2021:5236 |
| AlmaLinux | 8 | postgresql-pltcl | Advisory build | 10.19-1.module_el8.6.0+2744+ce3fc19a | ALSA-2022:1830 |
| AlmaLinux | 8 | postgresql-pltcl | Advisory build | 12.9-1.module_el8.5.0+2606+4554acc4 | ALSA-2021:5235 |
| AlmaLinux | 8 | postgresql-pltcl | Advisory build | 13.5-1.module_el8.5.0+2607+8c0fd184 | ALSA-2021:5236 |
| AlmaLinux | 8 | postgresql-server | Advisory build | 10.19-1.module_el8.6.0+2744+ce3fc19a | ALSA-2022:1830 |
| AlmaLinux | 8 | postgresql-server | Advisory build | 12.9-1.module_el8.5.0+2606+4554acc4 | ALSA-2021:5235 |
| AlmaLinux | 8 | postgresql-server | Advisory build | 13.5-1.module_el8.5.0+2607+8c0fd184 | ALSA-2021:5236 |
| AlmaLinux | 8 | postgresql-server-devel | Advisory build | 10.19-1.module_el8.6.0+2744+ce3fc19a | ALSA-2022:1830 |
| AlmaLinux | 8 | postgresql-server-devel | Advisory build | 12.9-1.module_el8.5.0+2606+4554acc4 | ALSA-2021:5235 |
| AlmaLinux | 8 | postgresql-server-devel | Advisory build | 13.5-1.module_el8.5.0+2607+8c0fd184 | ALSA-2021:5236 |
| AlmaLinux | 8 | postgresql-static | Advisory build | 10.19-1.module_el8.6.0+2744+ce3fc19a | ALSA-2022:1830 |
| AlmaLinux | 8 | postgresql-static | Advisory build | 12.9-1.module_el8.5.0+2606+4554acc4 | ALSA-2021:5235 |
| AlmaLinux | 8 | postgresql-static | Advisory build | 13.5-1.module_el8.5.0+2607+8c0fd184 | ALSA-2021:5236 |
| AlmaLinux | 8 | postgresql-test | Advisory build | 10.19-1.module_el8.6.0+2744+ce3fc19a | ALSA-2022:1830 |
| AlmaLinux | 8 | postgresql-test | Advisory build | 12.9-1.module_el8.5.0+2606+4554acc4 | ALSA-2021:5235 |
| AlmaLinux | 8 | postgresql-test | Advisory build | 13.5-1.module_el8.5.0+2607+8c0fd184 | ALSA-2021:5236 |
| AlmaLinux | 8 | postgresql-test-rpm-macros | Advisory build | 10.19-1.module_el8.6.0+2744+ce3fc19a | ALSA-2022:1830 |
| AlmaLinux | 8 | postgresql-test-rpm-macros | Advisory build | 12.9-1.module_el8.5.0+2606+4554acc4 | ALSA-2021:5235 |
| AlmaLinux | 8 | postgresql-test-rpm-macros | Advisory build | 13.5-1.module_el8.5.0+2607+8c0fd184 | ALSA-2021:5236 |
| AlmaLinux | 8 | postgresql-upgrade | Advisory build | 10.19-1.module_el8.6.0+2744+ce3fc19a | ALSA-2022:1830 |
| AlmaLinux | 8 | postgresql-upgrade | Advisory build | 12.9-1.module_el8.5.0+2606+4554acc4 | ALSA-2021:5235 |
| AlmaLinux | 8 | postgresql-upgrade | Advisory build | 13.5-1.module_el8.5.0+2607+8c0fd184 | ALSA-2021:5236 |
| AlmaLinux | 8 | postgresql-upgrade-devel | Advisory build | 10.19-1.module_el8.6.0+2744+ce3fc19a | ALSA-2022:1830 |
| AlmaLinux | 8 | postgresql-upgrade-devel | Advisory build | 12.9-1.module_el8.5.0+2606+4554acc4 | ALSA-2021:5235 |
| AlmaLinux | 8 | postgresql-upgrade-devel | Advisory build | 13.5-1.module_el8.5.0+2607+8c0fd184 | ALSA-2021:5236 |
| Alpine Linux | v3.15 | postgresql12 | Fixed | 12.9-r0 | Package fix record |
| Alpine Linux | v3.15 | postgresql13 | Fixed | 13.5-r0 | Package fix record |
| Alpine Linux | v3.15 | postgresql14 | Fixed | 14.1-r0 | Package fix record |
| Alpine Linux | v3.16 | postgresql12 | Fixed | 12.9-r0 | Package fix record |
| Alpine Linux | v3.16 | postgresql13 | Fixed | 13.5-r0 | Package fix record |
| Alpine Linux | v3.16 | postgresql14 | Fixed | 14.1-r0 | Package fix record |
| Alpine Linux | v3.17 | postgresql12 | Fixed | 12.9-r0 | Package fix record |
| Alpine Linux | v3.17 | postgresql13 | Fixed | 13.5-r0 | Package fix record |
| Alpine Linux | v3.17 | postgresql14 | Fixed | 14.1-r0 | Package fix record |
| Alpine Linux | v3.17 | postgresql15 | Fixed | 14.1-r0 | Package fix record |
| Alpine Linux | v3.18 | postgresql12 | Fixed | 12.9-r0 | Package fix record |
| Alpine Linux | v3.18 | postgresql13 | Fixed | 13.5-r0 | Package fix record |
| Alpine Linux | v3.18 | postgresql14 | Fixed | 14.1-r0 | Package fix record |
| Alpine Linux | v3.18 | postgresql15 | Fixed | 14.1-r0 | Package fix record |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
When the server is configured to use trust authentication with a clientcert requirement or to use cert authentication, a man-in-the-middle attacker can inject arbitrary SQL queries when a connection is first established, despite the use of SSL certificate verification and encryption.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | postgresql | Affects v9.6 to v14 (affected) | redhat · cna |
Weaknesses
1- CWE-89 CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
5- https://bugzilla.redhat.com/show_bug.cgi?id=2022666
- https://git.postgresql.org/gitweb/?p=postgresql.git%3Ba=commit%3Bh=28e24125541545483093819efae9bca603441951
- https://github.com/postgres/postgres/commit/28e24125541545483093819efae9bca603441951
- GLSA-202211-04 https://security.gentoo.org/glsa/202211-04
- https://www.postgresql.org/support/security/CVE-2021-23214/
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3f22833e7083bc0d10f3fc9f10af6386dbb81e8b5130d5be4996ca310b6e7cb6
- Ingested
- 23 Sep 2026, 07:52:52 UTC
- Source record
- Official CVE record