mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
1.3 KiB
1.3 KiB
0.5.0
Major Analysis Improvements
- Flow through
initializeconstructors is now taken into account. For example, inthere will be flow fromclass C def initialize(x) @field = x end end C.new(y)yto the field@fieldon the constructedCobject.
Minor Analysis Improvements
- Calls to
Kernel.load,Kernel.require,Kernel.autoloadare now modeled as sinks for path injection. - Calls to
mailandinbound_mailinActionMailboxcontrollers are now considered sources of remote input. - Calls to
GlobalID::Locator.locateand its variants are now recognized as instances ofOrmInstantiation. - Data flow through the
ActiveSupportextensionsEnumerable#index_with,Enumerable#pick,Enumerable#pluckandEnumerable#soleare now modeled. - When resolving a method call, the analysis now also searches in sub-classes of the receiver's type.
- Taint flow is now tracked through many common JSON parsing and generation methods.
- The ReDoS libraries in
codeql.ruby.security.regexphas been moved to a shared pack inside theshared/folder, and the previous location has been deprecated. - String literals and arrays of string literals in case expression patterns are now recognised as barrier guards.