{
  "threat_severity" : "Moderate",
  "public_date" : "2023-11-09T00:00:00Z",
  "bugzilla" : {
    "description" : "postgresql: Memory disclosure in aggregate function calls",
    "id" : "2247168",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2247168"
  },
  "cvss3" : {
    "cvss3_base_score" : "4.3",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
    "status" : "verified"
  },
  "cwe" : "CWE-686",
  "details" : [ "A memory disclosure vulnerability was found in PostgreSQL that allows remote users to access sensitive information by exploiting certain aggregate function calls with 'unknown'-type arguments. Handling 'unknown'-type values from string literals without type designation can disclose bytes, potentially revealing notable and confidential information. This issue exists due to excessive data output in aggregate function calls, enabling remote users to read some portion of system memory.", "A memory disclosure vulnerability was found in PostgreSQL that allows remote users to access sensitive information by exploiting certain aggregate function calls with 'unknown'-type arguments. Handling 'unknown'-type values from string literals without type designation can disclose bytes, potentially revealing notable and confidential information. This issue exists due to excessive data output in aggregate function calls, enabling remote users to read some portion of system memory." ],
  "acknowledgement" : "Upstream acknowledges Jingzhou Fu as the original reporter.",
  "affected_release" : [ {
    "product_name" : "Red Hat Advanced Cluster Security 4.2",
    "release_date" : "2024-01-22T00:00:00Z",
    "advisory" : "RHSA-2024:0337",
    "cpe" : "cpe:/a:redhat:advanced_cluster_security:4.2::el8",
    "package" : "advanced-cluster-security/rhacs-central-db-rhel8:4.2.4-6"
  }, {
    "product_name" : "Red Hat Advanced Cluster Security 4.2",
    "release_date" : "2024-01-22T00:00:00Z",
    "advisory" : "RHSA-2024:0337",
    "cpe" : "cpe:/a:redhat:advanced_cluster_security:4.2::el8",
    "package" : "advanced-cluster-security/rhacs-main-rhel8:4.2.4-6"
  }, {
    "product_name" : "Red Hat Advanced Cluster Security 4.2",
    "release_date" : "2024-01-22T00:00:00Z",
    "advisory" : "RHSA-2024:0337",
    "cpe" : "cpe:/a:redhat:advanced_cluster_security:4.2::el8",
    "package" : "advanced-cluster-security/rhacs-operator-bundle:4.2.4-7"
  }, {
    "product_name" : "Red Hat Advanced Cluster Security 4.2",
    "release_date" : "2024-01-22T00:00:00Z",
    "advisory" : "RHSA-2024:0337",
    "cpe" : "cpe:/a:redhat:advanced_cluster_security:4.2::el8",
    "package" : "advanced-cluster-security/rhacs-scanner-db-rhel8:4.2.4-6"
  }, {
    "product_name" : "Red Hat Advanced Cluster Security 4.2",
    "release_date" : "2024-01-22T00:00:00Z",
    "advisory" : "RHSA-2024:0337",
    "cpe" : "cpe:/a:redhat:advanced_cluster_security:4.2::el8",
    "package" : "advanced-cluster-security/rhacs-scanner-db-slim-rhel8:4.2.4-7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2023-11-29T00:00:00Z",
    "advisory" : "RHSA-2023:7581",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "postgresql:13-8090020231114113712.a75119d5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2023-12-11T00:00:00Z",
    "advisory" : "RHSA-2023:7714",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "postgresql:12-8090020231128173330.a75119d5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2023-12-20T00:00:00Z",
    "advisory" : "RHSA-2023:7884",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "postgresql:15-8090020231114113548.a75119d5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.2 Advanced Update Support",
    "release_date" : "2023-12-06T00:00:00Z",
    "advisory" : "RHSA-2023:7667",
    "cpe" : "cpe:/a:redhat:rhel_aus:8.2",
    "package" : "postgresql:12-8020020231128165246.4cda2c84"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.2 Telecommunications Update Service",
    "release_date" : "2023-12-06T00:00:00Z",
    "advisory" : "RHSA-2023:7667",
    "cpe" : "cpe:/a:redhat:rhel_tus:8.2",
    "package" : "postgresql:12-8020020231128165246.4cda2c84"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions",
    "release_date" : "2023-12-06T00:00:00Z",
    "advisory" : "RHSA-2023:7667",
    "cpe" : "cpe:/a:redhat:rhel_e4s:8.2",
    "package" : "postgresql:12-8020020231128165246.4cda2c84"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support",
    "release_date" : "2023-12-07T00:00:00Z",
    "advisory" : "RHSA-2023:7694",
    "cpe" : "cpe:/a:redhat:rhel_aus:8.4",
    "package" : "postgresql:12-8040020231127153301.522a0ee4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support",
    "release_date" : "2023-12-07T00:00:00Z",
    "advisory" : "RHSA-2023:7695",
    "cpe" : "cpe:/a:redhat:rhel_aus:8.4",
    "package" : "postgresql:13-8040020231127154806.522a0ee4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.4 Telecommunications Update Service",
    "release_date" : "2023-12-07T00:00:00Z",
    "advisory" : "RHSA-2023:7694",
    "cpe" : "cpe:/a:redhat:rhel_tus:8.4",
    "package" : "postgresql:12-8040020231127153301.522a0ee4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.4 Telecommunications Update Service",
    "release_date" : "2023-12-07T00:00:00Z",
    "advisory" : "RHSA-2023:7695",
    "cpe" : "cpe:/a:redhat:rhel_tus:8.4",
    "package" : "postgresql:13-8040020231127154806.522a0ee4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions",
    "release_date" : "2023-12-07T00:00:00Z",
    "advisory" : "RHSA-2023:7694",
    "cpe" : "cpe:/a:redhat:rhel_e4s:8.4",
    "package" : "postgresql:12-8040020231127153301.522a0ee4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions",
    "release_date" : "2023-12-07T00:00:00Z",
    "advisory" : "RHSA-2023:7695",
    "cpe" : "cpe:/a:redhat:rhel_e4s:8.4",
    "package" : "postgresql:13-8040020231127154806.522a0ee4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.6 Extended Update Support",
    "release_date" : "2023-11-29T00:00:00Z",
    "advisory" : "RHSA-2023:7580",
    "cpe" : "cpe:/a:redhat:rhel_eus:8.6",
    "package" : "postgresql:13-8060020231114115246.ad008a3a"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.6 Extended Update Support",
    "release_date" : "2023-12-06T00:00:00Z",
    "advisory" : "RHSA-2023:7666",
    "cpe" : "cpe:/a:redhat:rhel_eus:8.6",
    "package" : "postgresql:12-8060020231128165328.ad008a3a"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.8 Extended Update Support",
    "release_date" : "2023-11-29T00:00:00Z",
    "advisory" : "RHSA-2023:7579",
    "cpe" : "cpe:/a:redhat:rhel_eus:8.8",
    "package" : "postgresql:13-8080020231114105206.63b34585"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.8 Extended Update Support",
    "release_date" : "2023-12-05T00:00:00Z",
    "advisory" : "RHSA-2023:7656",
    "cpe" : "cpe:/a:redhat:rhel_eus:8.8",
    "package" : "postgresql:12-8080020231128165335.63b34585"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.8 Extended Update Support",
    "release_date" : "2023-12-20T00:00:00Z",
    "advisory" : "RHSA-2023:7883",
    "cpe" : "cpe:/a:redhat:rhel_eus:8.8",
    "package" : "postgresql:15-8080020231113134015.63b34585"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2023-12-13T00:00:00Z",
    "advisory" : "RHSA-2023:7784",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "postgresql-0:13.13-1.el9_3"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2023-12-13T00:00:00Z",
    "advisory" : "RHSA-2023:7785",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "postgresql:15-9030020231120082734.rhel9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.0 Extended Update Support",
    "release_date" : "2023-11-28T00:00:00Z",
    "advisory" : "RHSA-2023:7545",
    "cpe" : "cpe:/a:redhat:rhel_eus:9.0",
    "package" : "postgresql-0:13.13-1.el9_0"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.2 Extended Update Support",
    "release_date" : "2023-11-30T00:00:00Z",
    "advisory" : "RHSA-2023:7616",
    "cpe" : "cpe:/a:redhat:rhel_eus:9.2",
    "package" : "postgresql-0:13.13-1.el9_2"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9.2 Extended Update Support",
    "release_date" : "2023-12-20T00:00:00Z",
    "advisory" : "RHSA-2023:7885",
    "cpe" : "cpe:/a:redhat:rhel_eus:9.2",
    "package" : "postgresql:15-9020020231115020618.rhel9"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7",
    "release_date" : "2023-12-13T00:00:00Z",
    "advisory" : "RHSA-2023:7770",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:3::el7",
    "package" : "rh-postgresql12-postgresql-0:12.17-1.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7",
    "release_date" : "2023-12-13T00:00:00Z",
    "advisory" : "RHSA-2023:7772",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:3::el7",
    "package" : "rh-postgresql13-postgresql-0:13.13-1.el7"
  }, {
    "product_name" : "RHACS-3.74-RHEL-8",
    "release_date" : "2024-01-18T00:00:00Z",
    "advisory" : "RHSA-2024:0304",
    "cpe" : "cpe:/a:redhat:advanced_cluster_security:3.74::el8",
    "package" : "advanced-cluster-security/rhacs-central-db-rhel8:3.74.8-9"
  }, {
    "product_name" : "RHACS-3.74-RHEL-8",
    "release_date" : "2024-01-18T00:00:00Z",
    "advisory" : "RHSA-2024:0304",
    "cpe" : "cpe:/a:redhat:advanced_cluster_security:3.74::el8",
    "package" : "advanced-cluster-security/rhacs-main-rhel8:3.74.8-9"
  }, {
    "product_name" : "RHACS-3.74-RHEL-8",
    "release_date" : "2024-01-18T00:00:00Z",
    "advisory" : "RHSA-2024:0304",
    "cpe" : "cpe:/a:redhat:advanced_cluster_security:3.74::el8",
    "package" : "advanced-cluster-security/rhacs-operator-bundle:3.74.8-7"
  }, {
    "product_name" : "RHACS-3.74-RHEL-8",
    "release_date" : "2024-01-18T00:00:00Z",
    "advisory" : "RHSA-2024:0304",
    "cpe" : "cpe:/a:redhat:advanced_cluster_security:3.74::el8",
    "package" : "advanced-cluster-security/rhacs-scanner-db-rhel8:3.74.8-9"
  }, {
    "product_name" : "RHACS-3.74-RHEL-8",
    "release_date" : "2024-01-18T00:00:00Z",
    "advisory" : "RHSA-2024:0304",
    "cpe" : "cpe:/a:redhat:advanced_cluster_security:3.74::el8",
    "package" : "advanced-cluster-security/rhacs-scanner-db-slim-rhel8:3.74.8-9"
  }, {
    "product_name" : "RHACS-4.1-RHEL-8",
    "release_date" : "2024-01-22T00:00:00Z",
    "advisory" : "RHSA-2024:0332",
    "cpe" : "cpe:/a:redhat:advanced_cluster_security:4.1::el8",
    "package" : "advanced-cluster-security/rhacs-central-db-rhel8:4.1.6-6"
  }, {
    "product_name" : "RHACS-4.1-RHEL-8",
    "release_date" : "2024-01-22T00:00:00Z",
    "advisory" : "RHSA-2024:0332",
    "cpe" : "cpe:/a:redhat:advanced_cluster_security:4.1::el8",
    "package" : "advanced-cluster-security/rhacs-main-rhel8:4.1.6-6"
  }, {
    "product_name" : "RHACS-4.1-RHEL-8",
    "release_date" : "2024-01-22T00:00:00Z",
    "advisory" : "RHSA-2024:0332",
    "cpe" : "cpe:/a:redhat:advanced_cluster_security:4.1::el8",
    "package" : "advanced-cluster-security/rhacs-operator-bundle:4.1.6-6"
  }, {
    "product_name" : "RHACS-4.1-RHEL-8",
    "release_date" : "2024-01-22T00:00:00Z",
    "advisory" : "RHSA-2024:0332",
    "cpe" : "cpe:/a:redhat:advanced_cluster_security:4.1::el8",
    "package" : "advanced-cluster-security/rhacs-scanner-db-rhel8:4.1.6-6"
  }, {
    "product_name" : "RHACS-4.1-RHEL-8",
    "release_date" : "2024-01-22T00:00:00Z",
    "advisory" : "RHSA-2024:0332",
    "cpe" : "cpe:/a:redhat:advanced_cluster_security:4.1::el8",
    "package" : "advanced-cluster-security/rhacs-scanner-db-slim-rhel8:4.1.6-6"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Out of support scope",
    "package_name" : "postgresql",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Will not fix",
    "package_name" : "postgresql",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Will not fix",
    "package_name" : "postgresql:10/postgresql",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Not affected",
    "package_name" : "postgresql:16/postgresql",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Not affected",
    "package_name" : "postgresql:16/postgresql",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  }, {
    "product_name" : "Red Hat Software Collections",
    "fix_state" : "Will not fix",
    "package_name" : "rh-postgresql10-postgresql",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:3"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2023-5868\nhttps://nvd.nist.gov/vuln/detail/CVE-2023-5868\nhttps://www.postgresql.org/about/news/postgresql-161-155-1410-1313-1217-and-1122-released-2749/\nhttps://www.postgresql.org/support/security/CVE-2023-5868/" ],
  "name" : "CVE-2023-5868",
  "mitigation" : {
    "value" : "Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.",
    "lang" : "en:us"
  },
  "csaw" : false
}