{
  "threat_severity" : "Important",
  "public_date" : "2022-05-12T00:00:00Z",
  "bugzilla" : {
    "description" : "postgresql: Autovacuum, REINDEX, and others omit \"security restricted operation\" sandbox",
    "id" : "2081126",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2081126"
  },
  "cvss3" : {
    "cvss3_base_score" : "8.8",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-459->CWE-89",
  "details" : [ "A flaw was found in PostgreSQL. There is an issue with incomplete efforts to operate safely when a privileged user is maintaining another user's objects. The Autovacuum, REINDEX, CREATE INDEX, REFRESH MATERIALIZED VIEW, CLUSTER, and pg_amcheck commands activated relevant protections too late or not at all during the process. This flaw allows an attacker with permission to create non-temporary objects in at least one schema to execute arbitrary SQL functions under a superuser identity.", "A flaw was found in PostgreSQL. There is an issue with incomplete efforts to operate safely when a privileged user is maintaining another user's objects. The Autovacuum, REINDEX, CREATE INDEX, REFRESH MATERIALIZED VIEW, CLUSTER, and pg_amcheck commands activated relevant protections too late or not at all during the process. This flaw allows an attacker with permission to create non-temporary objects in at least one schema to execute arbitrary SQL functions under a superuser identity." ],
  "acknowledgement" : "Upstream acknowledges Alexander Lakhin as the original reporter.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 7",
    "release_date" : "2022-06-22T00:00:00Z",
    "advisory" : "RHSA-2022:5162",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7",
    "package" : "postgresql-0:9.2.24-8.el7_9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2022-05-30T00:00:00Z",
    "advisory" : "RHSA-2022:4805",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "postgresql:10-8060020220525083017.ad008a3a"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2022-05-31T00:00:00Z",
    "advisory" : "RHSA-2022:4807",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "postgresql:12-8060020220525083707.ad008a3a"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "release_date" : "2022-06-01T00:00:00Z",
    "advisory" : "RHSA-2022:4855",
    "cpe" : "cpe:/a:redhat:enterprise_linux:8",
    "package" : "postgresql:13-8060020220525083942.ad008a3a"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions",
    "release_date" : "2022-06-03T00:00:00Z",
    "advisory" : "RHSA-2022:4894",
    "cpe" : "cpe:/a:redhat:rhel_e4s:8.1",
    "package" : "postgresql:10-8010020220520062435.c27ad7f8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.2 Extended Update Support",
    "release_date" : "2022-06-04T00:00:00Z",
    "advisory" : "RHSA-2022:4893",
    "cpe" : "cpe:/a:redhat:rhel_eus:8.2",
    "package" : "postgresql:12-8020020220525083519.4cda2c84"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.2 Extended Update Support",
    "release_date" : "2022-06-04T00:00:00Z",
    "advisory" : "RHSA-2022:4895",
    "cpe" : "cpe:/a:redhat:rhel_eus:8.2",
    "package" : "postgresql:10-8020020220525082558.4cda2c84"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.4 Extended Update Support",
    "release_date" : "2022-06-01T00:00:00Z",
    "advisory" : "RHSA-2022:4854",
    "cpe" : "cpe:/a:redhat:rhel_eus:8.4",
    "package" : "postgresql:10-8040020220525082819.522a0ee4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.4 Extended Update Support",
    "release_date" : "2022-06-01T00:00:00Z",
    "advisory" : "RHSA-2022:4856",
    "cpe" : "cpe:/a:redhat:rhel_eus:8.4",
    "package" : "postgresql:12-8040020220525214753.522a0ee4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8.4 Extended Update Support",
    "release_date" : "2022-06-01T00:00:00Z",
    "advisory" : "RHSA-2022:4857",
    "cpe" : "cpe:/a:redhat:rhel_eus:8.4",
    "package" : "postgresql:13-8040020220525083902.522a0ee4"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "release_date" : "2022-05-30T00:00:00Z",
    "advisory" : "RHSA-2022:4771",
    "cpe" : "cpe:/a:redhat:enterprise_linux:9",
    "package" : "postgresql-0:13.7-1.el9_0"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7",
    "release_date" : "2022-06-06T00:00:00Z",
    "advisory" : "RHSA-2022:4913",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:3::el7",
    "package" : "rh-postgresql10-postgresql-0:10.21-1.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7",
    "release_date" : "2022-06-06T00:00:00Z",
    "advisory" : "RHSA-2022:4915",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:3::el7",
    "package" : "rh-postgresql12-postgresql-0:12.11-1.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7",
    "release_date" : "2022-06-07T00:00:00Z",
    "advisory" : "RHSA-2022:4929",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:3::el7",
    "package" : "rh-postgresql13-postgresql-0:13.7-1.el7"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat build of Quarkus",
    "fix_state" : "Not affected",
    "package_name" : "postgresql",
    "cpe" : "cpe:/a:redhat:openshift_application_runtimes:1.0"
  }, {
    "product_name" : "Red Hat Decision Manager 7",
    "fix_state" : "Not affected",
    "package_name" : "postgresql",
    "cpe" : "cpe:/a:redhat:jboss_enterprise_brms_platform:7"
  }, {
    "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 8",
    "fix_state" : "Not affected",
    "package_name" : "libpq",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Fuse 7",
    "fix_state" : "Not affected",
    "package_name" : "postgresql",
    "cpe" : "cpe:/a:redhat:jboss_fuse:7"
  }, {
    "product_name" : "Red Hat JBoss Enterprise Application Platform 6",
    "fix_state" : "Not affected",
    "package_name" : "postgresql",
    "cpe" : "cpe:/a:redhat:jboss_enterprise_application_platform:6"
  }, {
    "product_name" : "Red Hat JBoss Enterprise Application Platform 7",
    "fix_state" : "Not affected",
    "package_name" : "postgresql",
    "cpe" : "cpe:/a:redhat:jboss_enterprise_application_platform:7"
  }, {
    "product_name" : "Red Hat Process Automation 7",
    "fix_state" : "Not affected",
    "package_name" : "postgresql",
    "cpe" : "cpe:/a:redhat:jboss_enterprise_bpms_platform:7"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2022-1552\nhttps://nvd.nist.gov/vuln/detail/CVE-2022-1552\nhttps://www.postgresql.org/about/news/postgresql-143-137-1211-1116-and-1021-released-2449/\nhttps://www.postgresql.org/support/security/CVE-2022-1552/" ],
  "name" : "CVE-2022-1552",
  "mitigation" : {
    "value" : "Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.",
    "lang" : "en:us"
  },
  "csaw" : false
}