Alexander Lakhin discovered that PostgreSQL incorrectly handled the security restricted operation sandbox when a privileged user is maintaining another user's objects. An attacker having permission to create non-temp objects can use this issue to execute arbitrary commands as the superuser.
{
"binaries": [
{
"binary_version": "10.21-0ubuntu0.18.04.1",
"binary_name": "libecpg-compat3"
},
{
"binary_version": "10.21-0ubuntu0.18.04.1",
"binary_name": "libecpg-dev"
},
{
"binary_version": "10.21-0ubuntu0.18.04.1",
"binary_name": "libecpg6"
},
{
"binary_version": "10.21-0ubuntu0.18.04.1",
"binary_name": "libpgtypes3"
},
{
"binary_version": "10.21-0ubuntu0.18.04.1",
"binary_name": "libpq-dev"
},
{
"binary_version": "10.21-0ubuntu0.18.04.1",
"binary_name": "libpq5"
},
{
"binary_version": "10.21-0ubuntu0.18.04.1",
"binary_name": "postgresql-10"
},
{
"binary_version": "10.21-0ubuntu0.18.04.1",
"binary_name": "postgresql-client-10"
},
{
"binary_version": "10.21-0ubuntu0.18.04.1",
"binary_name": "postgresql-doc-10"
},
{
"binary_version": "10.21-0ubuntu0.18.04.1",
"binary_name": "postgresql-plperl-10"
},
{
"binary_version": "10.21-0ubuntu0.18.04.1",
"binary_name": "postgresql-plpython-10"
},
{
"binary_version": "10.21-0ubuntu0.18.04.1",
"binary_name": "postgresql-plpython3-10"
},
{
"binary_version": "10.21-0ubuntu0.18.04.1",
"binary_name": "postgresql-pltcl-10"
},
{
"binary_version": "10.21-0ubuntu0.18.04.1",
"binary_name": "postgresql-server-dev-10"
}
],
"availability": "No subscription required"
}
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5440-1.json"
{
"cves": [
{
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"id": "CVE-2022-1552"
}
],
"ecosystem": "Ubuntu:18.04:LTS"
}
{
"binaries": [
{
"binary_version": "12.11-0ubuntu0.20.04.1",
"binary_name": "libecpg-compat3"
},
{
"binary_version": "12.11-0ubuntu0.20.04.1",
"binary_name": "libecpg-dev"
},
{
"binary_version": "12.11-0ubuntu0.20.04.1",
"binary_name": "libecpg6"
},
{
"binary_version": "12.11-0ubuntu0.20.04.1",
"binary_name": "libpgtypes3"
},
{
"binary_version": "12.11-0ubuntu0.20.04.1",
"binary_name": "libpq-dev"
},
{
"binary_version": "12.11-0ubuntu0.20.04.1",
"binary_name": "libpq5"
},
{
"binary_version": "12.11-0ubuntu0.20.04.1",
"binary_name": "postgresql-12"
},
{
"binary_version": "12.11-0ubuntu0.20.04.1",
"binary_name": "postgresql-client-12"
},
{
"binary_version": "12.11-0ubuntu0.20.04.1",
"binary_name": "postgresql-doc-12"
},
{
"binary_version": "12.11-0ubuntu0.20.04.1",
"binary_name": "postgresql-plperl-12"
},
{
"binary_version": "12.11-0ubuntu0.20.04.1",
"binary_name": "postgresql-plpython3-12"
},
{
"binary_version": "12.11-0ubuntu0.20.04.1",
"binary_name": "postgresql-pltcl-12"
},
{
"binary_version": "12.11-0ubuntu0.20.04.1",
"binary_name": "postgresql-server-dev-12"
}
],
"availability": "No subscription required"
}
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5440-1.json"
{
"cves": [
{
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"id": "CVE-2022-1552"
}
],
"ecosystem": "Ubuntu:20.04:LTS"
}
{
"binaries": [
{
"binary_version": "14.3-0ubuntu0.22.04.1",
"binary_name": "libecpg-compat3"
},
{
"binary_version": "14.3-0ubuntu0.22.04.1",
"binary_name": "libecpg-dev"
},
{
"binary_version": "14.3-0ubuntu0.22.04.1",
"binary_name": "libecpg6"
},
{
"binary_version": "14.3-0ubuntu0.22.04.1",
"binary_name": "libpgtypes3"
},
{
"binary_version": "14.3-0ubuntu0.22.04.1",
"binary_name": "libpq-dev"
},
{
"binary_version": "14.3-0ubuntu0.22.04.1",
"binary_name": "libpq5"
},
{
"binary_version": "14.3-0ubuntu0.22.04.1",
"binary_name": "postgresql-14"
},
{
"binary_version": "14.3-0ubuntu0.22.04.1",
"binary_name": "postgresql-client-14"
},
{
"binary_version": "14.3-0ubuntu0.22.04.1",
"binary_name": "postgresql-doc-14"
},
{
"binary_version": "14.3-0ubuntu0.22.04.1",
"binary_name": "postgresql-plperl-14"
},
{
"binary_version": "14.3-0ubuntu0.22.04.1",
"binary_name": "postgresql-plpython3-14"
},
{
"binary_version": "14.3-0ubuntu0.22.04.1",
"binary_name": "postgresql-pltcl-14"
},
{
"binary_version": "14.3-0ubuntu0.22.04.1",
"binary_name": "postgresql-server-dev-14"
}
],
"availability": "No subscription required"
}
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5440-1.json"
{
"cves": [
{
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"id": "CVE-2022-1552"
}
],
"ecosystem": "Ubuntu:22.04:LTS"
}