CVE-2020-1720
PostgreSQL vulnerability analysis and mitigation

Overview

A security vulnerability was discovered in PostgreSQL's "ALTER ... DEPENDS ON EXTENSION" feature, identified as CVE-2020-1720. The flaw was found where sub-commands did not perform proper authorization checks. This vulnerability affects PostgreSQL versions before 12.2, 11.7, 10.12, and 9.6.17, with versions 9.5 and older not being affected as they didn't support this feature (PostgreSQL News, NVD).

Technical details

The vulnerability stems from missing authorization checks in the ALTER ... DEPENDS ON EXTENSION sub-commands. The issue received a CVSS v3.1 Base Score of 6.5 (MEDIUM) according to NVD assessment, while Red Hat assessed it with a Base Score of 3.1 (LOW). The vulnerability is classified under CWE-862 (Missing Authorization) and CWE-285 (Improper Authorization) (NVD).

Impact

When exploited, this vulnerability allows an authenticated attacker to drop objects such as functions, procedures, materialized views, indexes, or triggers under certain conditions, potentially leading to database corruption. The impact primarily affects database integrity without compromising confidentiality or availability (NVD, PostgreSQL News).

Mitigation and workarounds

The vulnerability was patched in PostgreSQL versions 12.2, 11.7, 10.12, and 9.6.17. Users are advised to upgrade to these versions or later. The update does not require a database dump and reload; users can simply shutdown PostgreSQL and update its binaries (PostgreSQL News).

Additional resources


SourceThis report was generated using AI

Related PostgreSQL vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-8715HIGH8.8
  • PostgreSQLPostgreSQL
  • postgresql:15::postgresql-static
NoYesAug 14, 2025
CVE-2025-8714HIGH8.8
  • PostgreSQLPostgreSQL
  • postgresql16-private-libs
NoYesAug 14, 2025
CVE-2025-12818MEDIUM5.9
  • PostgreSQLPostgreSQL
  • postgresql17-debuginfo
NoYesNov 13, 2025
CVE-2025-12817LOW3.1
  • PostgreSQLPostgreSQL
  • postgresql16-docs-debuginfo
NoYesNov 13, 2025
CVE-2025-8713LOW3.1
  • PostgreSQLPostgreSQL
  • postgresql16-upgrade-debuginfo
NoYesAug 14, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management