forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc2e5f4d
committed
Make wal_compression PGC_SUSET rather than PGC_USERSET.
When enabling wal_compression, there is a risk to leak data similarly tothe BREACH and CRIME attacks on SSL where the compression ratio ofa full page image gives a hint of what is the existing data of this page.This vulnerability is quite cumbersome to exploit in practice, but doable.So this patch makes wal_compression PGC_SUSET in order to preventnon-superusers from enabling it and exploiting the vulnerability whileDBA thinks the risk very seriously and disables it in postgresql.conf.Back-patch to 9.5 where wal_compression was introduced.1 parent23b8928 commitc2e5f4d
2 files changed
+2
-1
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2303 | 2303 |
| |
2304 | 2304 |
| |
2305 | 2305 |
| |
| 2306 | + | |
2306 | 2307 |
| |
2307 | 2308 |
| |
2308 | 2309 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
995 | 995 |
| |
996 | 996 |
| |
997 | 997 |
| |
998 |
| - | |
| 998 | + | |
999 | 999 |
| |
1000 | 1000 |
| |
1001 | 1001 |
| |
|
0 commit comments
Comments
(0)