mirror of
https://github.com/github/codeql.git
synced 2026-05-02 20:25:13 +02:00
Java: update jexl sink kind to jexl-injection
This commit is contained in:
@@ -277,7 +277,7 @@ module ModelValidation {
|
||||
"open-url", "jndi-injection", "ldap", "sql-injection", "jdbc-url", "log-injection",
|
||||
"mvel", "xpath-injection", "groovy-injection", "xss", "ognl-injection", "intent-start",
|
||||
"pending-intent-sent", "url-redirection", "create-file", "read-file", "write-file",
|
||||
"set-hostname-verifier", "header-splitting", "information-leak", "xslt", "jexl",
|
||||
"set-hostname-verifier", "header-splitting", "information-leak", "xslt", "jexl-injection",
|
||||
"bean-validation", "template-injection", "fragment-injection", "command-injection"
|
||||
] and
|
||||
not kind.matches("regex-use%") and
|
||||
|
||||
@@ -13,7 +13,7 @@ abstract class JexlEvaluationSink extends DataFlow::ExprNode { }
|
||||
|
||||
/** Default sink for JXEL injection vulnerabilities. */
|
||||
private class DefaultJexlEvaluationSink extends JexlEvaluationSink {
|
||||
DefaultJexlEvaluationSink() { sinkNode(this, "jexl") }
|
||||
DefaultJexlEvaluationSink() { sinkNode(this, "jexl-injection") }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user