File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
ruby/ql/src/experimental/CWE-502 Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ import codeql.ruby.DataFlow
1818import codeql.ruby.dataflow.RemoteFlowSources
1919import codeql.ruby.TaintTracking
2020import DataFlow:: PathGraph
21+ import codeql.ruby.security.UnsafeDeserializationCustomizations
2122
2223abstract class YAMLSink extends DataFlow:: Node { }
2324
@@ -45,8 +46,8 @@ class Configuration extends TaintTracking::Configuration {
4546
4647 override predicate isSource ( DataFlow:: Node source ) {
4748 // for detecting The CVE we should uncomment following line instead of current RemoteFlowSource
48- source instanceof DataFlow:: LocalSourceNode
49- // source instanceof RemoteFlowSource
49+ // source instanceof DataFlow::LocalSourceNode
50+ source instanceof UnsafeDeserialization :: Source
5051 }
5152
5253 override predicate isSink ( DataFlow:: Node sink ) {
You can’t perform that action at this time.
0 commit comments