CVE-2020-14350
When a superuser runs certain CREATE EXTENSION statements, users may be able to execute arbitrary SQL functions under the identity of that superuser. The attacker must have permission to create objects in the new extension's schema or a schema of a prerequisite extension. Not all extensions are vulnerable.
In addition to correcting the extensions provided with PostgreSQL, the PostgreSQL Global Development Group is issuing guidance for third-party extension authors to secure their own work.
The PostgreSQL project thanks Andres Freund for reporting this problem.
Version Information
| Affected branch | Introduced | Fixed In | Fix Published |
|---|
| 10 | — | 10.14 | 2020-08-13 |
| 11 | — | 11.9 | 2020-08-13 |
| 12 | — | 12.4 | 2020-08-13 |
| 9.5 | — | 9.5.23 | 2020-08-13 |
| 9.6 | — | 9.6.19 | 2020-08-13 |
CVSS 3.0
| Overall Score | 7.1 |
|---|
| Component | core server |
|---|
| Vector | AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H |
|---|
First published: 2020-08-13
Original security advisory · JSON · All advisories