CVE-2020-1720
published low CVSS 3.1 · 3.1postgresql: ALTER ... DEPENDS ON EXTENSION is missing authorization checks
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | postgresql12.2 · 11.7 · 10.12 · 9.6.17 | Affected | Not stated | redhat |
| Alpine Linux | v3.10 | postgresql | Fixed | 11.7-r0 | Package fix record |
| Oracle Linux | 8 | postgresqlaarch64 · postgresql · 10b | Advisory build | 0:10.14-1.module+el8.2.0+7785+0ea9f177 | ELSA-2020-3669 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 10.14-1.module+el8.2.0+7801+be0fed80 | RHSA-2020:3669 |
| SUSE / openSUSE | SLE-15 | postgresqlnoarch | Advisory build | 12.0.1-8.14.1 | SUSE-SU-2020:2149-1 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.6.0+2758+4f4474df | ALSA-2020:5620 |
| Debian | buster | postgresql-11 | Advisory build | 11.7-0+deb10u1 | DSA-4623-1 |
| Alpine Linux | v3.11 | postgresql | Fixed | 12.2-r0 | Package fix record |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.12 | postgresql | Fixed | 12.2-r0 | Package fix record |
| Alpine Linux | v3.13 | postgresql | Fixed | 12.2-r0 | Package fix record |
| Alpine Linux | v3.14 | postgresql | Fixed | 12.2-r0 | Package fix record |
| Alpine Linux | v3.8 | postgresql | Fixed | 10.12-r0 | Package fix record |
| Alpine Linux | v3.9 | postgresql | Fixed | 11.7-r0 | Package fix record |
| Oracle Linux | 8 | postgresqlaarch64 · postgresql · 12b | Advisory build | 0:12.5-1.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgresqlaarch64 · postgresql · 9.6b | Advisory build | 0:9.6.20-1.module+el8.3.0+9604+f0f52296 | ELSA-2020-5619-1 |
| Oracle Linux | 8 | postgresqlx86_64 · postgresql · 10b | Advisory build | 0:10.14-1.module+el8.2.0+7785+0ea9f177 | ELSA-2020-3669 |
| Oracle Linux | 8 | postgresqlx86_64 · postgresql · 12b | Advisory build | 0:12.5-1.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgresqlx86_64 · postgresql · 9.6b | Advisory build | 0:9.6.20-1.module+el8.3.0+9604+f0f52296 | ELSA-2020-5619-1 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 10.15-1.module+el8.1.0+9154+cd474635 | RHSA-2021:0166 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 12.5-1.module+el8.2.0+9043+1dbb5661 | RHSA-2021:0163 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 12.5-1.module+el8.3.0+9042+664538f4 | RHSA-2020:5620 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 9.6.20-1.module+el8.1.0+9156+8ff1384f | RHSA-2021:0167 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 9.6.20-1.module+el8.2.0+8939+9a3b4b64 | RHSA-2021:0164 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 9.6.20-1.module+el8.3.0+8938+7f0e88b6 | RHSA-2020:5619 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 10.14-1.module+el8.2.0+7801+be0fed80 | RHSA-2020:3669 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 10.15-1.module+el8.0.0+9155+4a85661a | RHSA-2020:5664 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 10.15-1.module+el8.1.0+9154+cd474635 | RHSA-2021:0166 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 12.5-1.module+el8.2.0+9043+1dbb5661 | RHSA-2021:0163 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 12.5-1.module+el8.3.0+9042+664538f4 | RHSA-2020:5620 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 9.6.20-1.module+el8.0.0+9157+356b8def | RHSA-2020:5661 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 9.6.20-1.module+el8.1.0+9156+8ff1384f | RHSA-2021:0167 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 9.6.20-1.module+el8.2.0+8939+9a3b4b64 | RHSA-2021:0164 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 9.6.20-1.module+el8.3.0+8938+7f0e88b6 | RHSA-2020:5619 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 10.14-1.module+el8.2.0+7801+be0fed80 | RHSA-2020:3669 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 10.15-1.module+el8.1.0+9154+cd474635 | RHSA-2021:0166 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 12.5-1.module+el8.2.0+9043+1dbb5661 | RHSA-2021:0163 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 12.5-1.module+el8.3.0+9042+664538f4 | RHSA-2020:5620 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 9.6.20-1.module+el8.1.0+9156+8ff1384f | RHSA-2021:0167 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 9.6.20-1.module+el8.2.0+8939+9a3b4b64 | RHSA-2021:0164 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 9.6.20-1.module+el8.3.0+8938+7f0e88b6 | RHSA-2020:5619 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 10.14-1.module+el8.2.0+7801+be0fed80 | RHSA-2020:3669 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 10.15-1.module+el8.0.0+9155+4a85661a | RHSA-2020:5664 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 10.15-1.module+el8.1.0+9154+cd474635 | RHSA-2021:0166 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 12.5-1.module+el8.2.0+9043+1dbb5661 | RHSA-2021:0163 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 12.5-1.module+el8.3.0+9042+664538f4 | RHSA-2020:5620 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 9.6.20-1.module+el8.0.0+9157+356b8def | RHSA-2020:5661 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 9.6.20-1.module+el8.1.0+9156+8ff1384f | RHSA-2021:0167 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 9.6.20-1.module+el8.2.0+8939+9a3b4b64 | RHSA-2021:0164 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 9.6.20-1.module+el8.3.0+8938+7f0e88b6 | RHSA-2020:5619 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 10.14-1.module+el8.2.0+7801+be0fed80 | RHSA-2020:3669 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 10.15-1.module+el8.0.0+9155+4a85661a | RHSA-2020:5664 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 10.15-1.module+el8.1.0+9154+cd474635 | RHSA-2021:0166 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 12.5-1.module+el8.2.0+9043+1dbb5661 | RHSA-2021:0163 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 12.5-1.module+el8.3.0+9042+664538f4 | RHSA-2020:5620 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 9.6.20-1.module+el8.0.0+9157+356b8def | RHSA-2020:5661 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 9.6.20-1.module+el8.1.0+9156+8ff1384f | RHSA-2021:0167 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 9.6.20-1.module+el8.2.0+8939+9a3b4b64 | RHSA-2021:0164 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 9.6.20-1.module+el8.3.0+8938+7f0e88b6 | RHSA-2020:5619 |
| SUSE / openSUSE | SLE-15-SP1 | postgresqlnoarch | Advisory build | 12.0.1-8.14.1 | SUSE-SU-2020:2149-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | postgresqlnoarch | Advisory build | 12.0.1-lp151.6.9.1 | OPENSUSE-SU-2020:1227-1 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.6.0+2760+1746ec94 | ALSA-2020:5620 |
| Alpine Linux | v3.15 | postgresql12 | Fixed | 12.2-r0 | Package fix record |
| Alpine Linux | v3.15 | postgresql14 | Fixed | 12.2-r0 | Package fix record |
| Alpine Linux | v3.16 | postgresql12 | Fixed | 12.2-r0 | Package fix record |
| Alpine Linux | v3.16 | postgresql14 | Fixed | 12.2-r0 | Package fix record |
| Alpine Linux | v3.17 | postgresql12 | Fixed | 12.2-r0 | Package fix record |
| Alpine Linux | v3.17 | postgresql14 | Fixed | 12.2-r0 | Package fix record |
| Alpine Linux | v3.17 | postgresql15 | Fixed | 12.2-r0 | Package fix record |
| Alpine Linux | v3.18 | postgresql12 | Fixed | 12.2-r0 | Package fix record |
| Alpine Linux | v3.18 | postgresql14 | Fixed | 12.2-r0 | Package fix record |
| Alpine Linux | v3.18 | postgresql15 | Fixed | 12.2-r0 | Package fix record |
| Alpine Linux | v3.19 | postgresql14 | Fixed | 12.2-r0 | Package fix record |
| Alpine Linux | v3.19 | postgresql15 | Fixed | 12.2-r0 | Package fix record |
| Alpine Linux | v3.20 | postgresql14 | Fixed | 12.2-r0 | Package fix record |
| Alpine Linux | v3.20 | postgresql15 | Fixed | 12.2-r0 | Package fix record |
| Debian | jessie | postgresql-9.4 | Advisory build | 9.4.26-0+deb8u1 | DLA-2105-1 |
| Debian | stretch | postgresql-9.6 | Advisory build | 9.6.17-0+deb9u1 | DSA-4622-1 |
| Oracle Linux | 7 | rh-postgresql10-postgresqlx86_64 | Advisory build | 0:10.15-1.el7 | ELSA-2021-9290 |
| Oracle Linux | 7 | rh-postgresql10-postgresql-contribx86_64 | Advisory build | 0:10.15-1.el7 | ELSA-2021-9290 |
| Oracle Linux | 7 | rh-postgresql10-postgresql-contrib-syspathsx86_64 | Advisory build | 0:10.15-1.el7 | ELSA-2021-9290 |
| Oracle Linux | 7 | rh-postgresql10-postgresql-develx86_64 | Advisory build | 0:10.15-1.el7 | ELSA-2021-9290 |
| Oracle Linux | 7 | rh-postgresql10-postgresql-docsx86_64 | Advisory build | 0:10.15-1.el7 | ELSA-2021-9290 |
| Oracle Linux | 7 | rh-postgresql10-postgresql-libsx86_64 | Advisory build | 0:10.15-1.el7 | ELSA-2021-9290 |
| Oracle Linux | 7 | rh-postgresql10-postgresql-plperlx86_64 | Advisory build | 0:10.15-1.el7 | ELSA-2021-9290 |
| Oracle Linux | 7 | rh-postgresql10-postgresql-plpythonx86_64 | Advisory build | 0:10.15-1.el7 | ELSA-2021-9290 |
| Oracle Linux | 7 | rh-postgresql10-postgresql-pltclx86_64 | Advisory build | 0:10.15-1.el7 | ELSA-2021-9290 |
| Oracle Linux | 7 | rh-postgresql10-postgresql-serverx86_64 | Advisory build | 0:10.15-1.el7 | ELSA-2021-9290 |
| Oracle Linux | 7 | rh-postgresql10-postgresql-server-syspathsx86_64 | Advisory build | 0:10.15-1.el7 | ELSA-2021-9290 |
| Oracle Linux | 7 | rh-postgresql10-postgresql-staticx86_64 | Advisory build | 0:10.15-1.el7 | ELSA-2021-9290 |
| Oracle Linux | 7 | rh-postgresql10-postgresql-syspathsx86_64 | Advisory build | 0:10.15-1.el7 | ELSA-2021-9290 |
| Oracle Linux | 7 | rh-postgresql10-postgresql-testx86_64 | Advisory build | 0:10.15-1.el7 | ELSA-2021-9290 |
| Oracle Linux | 8 | pgauditaarch64 · postgresql · 12b | Advisory build | 0:1.4.0-4.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | pgauditx86_64 · postgresql · 12b | Advisory build | 0:1.4.0-4.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgres-decoderbufsaarch64 · postgresql · 12b | Advisory build | 0:0.10.0-2.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgres-decoderbufsx86_64 · postgresql · 12b | Advisory build | 0:0.10.0-2.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgresql-contribaarch64 · postgresql · 10b | Advisory build | 0:10.14-1.module+el8.2.0+7785+0ea9f177 | ELSA-2020-3669 |
| Oracle Linux | 8 | postgresql-contribaarch64 · postgresql · 12b | Advisory build | 0:12.5-1.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgresql-contribaarch64 · postgresql · 9.6b | Advisory build | 0:9.6.20-1.module+el8.3.0+9604+f0f52296 | ELSA-2020-5619-1 |
| Oracle Linux | 8 | postgresql-contribx86_64 · postgresql · 10b | Advisory build | 0:10.14-1.module+el8.2.0+7785+0ea9f177 | ELSA-2020-3669 |
| Oracle Linux | 8 | postgresql-contribx86_64 · postgresql · 12b | Advisory build | 0:12.5-1.module+el8.3.0+9608+b210d254 | ELSA-2020-5620-1 |
| Oracle Linux | 8 | postgresql-contribx86_64 · postgresql · 9.6b | Advisory build | 0:9.6.20-1.module+el8.3.0+9604+f0f52296 | ELSA-2020-5619-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
A flaw was found in PostgreSQL's "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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.1 / 10
- Severity
- low
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | postgresql | 12.2 (affected)11.7 (affected)10.12 (affected)9.6.17 (affected) | redhat · cna |
Weaknesses
1- CWE-285
References
3- openSUSE-SU-2020:1227 http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00043.html
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1720
- https://www.postgresql.org/about/news/2011/
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3a010d0ead11e9c23a72e593fe9629b91a9b13e01911372c2c671c123e945dbe
- Ingested
- 23 Sep 2026, 07:49:17 UTC
- Source record
- Official CVE record