mirror of
https://github.com/github/codeql.git
synced 2026-02-28 21:03:50 +01:00
Java: QL Query Detector for JHipster Generated CVE-2019-16303
This commit is contained in:
9
java/ql/src/semmle/code/java/frameworks/apache/Lang.qll
Normal file
9
java/ql/src/semmle/code/java/frameworks/apache/Lang.qll
Normal file
@@ -0,0 +1,9 @@
|
||||
/* Definitions related to the Apache Commons Exec library. */
|
||||
import semmle.code.java.Type
|
||||
|
||||
class TypeApacheRandomStringUtils extends Class {
|
||||
TypeApacheRandomStringUtils() {
|
||||
hasQualifiedName("org.apache.commons.lang", "RandomStringUtils") or
|
||||
hasQualifiedName("org.apache.commons.lang3", "RandomStringUtils")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user