Commit 4f53f78
committed
external connection: fix sql injection vuln in ALTER EXTERNAL CONNECTION
Previously, the sql command which ran directly on system.external_connections
passed the external connection name via string parsing, which makes the query
vulnerable to sql injection. This patch fixes this vulnerability by passing the
name as a parameter.
Epic: none
Release note: none1 parent 191e4a1 commit 4f53f78
1 file changed
+11
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
358 | | - | |
| 358 | + | |
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
363 | 367 | | |
364 | | - | |
365 | | - | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
366 | 372 | | |
367 | 373 | | |
368 | 374 | | |
369 | 375 | | |
370 | | - | |
371 | | - | |
| 376 | + | |
| 377 | + | |
372 | 378 | | |
373 | 379 | | |
374 | 380 | | |
| |||
0 commit comments