Noah Misch discovered that PostgreSQL incorrectly handled the search_path setting when used with logical replication. A remote attacker could possibly use this issue to execute arbitrary SQL code. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-14349)
Andres Freund discovered that PostgreSQL incorrectly handled search path elements in CREATE EXTENSION. A remote attacker could possibly use this issue to execute arbitrary SQL code. (CVE-2020-14350)
{
"binaries": [
{
"binary_name": "libecpg-compat3",
"binary_version": "9.5.23-0ubuntu0.16.04.1"
},
{
"binary_name": "libecpg-dev",
"binary_version": "9.5.23-0ubuntu0.16.04.1"
},
{
"binary_name": "libecpg6",
"binary_version": "9.5.23-0ubuntu0.16.04.1"
},
{
"binary_name": "libpgtypes3",
"binary_version": "9.5.23-0ubuntu0.16.04.1"
},
{
"binary_name": "libpq-dev",
"binary_version": "9.5.23-0ubuntu0.16.04.1"
},
{
"binary_name": "libpq5",
"binary_version": "9.5.23-0ubuntu0.16.04.1"
},
{
"binary_name": "postgresql-9.5",
"binary_version": "9.5.23-0ubuntu0.16.04.1"
},
{
"binary_name": "postgresql-client-9.5",
"binary_version": "9.5.23-0ubuntu0.16.04.1"
},
{
"binary_name": "postgresql-contrib-9.5",
"binary_version": "9.5.23-0ubuntu0.16.04.1"
},
{
"binary_name": "postgresql-doc-9.5",
"binary_version": "9.5.23-0ubuntu0.16.04.1"
},
{
"binary_name": "postgresql-plperl-9.5",
"binary_version": "9.5.23-0ubuntu0.16.04.1"
},
{
"binary_name": "postgresql-plpython-9.5",
"binary_version": "9.5.23-0ubuntu0.16.04.1"
},
{
"binary_name": "postgresql-plpython3-9.5",
"binary_version": "9.5.23-0ubuntu0.16.04.1"
},
{
"binary_name": "postgresql-pltcl-9.5",
"binary_version": "9.5.23-0ubuntu0.16.04.1"
},
{
"binary_name": "postgresql-server-dev-9.5",
"binary_version": "9.5.23-0ubuntu0.16.04.1"
}
],
"availability": "No subscription required"
}
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4472-1.json"
{
"cves": [
{
"id": "CVE-2020-14350",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:16.04:LTS"
}
{
"binaries": [
{
"binary_name": "libecpg-compat3",
"binary_version": "10.14-0ubuntu0.18.04.1"
},
{
"binary_name": "libecpg-dev",
"binary_version": "10.14-0ubuntu0.18.04.1"
},
{
"binary_name": "libecpg6",
"binary_version": "10.14-0ubuntu0.18.04.1"
},
{
"binary_name": "libpgtypes3",
"binary_version": "10.14-0ubuntu0.18.04.1"
},
{
"binary_name": "libpq-dev",
"binary_version": "10.14-0ubuntu0.18.04.1"
},
{
"binary_name": "libpq5",
"binary_version": "10.14-0ubuntu0.18.04.1"
},
{
"binary_name": "postgresql-10",
"binary_version": "10.14-0ubuntu0.18.04.1"
},
{
"binary_name": "postgresql-client-10",
"binary_version": "10.14-0ubuntu0.18.04.1"
},
{
"binary_name": "postgresql-doc-10",
"binary_version": "10.14-0ubuntu0.18.04.1"
},
{
"binary_name": "postgresql-plperl-10",
"binary_version": "10.14-0ubuntu0.18.04.1"
},
{
"binary_name": "postgresql-plpython-10",
"binary_version": "10.14-0ubuntu0.18.04.1"
},
{
"binary_name": "postgresql-plpython3-10",
"binary_version": "10.14-0ubuntu0.18.04.1"
},
{
"binary_name": "postgresql-pltcl-10",
"binary_version": "10.14-0ubuntu0.18.04.1"
},
{
"binary_name": "postgresql-server-dev-10",
"binary_version": "10.14-0ubuntu0.18.04.1"
}
],
"availability": "No subscription required"
}
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4472-1.json"
{
"cves": [
{
"id": "CVE-2020-14349",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2020-14350",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:18.04:LTS"
}
{
"binaries": [
{
"binary_name": "libecpg-compat3",
"binary_version": "12.4-0ubuntu0.20.04.1"
},
{
"binary_name": "libecpg-dev",
"binary_version": "12.4-0ubuntu0.20.04.1"
},
{
"binary_name": "libecpg6",
"binary_version": "12.4-0ubuntu0.20.04.1"
},
{
"binary_name": "libpgtypes3",
"binary_version": "12.4-0ubuntu0.20.04.1"
},
{
"binary_name": "libpq-dev",
"binary_version": "12.4-0ubuntu0.20.04.1"
},
{
"binary_name": "libpq5",
"binary_version": "12.4-0ubuntu0.20.04.1"
},
{
"binary_name": "postgresql-12",
"binary_version": "12.4-0ubuntu0.20.04.1"
},
{
"binary_name": "postgresql-client-12",
"binary_version": "12.4-0ubuntu0.20.04.1"
},
{
"binary_name": "postgresql-doc-12",
"binary_version": "12.4-0ubuntu0.20.04.1"
},
{
"binary_name": "postgresql-plperl-12",
"binary_version": "12.4-0ubuntu0.20.04.1"
},
{
"binary_name": "postgresql-plpython3-12",
"binary_version": "12.4-0ubuntu0.20.04.1"
},
{
"binary_name": "postgresql-pltcl-12",
"binary_version": "12.4-0ubuntu0.20.04.1"
},
{
"binary_name": "postgresql-server-dev-12",
"binary_version": "12.4-0ubuntu0.20.04.1"
}
],
"availability": "No subscription required"
}
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4472-1.json"
{
"cves": [
{
"id": "CVE-2020-14349",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
},
{
"id": "CVE-2020-14350",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
]
}
],
"ecosystem": "Ubuntu:20.04:LTS"
}