mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
4.1 KiB
4.1 KiB
0.6.0
Deprecated APIs
- The
execTaintedpredicate inCommandLineQuery.qllhas been deprecated and replaced with the predicateexecIsTainted. - The recently introduced new data flow and taint tracking APIs have had a number of module and predicate renamings. The old APIs remain in place for now.
- The
WebViewDubuggingQuerylibrary has been renamed toWebViewDebuggingQueryto fix the typo in the file name.WebViewDubuggingQueryis now deprecated.
New Features
- Predicates
Compilation.getExpandedArgumentandCompilation.getAnExpandedArgumenthas been added.
Minor Analysis Improvements
- Fixed a bug in the regular expression used to identify sensitive information in
SensitiveActions::getCommonSensitiveInfoRegex. This may affect the results of the queriesjava/android/sensitive-communication,java/android/sensitive-keyboard-cache, andjava/sensitive-log. - Added a summary model for the
java.lang.UnsupportedOperationException(String)constructor. - The filenames embedded in
Compilation.toString()now use/as the path separator on all platforms. - Added models for the following packages:
java.langjava.netjava.nio.filejava.iojava.lang.moduleorg.apache.commons.httpclient.utilorg.apache.commons.ioorg.apache.http.clientorg.eclipse.jetty.clientcom.google.common.iokotlin.io
- Added the
TaintedPathQuery.qlllibrary to provide theTaintedPathFlowandTaintedPathLocalFlowtaint-tracking modules to reason about tainted path vulnerabilities. - Added the
ZipSlipQuery.qlllibrary to provide theZipSlipFlowtaint-tracking module to reason about zip-slip vulnerabilities. - Added the
InsecureBeanValidationQuery.qlllibrary to provide theBeanValidationFlowtaint-tracking module to reason about bean validation vulnerabilities. - Added the
XssQuery.qlllibrary to provide theXssFlowtaint-tracking module to reason about cross site scripting vulnerabilities. - Added the
LdapInjectionQuery.qlllibrary to provide theLdapInjectionFlowtaint-tracking module to reason about LDAP injection vulnerabilities. - Added the
ResponseSplittingQuery.qlllibrary to provide theResponseSplittingFlowtaint-tracking module to reason about response splitting vulnerabilities. - Added the
ExternallyControlledFormatStringQuery.qlllibrary to provide theExternallyControlledFormatStringFlowtaint-tracking module to reason about externally controlled format string vulnerabilities. - Improved the handling of addition in the range analysis. This can cause in minor changes to the results produced by
java/index-out-of-boundsandjava/constant-comparison. - A new models as data sink kind
command-injectionhas been added. - The queries
java/command-line-injectionandjava/concatenated-command-linenow can be extended using thecommand-injectionmodels as data sink kind. - Added more sink and summary dataflow models for the following packages:
java.netjava.nio.filejavax.imageio.streamjavax.namingjavax.servletorg.geogebra.web.full.mainhudsonhudson.clihudson.lifecyclehudson.modelhudson.scmhudson.utilhudson.util.io
- Added the extensible abstract class
JndiInjectionSanitizer. Now this class can be extended to add more sanitizers to thejava/jndi-injectionquery. - Added a summary model for the
nativeSQLmethod of thejava.sql.Connectioninterface. - Added sink and summary dataflow models for the Jenkins and Netty frameworks.
- The Models as Data syntax for selecting the qualifier has been changed from
-1tothis(e.g.Argument[-1]is now written asArgument[this]). - Added sources and flow step models for the Netty framework up to version 4.1.
- Added more dataflow models for frequently-used JDK APIs.
Bug Fixes
- Fixed some accidental predicate visibility in the backwards-compatible wrapper for data flow configurations. In particular
DataFlow::hasFlowPath,DataFlow::hasFlow,DataFlow::hasFlowTo, andDataFlow::hasFlowToExprwere accidentally exposed in a single version.