Release preparation for version 2.11.1

This commit is contained in:
github-actions[bot]
2022-10-07 02:20:28 +00:00
parent 10eb548156
commit a02dcdc5e1
88 changed files with 257 additions and 127 deletions

View File

@@ -1,3 +1,26 @@
## 0.4.1
### Minor Analysis Improvements
* The following classes have been moved from `codeql.ruby.frameworks.ActionController` to `codeql.ruby.frameworks.Rails`:
* `ParamsCall`, now accessed as `Rails::ParamsCall`.
* `CookieCall`, now accessed as `Rails::CookieCall`.
* The following classes have been moved from `codeql.ruby.frameworks.ActionView` to `codeql.ruby.frameworks.Rails`:
* `HtmlSafeCall`, now accessed as `Rails::HtmlSafeCall`.
* `HtmlEscapeCall`, now accessed as `Rails::HtmlEscapeCall`.
* `RenderCall`, now accessed as `Rails::RenderCall`.
* `RenderToCall`, now accessed as `Rails::RenderToCall`.
* Subclasses of `ActionController::Metal` are now recognised as controllers.
* `ActionController::DataStreaming::send_file` is now recognized as a
`FileSystemAccess`.
* Various XSS sinks in the ActionView library are now recognized.
* Calls to `ActiveRecord::Base.create` are now recognized as model
instantiations.
* Various code executions, command executions and HTTP requests in the
ActiveStorage library are now recognized.
* `MethodBase` now has two new predicates related to visibility: `isPublic` and
`isProtected`. These hold, respectively, if the method is public or protected.
## 0.4.0
### Breaking Changes

View File

@@ -1,5 +0,0 @@
---
category: minorAnalysis
---
* `MethodBase` now has two new predicates related to visibility: `isPublic` and
`isProtected`. These hold, respectively, if the method is public or protected.

View File

@@ -1,6 +0,0 @@
---
category: minorAnalysis
---
* Various code executions, command executions and HTTP requests in the
ActiveStorage library are now recognized.

View File

@@ -1,4 +0,0 @@
---
category: minorAnalysis
---
* Various XSS sinks in the ActionView library are now recognized.

View File

@@ -1,5 +0,0 @@
---
category: minorAnalysis
---
* Calls to `ActiveRecord::Base.create` are now recognized as model
instantiations.

View File

@@ -1,4 +0,0 @@
---
category: minorAnalysis
---
* Subclasses of `ActionController::Metal` are now recognised as controllers.

View File

@@ -1,6 +0,0 @@
---
category: minorAnalysis
---
* `ActionController::DataStreaming::send_file` is now recognized as a
`FileSystemAccess`.

View File

@@ -1,11 +0,0 @@
---
category: minorAnalysis
---
* The following classes have been moved from `codeql.ruby.frameworks.ActionController` to `codeql.ruby.frameworks.Rails`:
* `ParamsCall`, now accessed as `Rails::ParamsCall`.
* `CookieCall`, now accessed as `Rails::CookieCall`.
* The following classes have been moved from `codeql.ruby.frameworks.ActionView` to `codeql.ruby.frameworks.Rails`:
* `HtmlSafeCall`, now accessed as `Rails::HtmlSafeCall`.
* `HtmlEscapeCall`, now accessed as `Rails::HtmlEscapeCall`.
* `RenderCall`, now accessed as `Rails::RenderCall`.
* `RenderToCall`, now accessed as `Rails::RenderToCall`.

View File

@@ -0,0 +1,22 @@
## 0.4.1
### Minor Analysis Improvements
* The following classes have been moved from `codeql.ruby.frameworks.ActionController` to `codeql.ruby.frameworks.Rails`:
* `ParamsCall`, now accessed as `Rails::ParamsCall`.
* `CookieCall`, now accessed as `Rails::CookieCall`.
* The following classes have been moved from `codeql.ruby.frameworks.ActionView` to `codeql.ruby.frameworks.Rails`:
* `HtmlSafeCall`, now accessed as `Rails::HtmlSafeCall`.
* `HtmlEscapeCall`, now accessed as `Rails::HtmlEscapeCall`.
* `RenderCall`, now accessed as `Rails::RenderCall`.
* `RenderToCall`, now accessed as `Rails::RenderToCall`.
* Subclasses of `ActionController::Metal` are now recognised as controllers.
* `ActionController::DataStreaming::send_file` is now recognized as a
`FileSystemAccess`.
* Various XSS sinks in the ActionView library are now recognized.
* Calls to `ActiveRecord::Base.create` are now recognized as model
instantiations.
* Various code executions, command executions and HTTP requests in the
ActiveStorage library are now recognized.
* `MethodBase` now has two new predicates related to visibility: `isPublic` and
`isProtected`. These hold, respectively, if the method is public or protected.

View File

@@ -1,2 +1,2 @@
---
lastReleaseVersion: 0.4.0
lastReleaseVersion: 0.4.1

View File

@@ -1,5 +1,5 @@
name: codeql/ruby-all
version: 0.4.1-dev
version: 0.4.1
groups: ruby
extractor: ruby
dbscheme: ruby.dbscheme

View File

@@ -1,3 +1,11 @@
## 0.4.1
### Minor Analysis Improvements
* The `rb/xxe` query has been updated to add the following sinks for XML external entity expansion:
1. Calls to parse XML using `LibXML` when its `default_substitute_entities` option is enabled.
2. Uses of the Rails methods `ActiveSupport::XmlMini.parse`, `Hash.from_xml`, and `Hash.from_trusted_xml` when `ActiveSupport::XmlMini` is configured to use `LibXML` as its backend, and its `default_substitute_entities` option is enabled.
## 0.4.0
### New Queries

View File

@@ -1,6 +1,7 @@
---
category: minorAnalysis
---
## 0.4.1
### Minor Analysis Improvements
* The `rb/xxe` query has been updated to add the following sinks for XML external entity expansion:
1. Calls to parse XML using `LibXML` when its `default_substitute_entities` option is enabled.
2. Uses of the Rails methods `ActiveSupport::XmlMini.parse`, `Hash.from_xml`, and `Hash.from_trusted_xml` when `ActiveSupport::XmlMini` is configured to use `LibXML` as its backend, and its `default_substitute_entities` option is enabled.
2. Uses of the Rails methods `ActiveSupport::XmlMini.parse`, `Hash.from_xml`, and `Hash.from_trusted_xml` when `ActiveSupport::XmlMini` is configured to use `LibXML` as its backend, and its `default_substitute_entities` option is enabled.

View File

@@ -1,2 +1,2 @@
---
lastReleaseVersion: 0.4.0
lastReleaseVersion: 0.4.1

View File

@@ -1,5 +1,5 @@
name: codeql/ruby-queries
version: 0.4.1-dev
version: 0.4.1
groups:
- ruby
- queries