File tree Expand file tree Collapse file tree
java/ql/src/experimental/Security/CWE/CWE-295 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99
1010import java
1111import semmle.code.java.security.Encryption
12- import semmle.code.java.dataflow.TaintTracking
12+ import semmle.code.java.dataflow.DataFlow
1313
1414/*
1515 * This query is version specific to JxBrowser < 6.24. The version is indirectly detected.
@@ -57,8 +57,8 @@ private class JxBrowserSafeLoadHandler extends RefType {
5757 }
5858}
5959
60- private class JxBrowserTaintTracking extends TaintTracking :: Configuration {
61- JxBrowserTaintTracking ( ) { this = "JxBrowserTaintTracking " }
60+ private class JxBrowserFlowConfiguration extends DataFlow :: Configuration {
61+ JxBrowserFlowConfiguration ( ) { this = "JxBrowserFlowConfiguration " }
6262
6363 override predicate isSource ( DataFlow:: Node src ) {
6464 exists ( ClassInstanceExpr newJxBrowser | newJxBrowser .getConstructedType ( ) instanceof JxBrowser |
@@ -74,7 +74,7 @@ private class JxBrowserTaintTracking extends TaintTracking::Configuration {
7474 }
7575}
7676
77- from JxBrowserTaintTracking cfg , DataFlow:: Node src
77+ from JxBrowserFlowConfiguration cfg , DataFlow:: Node src
7878where
7979 cfg .isSource ( src ) and
8080 not cfg .hasFlow ( src , _) and
You can’t perform that action at this time.
0 commit comments