forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6ef3254
committed
Document risks of "make check" in the regression testing instructions.
Since the temporary server started by "make check" uses "trust"authentication, another user on the same machine could connect to itas database superuser, and then potentially exploit the privileges ofthe operating-system user who started the tests. We should changethe testing procedures to prevent this risk; but discussion is requiredabout the best way to do that, as well as more testing than is practicalfor an undisclosed security problem. Besides, the same issue probablyaffects some user-written test harnesses. So for the moment, we'll justwarn people against using "make check" when there are untrusted users onthe same machine.In passing, remove some ancient advice that suggested making theregression testing subtree world-writable if you'd built as root.That looks dangerously insecure in modern contexts, and anyway weshould not be encouraging people to build Postgres as root.Security:CVE-2014-00671 parent0182438 commit6ef3254
1 file changed
+22
-16
lines changedLines changed: 22 additions & 16 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
| 59 | + | |
59 | 60 |
| |
60 |
| - | |
61 |
| - | |
62 |
| - | |
63 |
| - | |
64 |
| - | |
65 |
| - | |
66 |
| - | |
67 |
| - | |
68 |
| - | |
69 |
| - | |
70 |
| - | |
71 |
| - | |
72 |
| - | |
73 |
| - | |
74 |
| - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
75 | 76 |
| |
| 77 | + | |
| 78 | + | |
76 | 79 |
| |
77 |
| - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
78 | 84 |
| |
79 | 85 |
| |
80 | 86 |
| |
|
0 commit comments
Comments
(0)