Skip to content

Commit daa1d8f

Browse files
committed
Java: Update query and library files.
1 parent 43d4bac commit daa1d8f

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

java/lib/semmle/code/java/security/DecompressionBombQuery.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import experimental.semmle.code.java.security.FileAndFormRemoteSource
2-
import experimental.semmle.code.java.security.DecompressionBomb::DecompressionBomb
1+
import semmle.code.java.security.FileAndFormRemoteSource
2+
import semmle.code.java.security.DecompressionBomb::DecompressionBomb
33

44
module DecompressionBombsConfig implements DataFlow::ConfigSig {
55
predicate isSource(DataFlow::Node source) { source instanceof RemoteFlowSource }

java/src/security/CWE-489/devMode.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313

1414
import java
15-
import experimental.semmle.code.xml.StrutsXML
15+
import semmle.code.xml.StrutsXML
1616

1717
bindingset[path]
1818
predicate isLikelyDemoProject(string path) { path.regexpMatch("(?i).*(demo|test|example).*") }

java/src/security/CWE-522-DecompressionBombs/DecompressionBomb.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313

1414
import java
15-
import experimental.semmle.code.java.security.DecompressionBombQuery
15+
import semmle.code.java.security.DecompressionBombQuery
1616
import DecompressionBombsFlow::PathGraph
1717

1818
from DecompressionBombsFlow::PathNode source, DecompressionBombsFlow::PathNode sink

java/src/security/CWE-555/CredentialsInPropertiesFile.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*/
2222

2323
import java
24-
import experimental.semmle.code.java.frameworks.CredentialsInPropertiesFile
24+
import semmle.code.java.frameworks.CredentialsInPropertiesFile
2525

2626
/**
2727
* Holds if the credentials are in a non-production properties file indicated by:

java/src/security/CWE-601/SpringUrlRedirect.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313

1414
import java
15-
import experimental.semmle.code.java.security.SpringUrlRedirect
15+
import semmle.code.java.security.SpringUrlRedirect
1616
import semmle.code.java.dataflow.FlowSources
1717
import semmle.code.java.controlflow.Guards
1818
import SpringUrlRedirectFlow::PathGraph

0 commit comments

Comments
 (0)