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.
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Link | Tags |
---|---|
https://www.postgresql.org/support/security/ | vendor advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=1894425 | issue tracking third party advisory |
https://security.netapp.com/advisory/ntap-20201202-0003/ | third party advisory |
https://lists.debian.org/debian-lts-announce/2020/12/msg00005.html | third party advisory mailing list |
https://security.gentoo.org/glsa/202012-07 | third party advisory vendor advisory |