Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9163cbe

Browse files
committed
Restrict the reach for an additional taint step
1 parent 25a7fcf commit 9163cbe

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

python/ql/src/experimental/Security/CWE-022bis/TarSlipImprov.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ class Configuration extends TaintTracking::Configuration {
9797
exists(AttrRead attr, MethodCallNode call |
9898
attr.accesses(nodeFrom, "getmembers") and
9999
nodeFrom = call.getObject() and
100+
nodeFrom instanceof AllTarfileOpens and
100101
nodeTo = call
101102
)
102103
or

0 commit comments

Comments
 (0)