- Notifications
You must be signed in to change notification settings - Fork4.9k
Commitaa27464
committed
Prevent execution of enum_recv() from SQL.
This function was misdeclared to take cstring when it should take internal.This at least allows crashing the server, and in principle an attackermight be able to use the function to examine the contents of server memory.The correct fix is to adjust the system catalog contents (and fix theregression tests that should have caught this but failed to). However,asking users to correct the catalog contents in existing installationsis a pain, so as a band-aid fix for the back branches, install a checkin enum_recv() to make it throw error if called with a cstring argument.We will later revert this in HEAD in favor of correcting the catalogs.Our thanks to Sumit Soni (via Secunia SVCRP) for reporting this issue.Security:CVE-2013-02551 parentfea6323 commitaa27464
2 files changed
+18
-0
lines changedLines changed: 13 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
43 | 56 |
| |
44 | 57 |
| |
45 | 58 |
| |
|
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| 17 | + | |
17 | 18 |
| |
18 | 19 |
| |
19 | 20 |
| |
| |||
99 | 100 |
| |
100 | 101 |
| |
101 | 102 |
| |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
102 | 107 |
| |
103 | 108 |
| |
104 | 109 |
| |
|
0 commit comments
Comments
(0)