CVE-2020-25695: A flaw was found in PostgreSQL versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24.
High CVSS 8.8
- CVE id
- CVE-2020-25695
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| PostgreSQL Runtimes and servers |
< 9.5.24 >= 9.6.0, < 9.6.20 >= 10.0, < 10.15 >= 11.0, < 11.10 >= 12.0, < 12.5 >= 13.0, < 13.1 |
9.5.24, 9.6.20, 10.15, 11.10, 12.5, 13.1 |
How to fix it
Upgrade PostgreSQL to the fixed release of the line you run: 9.5.24, 9.6.20, 10.15, 11.10, 12.5, 13.1.
psql -c 'SELECT version();'
- Install the patched PostgreSQL minor release of your major version (the postgres image tag, the PGDG packages, or your provider's maintenance update) and restart the server; minor releases need no dump or pg_upgrade.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
A flaw was found in PostgreSQL versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24. An attacker having permission to create non-temporary objects in at least one schema can execute arbitrary SQL functions under the identity of a superuser. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
References
- CVE-2020-25695 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2020-25695
- Web: https://bugzilla.redhat.com/show_bug.cgi?id=1894425
- Web: https://lists.debian.org/debian-lts-announce/2020/12/msg00005.html
- Web: https://security.gentoo.org/glsa/202012-07
- Web: https://security.netapp.com/advisory/ntap-20201202-0003/
- Web: https://www.postgresql.org/support/security/
- Web: https://bugzilla.redhat.com/show_bug.cgi?id=1894425
- Web: https://lists.debian.org/debian-lts-announce/2020/12/msg00005.html
- Web: https://security.gentoo.org/glsa/202012-07
- Web: https://security.netapp.com/advisory/ntap-20201202-0003/
- Web: https://www.postgresql.org/support/security/
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.