postgresql: TYPE in pg_temp executes arbitrary SQL during SECURITY DEFINER execution
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PostgreSQL | postgresql | affected |
|
Configuration 1 [-]
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | |||
| postgresql-0:9.2.24-6.el7_9 | cpe:/o:redhat:enterprise_linux:7 | RHSA-2021:1512 | 2021-05-06T00:00:00Z |
| Red Hat Enterprise Linux 8 | |||
| postgresql:10-8020020200825115746.4cda2c84 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2020:3669 | 2020-09-08T00:00:00Z |
| postgresql:9.6-8030020201201133334.229f0a1c | cpe:/a:redhat:enterprise_linux:8 | RHSA-2020:5619 | 2020-12-17T00:00:00Z |
| Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions | |||
| postgresql:9.6-8000020201214122017.f8e95b4e | cpe:/a:redhat:rhel_e4s:8.0 | RHSA-2020:5661 | 2020-12-22T00:00:00Z |
| postgresql:10-8000020201214113918.f8e95b4e | cpe:/a:redhat:rhel_e4s:8.0 | RHSA-2020:5664 | 2020-12-22T00:00:00Z |
| Red Hat Enterprise Linux 8.1 Extended Update Support | |||
| postgresql:10-8010020201214112129.c27ad7f8 | cpe:/a:redhat:rhel_eus:8.1 | RHSA-2021:0166 | 2021-01-18T00:00:00Z |
| postgresql:9.6-8010020201214134447.c27ad7f8 | cpe:/a:redhat:rhel_eus:8.1 | RHSA-2021:0167 | 2021-01-18T00:00:00Z |
| Red Hat Enterprise Linux 8.2 Extended Update Support | |||
| postgresql:9.6-8020020201201133334.4cda2c84 | cpe:/a:redhat:rhel_eus:8.2 | RHSA-2021:0164 | 2021-01-18T00:00:00Z |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | |||
| rh-postgresql10-postgresql-0:10.12-2.el7 | cpe:/a:redhat:rhel_software_collections:3::el7 | RHSA-2020:0980 | 2020-03-26T00:00:00Z |
| rh-postgresql96-postgresql-0:9.6.19-1.el7 | cpe:/a:redhat:rhel_software_collections:3::el7 | RHSA-2020:4295 | 2020-10-21T00:00:00Z |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | |||
| rh-postgresql10-postgresql-0:10.12-2.el7 | cpe:/a:redhat:rhel_software_collections:3::el7 | RHSA-2020:0980 | 2020-03-26T00:00:00Z |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | |||
| rh-postgresql10-postgresql-0:10.12-2.el7 | cpe:/a:redhat:rhel_software_collections:3::el7 | RHSA-2020:0980 | 2020-03-26T00:00:00Z |
| rh-postgresql96-postgresql-0:9.6.19-1.el7 | cpe:/a:redhat:rhel_software_collections:3::el7 | RHSA-2020:4295 | 2020-10-21T00:00:00Z |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | |||
| rh-postgresql10-postgresql-0:10.12-2.el7 | cpe:/a:redhat:rhel_software_collections:3::el7 | RHSA-2020:0980 | 2020-03-26T00:00:00Z |
| rh-postgresql96-postgresql-0:9.6.19-1.el7 | cpe:/a:redhat:rhel_software_collections:3::el7 | RHSA-2020:4295 | 2020-10-21T00:00:00Z |
No data available yet.
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-1874-1 | postgresql-9.4 security update |
Debian DSA |
DSA-4492-1 | postgresql-9.6 security update |
Debian DSA |
DSA-4493-1 | postgresql-11 security update |
EUVD |
EUVD-2019-2225 | A flaw was discovered in postgresql versions 9.4.x before 9.4.24, 9.5.x before 9.5.19, 9.6.x before 9.6.15, 10.x before 10.10 and 11.x before 11.5 where arbitrary SQL statements can be executed given a suitable SECURITY DEFINER function. An attacker, with EXECUTE permission on the function, can execute arbitrary SQL as the owner of the function. |
Ubuntu USN |
USN-4090-1 | PostgreSQL vulnerabilities |
No CVSS v4.0
This CVE is not in the KEV list.
Exploit prediction score: 2.2% (2.188% probability within 30 days)
Key SSVC decision points have not yet been added.
No history.