Java: QL Query Detector for JHipster Generated CVE-2019-16303

This commit is contained in:
Jonathan Leitschuh
2020-09-21 17:41:51 -04:00
parent 768e5190a1
commit ab618dcf2f
12 changed files with 968 additions and 0 deletions

View 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")
}
}