A flaw was found in PostgreSQLs ALTER … DEPENDS ON EXTENSION, where sub-commands did not perform authorization checks. An authenticated attacker could use this flaw in certain configurations to perform drop objects such as function, triggers, et al., leading to database corruption. This issue affects PostgreSQL versions before 12.2, before 11.7, before 10.12 and before 9.6.17.
The product does not perform an authorization check when an actor attempts to access a resource or perform an action.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Postgresql | Postgresql | 9.6 (including) | 9.6.17 (excluding) |
Postgresql | Postgresql | 10.0 (including) | 10.12 (excluding) |
Postgresql | Postgresql | 11.0 (including) | 11.7 (excluding) |
Postgresql | Postgresql | 12.0 (including) | 12.2 (excluding) |
Red Hat Enterprise Linux 8 | RedHat | postgresql:10-8020020200825115746.4cda2c84 | * |
Red Hat Enterprise Linux 8 | RedHat | postgresql:9.6-8030020201201133334.229f0a1c | * |
Red Hat Enterprise Linux 8 | RedHat | postgresql:12-8030020201207110000.229f0a1c | * |
Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions | RedHat | postgresql:9.6-8000020201214122017.f8e95b4e | * |
Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions | RedHat | postgresql:10-8000020201214113918.f8e95b4e | * |
Red Hat Enterprise Linux 8.1 Extended Update Support | RedHat | postgresql:10-8010020201214112129.c27ad7f8 | * |
Red Hat Enterprise Linux 8.1 Extended Update Support | RedHat | postgresql:9.6-8010020201214134447.c27ad7f8 | * |
Red Hat Enterprise Linux 8.2 Extended Update Support | RedHat | postgresql:12-8020020201207110224.4cda2c84 | * |
Red Hat Enterprise Linux 8.2 Extended Update Support | RedHat | postgresql:9.6-8020020201201133334.4cda2c84 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-postgresql10-postgresql-0:10.12-2.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-postgresql96-postgresql-0:9.6.19-1.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-postgresql12-postgresql-0:12.4-1.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | RedHat | rh-postgresql10-postgresql-0:10.12-2.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | RedHat | rh-postgresql10-postgresql-0:10.12-2.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | RedHat | rh-postgresql96-postgresql-0:9.6.19-1.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | RedHat | rh-postgresql12-postgresql-0:12.4-1.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | RedHat | rh-postgresql10-postgresql-0:10.12-2.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | RedHat | rh-postgresql96-postgresql-0:9.6.19-1.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | RedHat | rh-postgresql12-postgresql-0:12.4-1.el7 | * |
Red Hat Virtualization Engine 4.3 | RedHat | org.ovirt.engine-root-0:4.3.10.3-2 | * |
Red Hat Virtualization Engine 4.3 | RedHat | rh-postgresql10-postgresql-0:10.12-2.el7 | * |
Postgresql-10 | Ubuntu | bionic | * |
Postgresql-11 | Ubuntu | eoan | * |
Postgresql-12 | Ubuntu | devel | * |
Postgresql-12 | Ubuntu | trusty | * |
Postgresql-12 | Ubuntu | upstream | * |
Postgresql-9.1 | Ubuntu | trusty | * |
Postgresql-9.3 | Ubuntu | trusty | * |
Assuming a user with a given identity, authorization is the process of determining whether that user can access a given resource, based on the user’s privileges and any permissions or other access-control specifications that apply to the resource. When access control checks are not applied, users are able to access data or perform actions that they should not be allowed to perform. This can lead to a wide range of problems, including information exposures, denial of service, and arbitrary code execution.