CVE-2020-25695

Name
CVE-2020-25695
Description
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.
NVD Severity
high
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
Vendor Advisory https://www.postgresql.org/support/security/
Issue Tracking https://bugzilla.redhat.com/show_bug.cgi?id=1894425
CONFIRM https://security.netapp.com/advisory/ntap-20201202-0003/
MLIST https://lists.debian.org/debian-lts-announce/2020/12/msg00005.html
GENTOO https://security.gentoo.org/glsa/202012-07

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* postgresql >= None < 9.5.24
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* postgresql >= 9.6.0 < 9.6.20
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* postgresql >= 10.0 < 10.15
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* postgresql >= 11.0 < 11.10
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* postgresql >= 12.0 < 12.5
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* postgresql >= 13.0 < 13.1

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
postgresql15 edge-main 12.5-r0 None fixed
postgresql15 edge-community 12.5-r0 None fixed
postgresql15 3.20-main 12.5-r0 None fixed
postgresql15 3.19-main 12.5-r0 None fixed
postgresql15 3.18-main 12.5-r0 None fixed
postgresql15 3.17-main 12.5-r0 None fixed
postgresql14 edge-main 12.5-r0 None fixed
postgresql14 edge-community 12.5-r0 None fixed
postgresql14 3.20-community 12.5-r0 None fixed
postgresql14 3.19-community 12.5-r0 None fixed
postgresql14 3.18-main 12.5-r0 None fixed
postgresql14 3.17-main 12.5-r0 None fixed
postgresql12 edge-community 12.5-r0 None fixed
postgresql12 3.18-community 12.5-r0 None fixed
postgresql12 3.17-community 12.5-r0 None fixed
postgresql edge-main 12.5-r0 None fixed
postgresql edge-main 12.4-r0 None possibly vulnerable
postgresql edge-main 12.2-r0 None possibly vulnerable
postgresql edge-main 11.5-r0 None possibly vulnerable
postgresql edge-main 11.4-r0 None possibly vulnerable
postgresql edge-main 11.3-r0 None possibly vulnerable
postgresql edge-main 11.1-r0 None possibly vulnerable
postgresql edge-main 10.5-r0 None possibly vulnerable
postgresql edge-main 10.4-r0 None possibly vulnerable
postgresql edge-main 10.3-r0 None possibly vulnerable
postgresql edge-main 10.2-r0 None possibly vulnerable
postgresql edge-main 10.1-r0 None possibly vulnerable
postgresql edge-main 9.6.4-r0 None possibly vulnerable
postgresql edge-main 9.6.3-r0 None possibly vulnerable
postgresql 3.12-main 12.5-r0 None fixed
postgresql 3.11-main 12.5-r0 None fixed
postgresql 3.10-main 11.10-r0 None fixed