mirror of
https://github.com/github/codeql.git
synced 2026-03-04 14:46:48 +01:00
Java: update ldap sink kind to ldap-injection
This commit is contained in:
@@ -274,12 +274,12 @@ module ModelValidation {
|
||||
exists(string kind | sinkModel(_, _, _, _, _, _, _, kind, _) |
|
||||
not kind =
|
||||
[
|
||||
"open-url", "jndi-injection", "ldap", "sql-injection", "jdbc-url", "log-injection",
|
||||
"mvel-injection", "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-injection", "jexl-injection", "bean-validation", "template-injection",
|
||||
"fragment-injection", "command-injection"
|
||||
"open-url", "jndi-injection", "ldap-injection", "sql-injection", "jdbc-url",
|
||||
"log-injection", "mvel-injection", "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-injection", "jexl-injection", "bean-validation",
|
||||
"template-injection", "fragment-injection", "command-injection"
|
||||
] and
|
||||
not kind.matches("regex-use%") and
|
||||
not kind.matches("qltest%") and
|
||||
|
||||
@@ -29,7 +29,7 @@ class LdapInjectionAdditionalTaintStep extends Unit {
|
||||
|
||||
/** Default sink for LDAP injection vulnerabilities. */
|
||||
private class DefaultLdapInjectionSink extends LdapInjectionSink {
|
||||
DefaultLdapInjectionSink() { sinkNode(this, "ldap") }
|
||||
DefaultLdapInjectionSink() { sinkNode(this, "ldap-injection") }
|
||||
}
|
||||
|
||||
/** A sanitizer that clears the taint on (boxed) primitive types. */
|
||||
|
||||
Reference in New Issue
Block a user