mirror of
https://github.com/github/codeql.git
synced 2026-03-03 14:29:49 +01:00
Java: update set-hostname-verifier sink kind to hostname-verification
This commit is contained in:
@@ -277,7 +277,7 @@ module ModelValidation {
|
||||
"open-url", "jndi-injection", "ldap-injection", "sql-injection", "jdbc-url",
|
||||
"log-injection", "mvel-injection", "xpath-injection", "groovy-injection", "xss",
|
||||
"ognl-injection", "intent-redirection", "pending-intents", "url-redirection",
|
||||
"create-file", "read-file", "write-file", "set-hostname-verifier", "header-splitting",
|
||||
"create-file", "read-file", "write-file", "hostname-verification", "header-splitting",
|
||||
"information-leak", "xslt-injection", "jexl-injection", "bean-validation",
|
||||
"template-injection", "fragment-injection", "command-injection"
|
||||
] and
|
||||
|
||||
@@ -74,7 +74,7 @@ module TrustAllHostnameVerifierFlow = DataFlow::Global<TrustAllHostnameVerifierC
|
||||
* A sink that sets the `HostnameVerifier` on `HttpsURLConnection`.
|
||||
*/
|
||||
private class HostnameVerifierSink extends DataFlow::Node {
|
||||
HostnameVerifierSink() { sinkNode(this, "set-hostname-verifier") }
|
||||
HostnameVerifierSink() { sinkNode(this, "hostname-verification") }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user