{
  "cveId": "CVE-2021-23222",
  "url": "https://patchblox.com/security/cve/CVE-2021-23222",
  "summary": "CVE-2021-23222 is fixed in 22 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: Routine.",
  "title": "libpq: The libpq package provides the PostgreSQL client library, which allows client programs to connect to PostgreSQL servers",
  "description": "The libpq package provides the PostgreSQL client library, which allows client programs to connect to PostgreSQL servers. \n\nSecurity Fix(es):\n\n* postgresql: libpq processes unencrypted bytes from man-in-the-middle (CVE-2021-23222)\n\nFor 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.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the Red Hat Enterprise Linux 8.6 Release Notes linked from the References section.",
  "published": "2021-11-10T16:00:00Z",
  "severity": "Low",
  "cvss": 5.9,
  "cvssVector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
  "epss": 0.01501,
  "epssPercentile": 0.74461,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "libecpg-compat3",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "10.19-0ubuntu0.18.04.1",
      "fix": "libecpg-compat3 10.19-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-libecpg-compat3-10.19-0ubuntu0.18.04.1",
      "released": "2021-11-10T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libecpg-compat3",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "12.9-0ubuntu0.20.04.1",
      "fix": "libecpg-compat3 12.9-0ubuntu0.20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-libecpg-compat3-12.9-0ubuntu0.20.04.1",
      "released": "2021-11-10T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libecpg6",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "10.19-0ubuntu0.18.04.1",
      "fix": "libecpg6 10.19-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-libecpg6-10.19-0ubuntu0.18.04.1",
      "released": "2021-11-10T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libecpg6",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "12.9-0ubuntu0.20.04.1",
      "fix": "libecpg6 12.9-0ubuntu0.20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-libecpg6-12.9-0ubuntu0.20.04.1",
      "released": "2021-11-10T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libpgtypes3",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "10.19-0ubuntu0.18.04.1",
      "fix": "libpgtypes3 10.19-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-libpgtypes3-10.19-0ubuntu0.18.04.1",
      "released": "2021-11-10T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libpgtypes3",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "12.9-0ubuntu0.20.04.1",
      "fix": "libpgtypes3 12.9-0ubuntu0.20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-libpgtypes3-12.9-0ubuntu0.20.04.1",
      "released": "2021-11-10T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libpq",
      "release": "RHEL 8",
      "fixedVersion": "0:13.5-1.el8",
      "fix": "RHSA-2022:1891",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2022-1891",
      "released": "2022-05-10T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libpq",
      "release": "almalinux 8",
      "fixedVersion": "13.5-1.el8",
      "fix": "ALSA-2022:1891",
      "url": "https://patchblox.com/security/fix/linux/alsa-2022-1891",
      "released": "2022-05-10T06:36:04Z"
    },
    {
      "platform": "linux",
      "product": "libpq",
      "release": "ol 8",
      "fixedVersion": "0:13.5-1.el8",
      "fix": "ELSA-2022-1891",
      "url": "https://patchblox.com/security/fix/linux/elsa-2022-1891",
      "released": "2022-05-17T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libpq",
      "release": "rocky 8",
      "fixedVersion": "0:13.5-1.el8",
      "fix": "RLSA-2022:1891",
      "url": "https://patchblox.com/security/fix/linux/rlsa-2022-1891",
      "released": "2022-05-10T06:36:04Z"
    },
    {
      "platform": "linux",
      "product": "libpq-devel",
      "release": "RHEL 8",
      "fixedVersion": "0:13.5-1.el8",
      "fix": "RHSA-2022:1891",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2022-1891",
      "released": "2022-05-10T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libpq-devel",
      "release": "almalinux 8",
      "fixedVersion": "13.5-1.el8",
      "fix": "ALSA-2022:1891",
      "url": "https://patchblox.com/security/fix/linux/alsa-2022-1891",
      "released": "2022-05-10T06:36:04Z"
    },
    {
      "platform": "linux",
      "product": "libpq-devel",
      "release": "ol 8",
      "fixedVersion": "0:13.5-1.el8",
      "fix": "ELSA-2022-1891",
      "url": "https://patchblox.com/security/fix/linux/elsa-2022-1891",
      "released": "2022-05-17T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libpq5",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "10.19-0ubuntu0.18.04.1",
      "fix": "libpq5 10.19-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-libpq5-10.19-0ubuntu0.18.04.1",
      "released": "2021-11-10T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libpq5",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "12.9-0ubuntu0.20.04.1",
      "fix": "libpq5 12.9-0ubuntu0.20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-libpq5-12.9-0ubuntu0.20.04.1",
      "released": "2021-11-10T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "postgresql-10",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "10.19-0ubuntu0.18.04.1",
      "fix": "postgresql-10 10.19-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-postgresql-10-10.19-0ubuntu0.18.04.1",
      "released": "2021-11-10T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "postgresql-12",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "12.9-0ubuntu0.20.04.1",
      "fix": "postgresql-12 12.9-0ubuntu0.20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-postgresql-12-12.9-0ubuntu0.20.04.1",
      "released": "2021-11-10T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "postgresql-13",
      "release": "Debian 11.6 (bullseye)",
      "fixedVersion": "13.5-0\u002Bdeb11u1",
      "fix": "DEBIAN-CVE-2021-23222",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-23222",
      "released": "2022-03-02T23:15:08Z"
    },
    {
      "platform": "linux",
      "product": "postgresql-client-10",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "10.19-0ubuntu0.18.04.1",
      "fix": "postgresql-client-10 10.19-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-postgresql-client-10-10.19-0ubuntu0.18.04.1",
      "released": "2021-11-10T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "postgresql-client-12",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "12.9-0ubuntu0.20.04.1",
      "fix": "postgresql-client-12 12.9-0ubuntu0.20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-postgresql-client-12-12.9-0ubuntu0.20.04.1",
      "released": "2021-11-10T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "postgresql-doc-10",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "10.19-0ubuntu0.18.04.1",
      "fix": "postgresql-doc-10 10.19-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-postgresql-doc-10-10.19-0ubuntu0.18.04.1",
      "released": "2021-11-10T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "postgresql-doc-12",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "12.9-0ubuntu0.20.04.1",
      "fix": "postgresql-doc-12 12.9-0ubuntu0.20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-postgresql-doc-12-12.9-0ubuntu0.20.04.1",
      "released": "2021-11-10T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "postgresql-plperl-10",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "10.19-0ubuntu0.18.04.1",
      "fix": "postgresql-plperl-10 10.19-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-postgresql-plperl-10-10.19-0ubuntu0.18.04.1",
      "released": "2021-11-10T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "postgresql-plperl-12",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "12.9-0ubuntu0.20.04.1",
      "fix": "postgresql-plperl-12 12.9-0ubuntu0.20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-postgresql-plperl-12-12.9-0ubuntu0.20.04.1",
      "released": "2021-11-10T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "postgresql-plpython-10",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "10.19-0ubuntu0.18.04.1",
      "fix": "postgresql-plpython-10 10.19-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-postgresql-plpython-10-10.19-0ubuntu0.18.04.1",
      "released": "2021-11-10T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "postgresql-plpython3-10",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "10.19-0ubuntu0.18.04.1",
      "fix": "postgresql-plpython3-10 10.19-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-postgresql-plpython3-10-10.19-0ubuntu0.18.04.1",
      "released": "2021-11-10T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "postgresql-plpython3-12",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "12.9-0ubuntu0.20.04.1",
      "fix": "postgresql-plpython3-12 12.9-0ubuntu0.20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-postgresql-plpython3-12-12.9-0ubuntu0.20.04.1",
      "released": "2021-11-10T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "postgresql-pltcl-10",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "10.19-0ubuntu0.18.04.1",
      "fix": "postgresql-pltcl-10 10.19-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-postgresql-pltcl-10-10.19-0ubuntu0.18.04.1",
      "released": "2021-11-10T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "postgresql-pltcl-12",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "12.9-0ubuntu0.20.04.1",
      "fix": "postgresql-pltcl-12 12.9-0ubuntu0.20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-postgresql-pltcl-12-12.9-0ubuntu0.20.04.1",
      "released": "2021-11-10T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "postgresql-server-dev-10",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "10.19-0ubuntu0.18.04.1",
      "fix": "postgresql-server-dev-10 10.19-0ubuntu0.18.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-postgresql-server-dev-10-10.19-0ubuntu0.18.04.1",
      "released": "2021-11-10T16:00:00Z"
    },
    {
      "platform": "linux",
      "product": "postgresql-server-dev-12",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "12.9-0ubuntu0.20.04.1",
      "fix": "postgresql-server-dev-12 12.9-0ubuntu0.20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-postgresql-server-dev-12-12.9-0ubuntu0.20.04.1",
      "released": "2021-11-10T16:00:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-09T07:25:28Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}