Skip to content

CVE-2020-1720 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 p...

MediumCVSS 6.5 EPSS 1.2%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuRed Hat

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.

Upgrade path

27 packages: 23 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
redhat software collections All versions No fix listed No fix yet
alpine/postgresql(Alpine v3.10) >= 11.0, < 11.7-r0 11.7-r0 Fixed
alpine/postgresql(Alpine v3.11) >= 12.0, < 12.2-r0 12.2-r0 Fixed
alpine/postgresql(Alpine v3.12) >= 12.0, < 12.2-r0 12.2-r0 Fixed
alpine/postgresql(Alpine v3.13) >= 12.0, < 12.2-r0 12.2-r0 Fixed
alpine/postgresql(Alpine v3.14) >= 12.0, < 12.2-r0 12.2-r0 Fixed
alpine/postgresql(Alpine v3.8) >= 10.0, < 10.12-r0 10.12-r0 Fixed
alpine/postgresql(Alpine v3.9) >= 11.0, < 11.7-r0 11.7-r0 Fixed
alpine/postgresql12(Alpine v3.15) < 12.2-r0 12.2-r0 Fixed
alpine/postgresql12(Alpine v3.16) < 12.2-r0 12.2-r0 Fixed
alpine/postgresql12(Alpine v3.17) < 12.2-r0 12.2-r0 Fixed
alpine/postgresql12(Alpine v3.18) < 12.2-r0 12.2-r0 Fixed
alpine/postgresql14(Alpine v3.15) < 12.2-r0 12.2-r0 Fixed
alpine/postgresql14(Alpine v3.16) < 12.2-r0 12.2-r0 Fixed
alpine/postgresql14(Alpine v3.17) < 12.2-r0 12.2-r0 Fixed
alpine/postgresql14(Alpine v3.18) < 12.2-r0 12.2-r0 Fixed
alpine/postgresql14(Alpine v3.19) < 12.2-r0 12.2-r0 Fixed
alpine/postgresql14(Alpine v3.20) < 12.2-r0 12.2-r0 Fixed
alpine/postgresql15(Alpine v3.17) < 12.2-r0 12.2-r0 Fixed
alpine/postgresql15(Alpine v3.18) < 12.2-r0 12.2-r0 Fixed
alpine/postgresql15(Alpine v3.19) < 12.2-r0 12.2-r0 Fixed
alpine/postgresql15(Alpine v3.20) < 12.2-r0 12.2-r0 Fixed
postgresql >= 9.6, < 9.6.17; >= 10.0, < 10.12; >= 11.0, < 11.7; >= 12.0, < 12.2 9.6.17, 10.12, 11.7, 12.2 Fixed
ubuntu/postgresql-10(Ubuntu 18.04) < 10.12-0ubuntu0.18.04.1; = 10.1-1; = 10.1-2; = 10.2-1 +8 more 10.12-0ubuntu0.18.04.1 Fixed
redhat decision manager = 7.0 No fix listed Versions listed
redhat enterprise linux = 8.0 No fix listed Versions listed
redhat/postgresql = 9.6.17; = 10.12; = 11.7; = 12.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
postgresql >= 9.6, < 9.6.17 9.6.17
postgresql >= 10.0, < 10.12 10.12
postgresql >= 11.0, < 11.7 11.7
postgresql >= 12.0, < 12.2 12.2
redhat decision manager = 7.0 No fix listed
redhat software collections All versions No fix listed
redhat enterprise linux = 8.0 No fix listed
redhat/postgresql = 12.2 No fix listed
redhat/postgresql = 11.7 No fix listed
redhat/postgresql = 10.12 No fix listed
redhat/postgresql = 9.6.17 No fix listed
alpine/postgresql(Alpine:v3.10) >= 11.0, < 11.7-r0 11.7-r0
alpine/postgresql(Alpine:v3.11) >= 12.0, < 12.2-r0 12.2-r0
alpine/postgresql(Alpine:v3.12) >= 12.0, < 12.2-r0 12.2-r0
alpine/postgresql(Alpine:v3.13) >= 12.0, < 12.2-r0 12.2-r0
alpine/postgresql(Alpine:v3.14) >= 12.0, < 12.2-r0 12.2-r0
alpine/postgresql(Alpine:v3.8) >= 10.0, < 10.12-r0 10.12-r0
alpine/postgresql(Alpine:v3.9) >= 11.0, < 11.7-r0 11.7-r0
alpine/postgresql12(Alpine:v3.15) < 12.2-r0 12.2-r0
alpine/postgresql12(Alpine:v3.16) < 12.2-r0 12.2-r0
alpine/postgresql12(Alpine:v3.17) < 12.2-r0 12.2-r0
alpine/postgresql12(Alpine:v3.18) < 12.2-r0 12.2-r0
alpine/postgresql14(Alpine:v3.15) < 12.2-r0 12.2-r0
alpine/postgresql14(Alpine:v3.16) < 12.2-r0 12.2-r0
alpine/postgresql14(Alpine:v3.17) < 12.2-r0 12.2-r0
Show 19 more
ProductAffected versionsFixed in
alpine/postgresql14(Alpine:v3.18) < 12.2-r0 12.2-r0
alpine/postgresql14(Alpine:v3.19) < 12.2-r0 12.2-r0
alpine/postgresql14(Alpine:v3.20) < 12.2-r0 12.2-r0
alpine/postgresql15(Alpine:v3.17) < 12.2-r0 12.2-r0
alpine/postgresql15(Alpine:v3.18) < 12.2-r0 12.2-r0
alpine/postgresql15(Alpine:v3.19) < 12.2-r0 12.2-r0
alpine/postgresql15(Alpine:v3.20) < 12.2-r0 12.2-r0
ubuntu/postgresql-10(Ubuntu:18.04) < 10.12-0ubuntu0.18.04.1 10.12-0ubuntu0.18.04.1
ubuntu/postgresql-10(Ubuntu:18.04) = 10.1-1 No fix listed
ubuntu/postgresql-10(Ubuntu:18.04) = 10.1-2 No fix listed
ubuntu/postgresql-10(Ubuntu:18.04) = 10.2-1 No fix listed
ubuntu/postgresql-10(Ubuntu:18.04) = 10.3-1 No fix listed
ubuntu/postgresql-10(Ubuntu:18.04) = 10.4-0ubuntu0.18.04 No fix listed
ubuntu/postgresql-10(Ubuntu:18.04) = 10.5-0ubuntu0.18.04 No fix listed
ubuntu/postgresql-10(Ubuntu:18.04) = 10.6-0ubuntu0.18.04.1 No fix listed
ubuntu/postgresql-10(Ubuntu:18.04) = 10.7-0ubuntu0.18.04.1 No fix listed
ubuntu/postgresql-10(Ubuntu:18.04) = 10.8-0ubuntu0.18.04.1 No fix listed
ubuntu/postgresql-10(Ubuntu:18.04) = 10.9-0ubuntu0.18.04.1 No fix listed
ubuntu/postgresql-10(Ubuntu:18.04) = 10.10-0ubuntu0.18.04.1 No fix listed

References