Skip to content
Fencer Vulns
low 3.1

CVE-2020-1720 json

A flaw was found in PostgreSQL's "ALTER ... DEPENDS ON EXTENSION", where sub-commands did not perform authorization checks.

published 2020-03-17 6 y ago modified 2026-09-08 2 mo ago also BIT-postgresql-2020-1720 , EUVD-2020-12571

cvss
3.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.2%
EPSS 1.2% chance of exploitation in 30 days, percentile 67%
public exploits
0
none known

Summary

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.

Patch / fix

  • bitnami postgresql 9.6.17, 10.12.0, 11.7.0, 12.2.0
  • postgresql postgresql 9.6.17, 10.12, 11.7, 12.2
  • postgresql-10 Ubuntu 18.04 LTS 10.12-0ubuntu0.18.04.1

ubuntu advisories UBUNTU-CVE-2020-1720

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • postgresql RHEL 8 9.6.20-1.module+el8.3.0+8938+7f0e88b6
  • postgresql-test RHEL 8 9.6.20-1.module+el8.3.0+8938+7f0e88b6
  • postgresql-pltcl RHEL 8 9.6.20-1.module+el8.3.0+8938+7f0e88b6
  • postgresql-plperl RHEL 8 9.6.20-1.module+el8.3.0+8938+7f0e88b6
  • postgresql-server RHEL 8 9.6.20-1.module+el8.3.0+8938+7f0e88b6
  • postgresql-contrib RHEL 8 9.6.20-1.module+el8.3.0+8938+7f0e88b6
  • postgresql-plpython3 RHEL 8 9.6.20-1.module+el8.3.0+8938+7f0e88b6
  • postgresql-test-rpm-macros RHEL 8 9.6.20-1.module+el8.3.0+8938+7f0e88b6

red hat advisories RHSA-2021:0167RHSA-2021:0166RHSA-2021:0164RHSA-2021:0163RHSA-2020:5661RHSA-2020:5619

  • postgresql10 SLES for SAP 15, SLES 15-LTSS, SLE High Performance Computing 15-LTSS +1 more 10.13-4.22.4
  • postgresql12 SLE Module for Server Applications 15 SP1, SLE Module for Basesystem 15 SP1 12.3-3.8.1
  • postgresql SLES for SAP 15, SLES 15-LTSS, SLE Module for Server Applications 15 SP1 +4 more 12.0.1-8.14.1
  • postgresql12 SLE Module for Server Applications 15 SP1, SLE Module for Basesystem 15 SP1 12.2-3.5.2
  • postgresql SLE Module for Server Applications 15 SP1, SLE Module for Basesystem 15 SP1 12-8.11.3
  • postgresql10 SLE Module for Server Applications 15 SP1, SLE Module for Basesystem 15 SP1 10.12-8.13.9
  • python-psycopg2 SLE Module for Basesystem 15 SP1 2.8.4-5.4.6
  • postgresql12-libs SLE Module for Server Applications 15 SP1, SLE Module for Basesystem 15 SP1 12.2-3.5.2

suse advisories SUSE-SU-2020:2149-1SUSE-RU-2020:1280-1SUSE-SU-2020:0752-1SUSE-SU-2020:0715-1SUSE-SU-2020:0589-1SUSE-SU-2020:0586-1

  • postgresql10 openSUSE Tumbleweed 10.18-1.3
  • postgresql11 openSUSE Tumbleweed 11.13-1.3
  • postgresql12 openSUSE Tumbleweed 12.8-1.3
  • postgresql10 openSUSE Leap 15.1 10.13-lp151.2.14.1
  • postgresql12 openSUSE Leap 15.1 12.3-lp151.2.1
  • postgresql openSUSE Leap 15.1 12.0.1-lp151.6.9.1
  • postgresql96 openSUSE Leap 15.1 9.6.19-lp151.3.3.1
  • postgresql10 openSUSE Leap 15.1 10.12-lp151.2.9.1

opensuse advisories openSUSE-SU-2024:11184-1openSUSE-SU-2024:11185-1openSUSE-SU-2024:11186-1openSUSE-SU-2020:1227-1openSUSE-SU-2020:0331-1

  • postgres-decoderbufs AlmaLinux 8 0.10.0-2.module_el8.6.0+2760+1746ec94
  • postgres-decoderbufs AlmaLinux 8 0.10.0-2.module_el8.6.0+2758+4f4474df

almalinux advisories ALSA-2020:5620

  • pgaudit Rocky Linux 8 1.4.0-4.module+el8.4.0+545+ca56da2e
  • postgres-decoderbufs Rocky Linux 8 0.10.0-2.module+el8.5.0+684+c3892ef9
  • postgres-decoderbufs Rocky Linux 8 0.10.0-2.module+el8.4.0+424+71d47d9a

rocky linux advisories RLSA-2020:5620

  • postgresql Alpine 3.10, Alpine 3.9 11.7-r0
  • postgresql Alpine 3.14, Alpine 3.13, Alpine 3.12 +1 more 12.2-r0
  • postgresql Alpine 3.8 10.12-r0
  • postgresql12 Alpine 3.18, Alpine 3.17, Alpine 3.16 +1 more 12.2-r0
  • postgresql14 Alpine 3.20, Alpine 3.19, Alpine 3.18 +3 more 12.2-r0
  • postgresql15 Alpine 3.20, Alpine 3.19, Alpine 3.18 +1 more 12.2-r0

alpine advisories ALPINE-CVE-2020-1720

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2020-1720 updated cvss 3.1

postgresql: ALTER ... DEPENDS ON EXTENSION is missing authorization checks

  • Red Hat Enterprise Linux AppStream (v. 8) pgaudit 1.4.0-4.module+el8.3.0+9042+664538f4, postgresql 12.5-1.module+el8.3.0+9042+664538f4, postgresql 10.14-1.module+el8.2.0+7801+be0fed80, postgresql 9.6.20-1.module+el8.3.0+8938+7f0e88b6, postgresql-test 12.5-1.module+el8.3.0+9042+664538f4, postgresql-pltcl 12.5-1.module+el8.3.0+9042+664538f4, +22 more
    fixed: vendor fix RHSA-2020:3669
  • Red Hat Enterprise Linux AppStream E4S (v. 8.0) postgresql 10.15-1.module+el8.0.0+9155+4a85661a, postgresql 9.6.20-1.module+el8.0.0+9157+356b8def, postgresql-test 10.15-1.module+el8.0.0+9155+4a85661a, postgresql-pltcl 10.15-1.module+el8.0.0+9155+4a85661a, postgresql-test 9.6.20-1.module+el8.0.0+9157+356b8def, postgresql-plperl 10.15-1.module+el8.0.0+9155+4a85661a, +11 more
    fixed: vendor fix RHSA-2020:5664
  • Red Hat Enterprise Linux AppStream EUS (v. 8.1) postgresql 10.15-1.module+el8.1.0+9154+cd474635, postgresql 9.6.20-1.module+el8.1.0+9156+8ff1384f, postgresql-test 10.15-1.module+el8.1.0+9154+cd474635, postgresql-pltcl 10.15-1.module+el8.1.0+9154+cd474635, postgresql-test 9.6.20-1.module+el8.1.0+9156+8ff1384f, postgresql-plperl 10.15-1.module+el8.1.0+9154+cd474635, +11 more
    fixed: vendor fix RHSA-2021:0166
  • Red Hat Enterprise Linux AppStream EUS (v. 8.2) pgaudit 1.4.0-4.module+el8.2.0+9043+1dbb5661, postgresql 12.5-1.module+el8.2.0+9043+1dbb5661, postgresql 9.6.20-1.module+el8.2.0+8939+9a3b4b64, postgresql-test 12.5-1.module+el8.2.0+9043+1dbb5661, postgresql-pltcl 12.5-1.module+el8.2.0+9043+1dbb5661, postgresql-plperl 12.5-1.module+el8.2.0+9043+1dbb5661, +13 more
    fixed: vendor fix RHSA-2021:0163
  • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-postgresql12-postgresql 12.4-1.el7, rh-postgresql10-postgresql 10.12-2.el7, rh-postgresql96-postgresql 9.6.19-1.el7, rh-postgresql12-postgresql-libs 12.4-1.el7, rh-postgresql12-postgresql-test 12.4-1.el7, rh-postgresql10-postgresql-libs 10.12-2.el7, +27 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-postgresql10-postgresql 10.12-2.el7, rh-postgresql10-postgresql-libs 10.12-2.el7, rh-postgresql10-postgresql-test 10.12-2.el7, rh-postgresql10-postgresql-pltcl 10.12-2.el7, rh-postgresql10-postgresql-plperl 10.12-2.el7, rh-postgresql10-postgresql-server 10.12-2.el7, +5 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-postgresql12-postgresql 12.4-1.el7, rh-postgresql10-postgresql 10.12-2.el7, rh-postgresql96-postgresql 9.6.19-1.el7, rh-postgresql12-postgresql-libs 12.4-1.el7, rh-postgresql12-postgresql-test 12.4-1.el7, rh-postgresql10-postgresql-libs 10.12-2.el7, +27 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-postgresql12-postgresql 12.4-1.el7, rh-postgresql10-postgresql 10.12-2.el7, rh-postgresql96-postgresql 9.6.19-1.el7, rh-postgresql12-postgresql-libs 12.4-1.el7, rh-postgresql12-postgresql-test 12.4-1.el7, rh-postgresql10-postgresql-libs 10.12-2.el7, +27 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-postgresql12-postgresql 12.4-1.el7, rh-postgresql10-postgresql 10.12-2.el7, rh-postgresql96-postgresql 9.6.19-1.el7, rh-postgresql12-postgresql-libs 12.4-1.el7, rh-postgresql12-postgresql-test 12.4-1.el7, rh-postgresql10-postgresql-libs 10.12-2.el7, +27 more
    fixed: vendor fix RHSA-2020:0980
  • Red Hat RHV-M 4.3 rhvm 4.3.10.3-0.2.el7, ovirt-engine 4.3.10.3-0.2.el7, ovirt-engine-setup 4.3.10.3-0.2.el7, ovirt-engine-tools 4.3.10.3-0.2.el7, ovirt-engine-backend 4.3.10.3-0.2.el7, ovirt-engine-restapi 4.3.10.3-0.2.el7, +26 more
    fixed: vendor fix RHBA-2020:2396
  • Red Hat Decision Manager 7 postgresql Red Hat Enterprise Linux 5 postgresql, postgresql84 Red Hat Enterprise Linux 6 postgresql, postgresql-libs, postgresql-test, postgresql-pltcl, postgresql-plperl, postgresql-server, +2 more Red Hat Enterprise Linux 7 postgresql, postgresql-libs, postgresql-test, postgresql-pltcl, postgresql-plperl, postgresql-server, +3 more Red Hat Enterprise Linux 8 libpq Red Hat Process Automation 7 postgresql
    +1 more products
    Red Hat Satellite 5 rh-postgresql95-postgresql
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.18% chance of exploitation in the next 30 days, higher than 67% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 3.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
NVD 2.0 3.5 AV:N/AC:M/Au:S/C:N/I:P/A:N
OSV 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Affected packages

ecosystem package affected fixed in
bitnami postgresql
>=9.6.0, <9.6.17
>=10.0.0, <10.12.0
>=11.0.0, <11.7.0
>=12.0.0, <12.2.0
9.6.17
10.12.0
11.7.0
12.2.0

Affected products

  • Red Hat postgresql

Classification

Weakness
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.