You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Framework adaptor only connects first tainted arg to following nodes #73
# 1 and not 0 so that Entry Node remains first in the list
func_cfg.nodes.insert(1, tainted_node)
first_arg=func_cfg.nodes[len(args)]
first_arg.connect(first_node_after_args)
For a framework function where multiple args are user-controlled, this could miss issues related to second or subsequent args. For example, in Django, URL path elements may be passed to a View as args.
Thanks, I have the change locally here. Would it be OK to include this in a PR with a few other changes related to Django support, or better to handle it separately?
Activity
KevinHock commentedon Dec 12, 2017
Thanks for making this 👍 I'll fix it in my next PR.
davidoc commentedon Dec 12, 2017
Thanks, I have the change locally here. Would it be OK to include this in a PR with a few other changes related to Django support, or better to handle it separately?
KevinHock commentedon Dec 12, 2017
Sure thing, you can put it all in one PR, I'll review it sometime during Dec 23rd-29th. Thanks :D
Connect all arg tainted nodes to following nodes. Fixes python-securi…