# CVE-2021-23214: pg_repack: PostgreSQL is an advanced object-relational database management system (DBMS).  The following packages have been upgr...

CVE-2021-23214 is fixed in 36 products on 1 platform, first by libecpg-compat3 10.19-0ubuntu0.18.04.1, released November 10, 2021. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2021-23214
- Priority: High
- CVSS: 8.1 (Moderate)
- EPSS: 0.0190
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Nov 10, 2021

## Description

PostgreSQL is an advanced object-relational database management system (DBMS).  The following packages have been upgraded to a later upstream version: postgresql (13.5).  Security Fix(es):  * postgresql: memory disclosure in certain queries (CVE-2021-3677)  * postgresql: server processes unencrypted bytes from man-in-the-middle (CVE-2021-23214)  For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libecpg-compat3 Ubuntu 18.04.6 LTS (bionic) | 10.19-0ubuntu0.18.04.1 | [libecpg-compat3 10.19-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libecpg-compat3-10.19-0ubuntu0.18.04.1.md) | Nov 10, 2021 |
| Linux | libecpg-compat3 Ubuntu 20.04 LTS (focal) | 12.9-0ubuntu0.20.04.1 | [libecpg-compat3 12.9-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libecpg-compat3-12.9-0ubuntu0.20.04.1.md) | Nov 10, 2021 |
| Linux | libecpg6 Ubuntu 18.04.6 LTS (bionic) | 10.19-0ubuntu0.18.04.1 | [libecpg6 10.19-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libecpg6-10.19-0ubuntu0.18.04.1.md) | Nov 10, 2021 |
| Linux | libecpg6 Ubuntu 20.04 LTS (focal) | 12.9-0ubuntu0.20.04.1 | [libecpg6 12.9-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libecpg6-12.9-0ubuntu0.20.04.1.md) | Nov 10, 2021 |
| Linux | libpgtypes3 Ubuntu 18.04.6 LTS (bionic) | 10.19-0ubuntu0.18.04.1 | [libpgtypes3 10.19-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libpgtypes3-10.19-0ubuntu0.18.04.1.md) | Nov 10, 2021 |
| Linux | libpgtypes3 Ubuntu 20.04 LTS (focal) | 12.9-0ubuntu0.20.04.1 | [libpgtypes3 12.9-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libpgtypes3-12.9-0ubuntu0.20.04.1.md) | Nov 10, 2021 |
| Linux | libpq5 Ubuntu 18.04.6 LTS (bionic) | 10.19-0ubuntu0.18.04.1 | [libpq5 10.19-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libpq5-10.19-0ubuntu0.18.04.1.md) | Nov 10, 2021 |
| Linux | libpq5 Ubuntu 20.04 LTS (focal) | 12.9-0ubuntu0.20.04.1 | [libpq5 12.9-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libpq5-12.9-0ubuntu0.20.04.1.md) | Nov 10, 2021 |
| Linux | pg_repack RHEL 8 | 0:1.4.6-3.module+el8.5.0+11357+bcc62552 | [RHSA-2021:5236](https://patchblox.com/security/data/fix/linux/rhsa-2021-5236.md) | Dec 21, 2021 |
| Linux | pg_repack almalinux 8 | 1.4.6-3.module_el8.6.0+2758+4f4474df | [ALSA-2021:5236](https://patchblox.com/security/data/fix/linux/alsa-2021-5236.md) | Dec 21, 2021 |
| Linux | pg_repack ol 8 | 0:1.4.6-3.module+el8.5.0+20353+e924f9ed | [ELSA-2021-5236](https://patchblox.com/security/data/fix/linux/elsa-2021-5236.md) | Dec 22, 2021 |
| Linux | pg_repack rocky 8 | 0:1.4.6-3.module+el8.5.0+684+c3892ef9 | [RLSA-2021:5236](https://patchblox.com/security/data/fix/linux/rlsa-2021-5236.md) | Dec 21, 2021 |
| Linux | pgaudit RHEL 8 | 0:1.5.0-1.module+el8.4.0+8873+b821c30a | [RHSA-2021:5236](https://patchblox.com/security/data/fix/linux/rhsa-2021-5236.md) | Dec 21, 2021 |
| Linux | pgaudit almalinux 8 | 1.5.0-1.module_el8.6.0+2760+1746ec94 | [ALSA-2021:5236](https://patchblox.com/security/data/fix/linux/alsa-2021-5236.md) | Dec 21, 2021 |
| Linux | pgaudit ol 8 | 0:1.5.0-1.module+el8.4.0+20016+06fd4df3 | [ELSA-2021-5236](https://patchblox.com/security/data/fix/linux/elsa-2021-5236.md) | Dec 22, 2021 |
| Linux | pgaudit rocky 8 | 0:1.5.0-1.module+el8.5.0+684+c3892ef9 | [RLSA-2021:5236](https://patchblox.com/security/data/fix/linux/rlsa-2021-5236.md) | Dec 21, 2021 |
| Linux | postgres-decoderbufs RHEL 8 | 0:0.10.0-2.module+el8.4.0+8873+b821c30a | [RHSA-2021:5236](https://patchblox.com/security/data/fix/linux/rhsa-2021-5236.md) | Dec 21, 2021 |
| Linux | postgres-decoderbufs almalinux 8 | 0.10.0-2.module_el8.6.0+2760+1746ec94 | [ALSA-2021:5236](https://patchblox.com/security/data/fix/linux/alsa-2021-5236.md) | Dec 21, 2021 |
| Linux | postgres-decoderbufs ol 8 | 0:0.10.0-2.module+el8.4.0+20016+06fd4df3 | [ELSA-2021-5236](https://patchblox.com/security/data/fix/linux/elsa-2021-5236.md) | Dec 22, 2021 |
| Linux | postgres-decoderbufs rocky 8 | 0:0.10.0-2.module+el8.5.0+684+c3892ef9 | [RLSA-2021:5236](https://patchblox.com/security/data/fix/linux/rlsa-2021-5236.md) | Dec 21, 2021 |
| Linux | postgresql RHEL 8 | 0:10.19-1.module+el8.6.0+13642+78853f5a | [RHSA-2022:1830](https://patchblox.com/security/data/fix/linux/rhsa-2022-1830.md) | May 10, 2022 |
| Linux | postgresql almalinux 8 | 10.19-1.module_el8.6.0+2744+ce3fc19a | [ALSA-2022:1830](https://patchblox.com/security/data/fix/linux/alsa-2022-1830.md) | May 10, 2022 |
| Linux | postgresql ol 8 | 0:10.19-1.module+el8.6.0+20530+78853f5a | [ELSA-2022-1830](https://patchblox.com/security/data/fix/linux/elsa-2022-1830.md) | May 17, 2022 |
| Linux | postgresql rocky 8 | 0:10.19-1.module+el8.6.0+802+f92d3c38 | [RLSA-2022:1830](https://patchblox.com/security/data/fix/linux/rlsa-2022-1830.md) | May 10, 2022 |
| Linux | postgresql-10 Ubuntu 18.04.6 LTS (bionic) | 10.19-0ubuntu0.18.04.1 | [postgresql-10 10.19-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-postgresql-10-10.19-0ubuntu0.18.04.1.md) | Nov 10, 2021 |
| Linux | postgresql-12 Ubuntu 20.04 LTS (focal) | 12.9-0ubuntu0.20.04.1 | [postgresql-12 12.9-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-postgresql-12-12.9-0ubuntu0.20.04.1.md) | Nov 10, 2021 |
| Linux | postgresql-13 Debian 11.6 (bullseye) | 13.5-0+deb11u1 | [DSA-5007-1](https://patchblox.com/security/data/fix/linux/dsa-5007-1.md) | Nov 11, 2021 |
| Linux | postgresql-client-10 Ubuntu 18.04.6 LTS (bionic) | 10.19-0ubuntu0.18.04.1 | [postgresql-client-10 10.19-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-postgresql-client-10-10.19-0ubuntu0.18.04.1.md) | Nov 10, 2021 |
| Linux | postgresql-client-12 Ubuntu 20.04 LTS (focal) | 12.9-0ubuntu0.20.04.1 | [postgresql-client-12 12.9-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-postgresql-client-12-12.9-0ubuntu0.20.04.1.md) | Nov 10, 2021 |
| Linux | postgresql-contrib RHEL 8 | 0:10.19-1.module+el8.6.0+13642+78853f5a | [RHSA-2022:1830](https://patchblox.com/security/data/fix/linux/rhsa-2022-1830.md) | May 10, 2022 |
| Linux | postgresql-contrib almalinux 8 | 10.19-1.module_el8.6.0+2744+ce3fc19a | [ALSA-2022:1830](https://patchblox.com/security/data/fix/linux/alsa-2022-1830.md) | May 10, 2022 |
| Linux | postgresql-contrib ol 8 | 0:10.19-1.module+el8.6.0+20530+78853f5a | [ELSA-2022-1830](https://patchblox.com/security/data/fix/linux/elsa-2022-1830.md) | May 17, 2022 |
| Linux | postgresql-doc-10 Ubuntu 18.04.6 LTS (bionic) | 10.19-0ubuntu0.18.04.1 | [postgresql-doc-10 10.19-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-postgresql-doc-10-10.19-0ubuntu0.18.04.1.md) | Nov 10, 2021 |
| Linux | postgresql-doc-12 Ubuntu 20.04 LTS (focal) | 12.9-0ubuntu0.20.04.1 | [postgresql-doc-12 12.9-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-postgresql-doc-12-12.9-0ubuntu0.20.04.1.md) | Nov 10, 2021 |
| Linux | postgresql-docs RHEL 8 | 0:10.19-1.module+el8.6.0+13642+78853f5a | [RHSA-2022:1830](https://patchblox.com/security/data/fix/linux/rhsa-2022-1830.md) | May 10, 2022 |
| Linux | postgresql-docs almalinux 8 | 10.19-1.module_el8.6.0+2744+ce3fc19a | [ALSA-2022:1830](https://patchblox.com/security/data/fix/linux/alsa-2022-1830.md) | May 10, 2022 |
| Linux | postgresql-docs ol 8 | 0:10.19-1.module+el8.6.0+20530+78853f5a | [ELSA-2022-1830](https://patchblox.com/security/data/fix/linux/elsa-2022-1830.md) | May 17, 2022 |
| Linux | postgresql-plperl RHEL 8 | 0:10.19-1.module+el8.6.0+13642+78853f5a | [RHSA-2022:1830](https://patchblox.com/security/data/fix/linux/rhsa-2022-1830.md) | May 10, 2022 |
| Linux | postgresql-plperl almalinux 8 | 10.19-1.module_el8.6.0+2744+ce3fc19a | [ALSA-2022:1830](https://patchblox.com/security/data/fix/linux/alsa-2022-1830.md) | May 10, 2022 |
| Linux | postgresql-plperl ol 8 | 0:10.19-1.module+el8.6.0+20530+78853f5a | [ELSA-2022-1830](https://patchblox.com/security/data/fix/linux/elsa-2022-1830.md) | May 17, 2022 |
| Linux | postgresql-plperl-10 Ubuntu 18.04.6 LTS (bionic) | 10.19-0ubuntu0.18.04.1 | [postgresql-plperl-10 10.19-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-postgresql-plperl-10-10.19-0ubuntu0.18.04.1.md) | Nov 10, 2021 |
| Linux | postgresql-plperl-12 Ubuntu 20.04 LTS (focal) | 12.9-0ubuntu0.20.04.1 | [postgresql-plperl-12 12.9-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-postgresql-plperl-12-12.9-0ubuntu0.20.04.1.md) | Nov 10, 2021 |
| Linux | postgresql-plpython-10 Ubuntu 18.04.6 LTS (bionic) | 10.19-0ubuntu0.18.04.1 | [postgresql-plpython-10 10.19-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-postgresql-plpython-10-10.19-0ubuntu0.18.04.1.md) | Nov 10, 2021 |
| Linux | postgresql-plpython3 RHEL 8 | 0:10.19-1.module+el8.6.0+13642+78853f5a | [RHSA-2022:1830](https://patchblox.com/security/data/fix/linux/rhsa-2022-1830.md) | May 10, 2022 |
| Linux | postgresql-plpython3 almalinux 8 | 10.19-1.module_el8.6.0+2744+ce3fc19a | [ALSA-2022:1830](https://patchblox.com/security/data/fix/linux/alsa-2022-1830.md) | May 10, 2022 |
| Linux | postgresql-plpython3 ol 8 | 0:10.19-1.module+el8.6.0+20530+78853f5a | [ELSA-2022-1830](https://patchblox.com/security/data/fix/linux/elsa-2022-1830.md) | May 17, 2022 |
| Linux | postgresql-plpython3-10 Ubuntu 18.04.6 LTS (bionic) | 10.19-0ubuntu0.18.04.1 | [postgresql-plpython3-10 10.19-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-postgresql-plpython3-10-10.19-0ubuntu0.18.04.1.md) | Nov 10, 2021 |
| Linux | postgresql-plpython3-12 Ubuntu 20.04 LTS (focal) | 12.9-0ubuntu0.20.04.1 | [postgresql-plpython3-12 12.9-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-postgresql-plpython3-12-12.9-0ubuntu0.20.04.1.md) | Nov 10, 2021 |
| Linux | postgresql-pltcl RHEL 8 | 0:10.19-1.module+el8.6.0+13642+78853f5a | [RHSA-2022:1830](https://patchblox.com/security/data/fix/linux/rhsa-2022-1830.md) | May 10, 2022 |
| Linux | postgresql-pltcl almalinux 8 | 10.19-1.module_el8.6.0+2744+ce3fc19a | [ALSA-2022:1830](https://patchblox.com/security/data/fix/linux/alsa-2022-1830.md) | May 10, 2022 |
| Linux | postgresql-pltcl ol 8 | 0:10.19-1.module+el8.6.0+20530+78853f5a | [ELSA-2022-1830](https://patchblox.com/security/data/fix/linux/elsa-2022-1830.md) | May 17, 2022 |
| Linux | postgresql-pltcl-10 Ubuntu 18.04.6 LTS (bionic) | 10.19-0ubuntu0.18.04.1 | [postgresql-pltcl-10 10.19-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-postgresql-pltcl-10-10.19-0ubuntu0.18.04.1.md) | Nov 10, 2021 |
| Linux | postgresql-pltcl-12 Ubuntu 20.04 LTS (focal) | 12.9-0ubuntu0.20.04.1 | [postgresql-pltcl-12 12.9-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-postgresql-pltcl-12-12.9-0ubuntu0.20.04.1.md) | Nov 10, 2021 |
| Linux | postgresql-server RHEL 8 | 0:10.19-1.module+el8.6.0+13642+78853f5a | [RHSA-2022:1830](https://patchblox.com/security/data/fix/linux/rhsa-2022-1830.md) | May 10, 2022 |
| Linux | postgresql-server almalinux 8 | 10.19-1.module_el8.6.0+2744+ce3fc19a | [ALSA-2022:1830](https://patchblox.com/security/data/fix/linux/alsa-2022-1830.md) | May 10, 2022 |
| Linux | postgresql-server ol 8 | 0:10.19-1.module+el8.6.0+20530+78853f5a | [ELSA-2022-1830](https://patchblox.com/security/data/fix/linux/elsa-2022-1830.md) | May 17, 2022 |
| Linux | postgresql-server-dev-10 Ubuntu 18.04.6 LTS (bionic) | 10.19-0ubuntu0.18.04.1 | [postgresql-server-dev-10 10.19-0ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-postgresql-server-dev-10-10.19-0ubuntu0.18.04.1.md) | Nov 10, 2021 |
| Linux | postgresql-server-dev-12 Ubuntu 20.04 LTS (focal) | 12.9-0ubuntu0.20.04.1 | [postgresql-server-dev-12 12.9-0ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-postgresql-server-dev-12-12.9-0ubuntu0.20.04.1.md) | Nov 10, 2021 |
| Linux | postgresql-server-devel RHEL 8 | 0:10.19-1.module+el8.6.0+13642+78853f5a | [RHSA-2022:1830](https://patchblox.com/security/data/fix/linux/rhsa-2022-1830.md) | May 10, 2022 |
| Linux | postgresql-server-devel almalinux 8 | 10.19-1.module_el8.6.0+2744+ce3fc19a | [ALSA-2022:1830](https://patchblox.com/security/data/fix/linux/alsa-2022-1830.md) | May 10, 2022 |
| Linux | postgresql-server-devel ol 8 | 0:10.19-1.module+el8.6.0+20530+78853f5a | [ELSA-2022-1830](https://patchblox.com/security/data/fix/linux/elsa-2022-1830.md) | May 17, 2022 |
| Linux | postgresql-static RHEL 8 | 0:10.19-1.module+el8.6.0+13642+78853f5a | [RHSA-2022:1830](https://patchblox.com/security/data/fix/linux/rhsa-2022-1830.md) | May 10, 2022 |
| Linux | postgresql-static almalinux 8 | 10.19-1.module_el8.6.0+2744+ce3fc19a | [ALSA-2022:1830](https://patchblox.com/security/data/fix/linux/alsa-2022-1830.md) | May 10, 2022 |
| Linux | postgresql-static ol 8 | 0:10.19-1.module+el8.6.0+20530+78853f5a | [ELSA-2022-1830](https://patchblox.com/security/data/fix/linux/elsa-2022-1830.md) | May 17, 2022 |
| Linux | postgresql-test RHEL 8 | 0:10.19-1.module+el8.6.0+13642+78853f5a | [RHSA-2022:1830](https://patchblox.com/security/data/fix/linux/rhsa-2022-1830.md) | May 10, 2022 |
| Linux | postgresql-test almalinux 8 | 10.19-1.module_el8.6.0+2744+ce3fc19a | [ALSA-2022:1830](https://patchblox.com/security/data/fix/linux/alsa-2022-1830.md) | May 10, 2022 |
| Linux | postgresql-test ol 8 | 0:10.19-1.module+el8.6.0+20530+78853f5a | [ELSA-2022-1830](https://patchblox.com/security/data/fix/linux/elsa-2022-1830.md) | May 17, 2022 |
| Linux | postgresql-test-rpm-macros RHEL 8 | 0:10.19-1.module+el8.6.0+13642+78853f5a | [RHSA-2022:1830](https://patchblox.com/security/data/fix/linux/rhsa-2022-1830.md) | May 10, 2022 |
| Linux | postgresql-test-rpm-macros almalinux 8 | 10.19-1.module_el8.6.0+2744+ce3fc19a | [ALSA-2022:1830](https://patchblox.com/security/data/fix/linux/alsa-2022-1830.md) | May 10, 2022 |
| Linux | postgresql-test-rpm-macros ol 8 | 0:10.19-1.module+el8.6.0+20530+78853f5a | [ELSA-2022-1830](https://patchblox.com/security/data/fix/linux/elsa-2022-1830.md) | May 17, 2022 |
| Linux | postgresql-upgrade RHEL 8 | 0:10.19-1.module+el8.6.0+13642+78853f5a | [RHSA-2022:1830](https://patchblox.com/security/data/fix/linux/rhsa-2022-1830.md) | May 10, 2022 |
| Linux | postgresql-upgrade almalinux 8 | 10.19-1.module_el8.6.0+2744+ce3fc19a | [ALSA-2022:1830](https://patchblox.com/security/data/fix/linux/alsa-2022-1830.md) | May 10, 2022 |
| Linux | postgresql-upgrade ol 8 | 0:10.19-1.module+el8.6.0+20530+78853f5a | [ELSA-2022-1830](https://patchblox.com/security/data/fix/linux/elsa-2022-1830.md) | May 17, 2022 |
| Linux | postgresql-upgrade-devel RHEL 8 | 0:10.19-1.module+el8.6.0+13642+78853f5a | [RHSA-2022:1830](https://patchblox.com/security/data/fix/linux/rhsa-2022-1830.md) | May 10, 2022 |
| Linux | postgresql-upgrade-devel almalinux 8 | 10.19-1.module_el8.6.0+2744+ce3fc19a | [ALSA-2022:1830](https://patchblox.com/security/data/fix/linux/alsa-2022-1830.md) | May 10, 2022 |
| Linux | postgresql-upgrade-devel ol 8 | 0:10.19-1.module+el8.6.0+20530+78853f5a | [ELSA-2022-1830](https://patchblox.com/security/data/fix/linux/elsa-2022-1830.md) | May 17, 2022 |

---

Data as of 2026-11-09T13:31:49Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
