Commit 689e00a
committed
Refine the start and end of the second and third steps
1. The second step should jump from a argument
of a CQN object *only if the argument originates
from a string concatentation*.
Note that this new version identifies the end point
using a successive application of `getAPredecessor`;
it overapproximates and might accidentally include
code that's not necessarily what we want.
2. The third is a specialization of the second step,
and concerns itself only to the property writes to
the object to be passed as an argument to the CQN
query builder for INSERT and UPSERT.1 parent 378436a commit 689e00a
File tree
1 file changed
+3
-3
lines changed- javascript/frameworks/cap/lib/advanced_security/javascript/frameworks/cap
1 file changed
+3
-3
lines changedjavascript/frameworks/cap/lib/advanced_security/javascript/frameworks/cap/CAPCqlInjectionQuery.qll
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
213 | | - | |
| 212 | + | |
| 213 | + | |
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
0 commit comments