Skip to content

Commit 9269141

Browse files
authored
Merge pull request #22667 from github/codeql-spark-run-35869665330
Update changelog documentation site for codeql-cli-2.27.1
2 parents df51ea4 + 33522a3 commit 9269141

2 files changed

Lines changed: 106 additions & 0 deletions

File tree

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
.. _codeql-cli-2.27.1:
2+
3+
==========================
4+
CodeQL 2.27.1 (2026-09-22)
5+
==========================
6+
7+
.. contents:: Contents
8+
:depth: 2
9+
:local:
10+
:backlinks: none
11+
12+
This is an overview of changes in the CodeQL CLI and relevant CodeQL query and library packs. For additional updates on changes to the CodeQL code scanning experience, check out the `code scanning section on the GitHub blog <https://github.blog/tag/code-scanning/>`__, `relevant GitHub Changelog updates <https://github.blog/changelog/label/application-security/>`__, `changes in the CodeQL extension for Visual Studio Code <https://marketplace.visualstudio.com/items/GitHub.vscode-codeql/changelog>`__, and the `CodeQL Action changelog <https://github.com/github/codeql-action/blob/main/CHANGELOG.md>`__.
13+
14+
Security Coverage
15+
-----------------
16+
17+
CodeQL 2.27.1 runs a total of 498 security queries when configured with the Default suite (covering 170 CWE). The Extended suite enables an additional 131 queries (covering 32 more CWE).
18+
19+
CodeQL CLI
20+
----------
21+
22+
Miscellaneous
23+
~~~~~~~~~~~~~
24+
25+
* The build of Eclipse Temurin OpenJDK that is used to run the CodeQL CLI has been updated to version 25.0.4.1.
26+
27+
New Java releases may not be completely backwards compatible. For example,
28+
Java 25 has a known issue that affects symlink resolution on mapped drives on Windows (JDK-8355342). Users impacted by such regressions can run CodeQL with an alternative JDK using the CODEQL_JAVA_HOME environment variable.
29+
30+
Query Packs
31+
-----------
32+
33+
Minor Analysis Improvements
34+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
35+
36+
C#
37+
""
38+
39+
* The :code:`cs/linq/missed-*` queries no longer suggest rewrites that would capture :code:`in`, :code:`out`, or :code:`ref` parameters in a lambda, fixing false-positive results for transformations that would not compile.
40+
* The :code:`cs/web/missing-token-validation` query now recognizes an ASP.NET Core :code:`AutoValidateAntiforgeryTokenAttribute` registered as a global MVC filter through :code:`AddControllersWithViews` (and friends), avoiding false-positive results for covered actions.
41+
42+
GitHub Actions
43+
""""""""""""""
44+
45+
* The :code:`actions/unpinned-tag` query no longer reports action references pinned by a structurally valid :code:`.github/workflows/actions.lock` entry for the enclosing workflow.
46+
* The :code:`actions/unpinned-tag` query no longer reports :code:`$/` self repository references (e.g. :code:`uses: $/path/to/action`), which resolve to the same repository at the running commit and are therefore inherently pinned, just like :code:`./` self workspace (local) references.
47+
48+
New Queries
49+
~~~~~~~~~~~
50+
51+
C/C++
52+
"""""
53+
54+
* Added a new query, :code:`cpp/ambiguous-assignment-of-comparison`, to detect potentially ambiguous expressions where a comparison result is assigned to a variable and the assignment is used as a truth value.
55+
56+
C#
57+
""
58+
59+
* Added a new query, :code:`cs/linq/missed-firstordefault`, that detects :code:`foreach` loops that can be expressed more clearly using LINQ's :code:`FirstOrDefault` method.
60+
61+
Language Libraries
62+
------------------
63+
64+
Minor Analysis Improvements
65+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
66+
67+
C/C++
68+
"""""
69+
70+
* Added taint flow models for the :code:`boost::asio::ip::basic_resolver::resolve` function.
71+
* Added flow summaries for the BDE :code:`BloombergLP::bdlbb::Blob` segmented byte buffer.
72+
* Added flow summaries for the Protocol Buffers :code:`google::protobuf::MessageLite` C++ API.
73+
74+
C#
75+
""
76+
77+
* Private NuGet registries for which the "Replaces base" option is enabled in the organization-level private registry configuration now replace default NuGet feeds whenever dependencies are downloaded, including when default NuGet feeds are configured explicitly for a project.
78+
79+
Golang
80+
""""""
81+
82+
* Added or improved data flow models for the following Go standard-library APIs introduced or updated in Go 1.27:
83+
84+
* :code:`bytes.CutLast`, :code:`database/sql.ConvertAssign`, :code:`database/sql/driver.RowsColumnScanner.ScanColumn`, :code:`net/url.URL.Clone`, :code:`net/url.Values.Clone` and :code:`strings.CutLast`.
85+
* The new :code:`encoding/json/jsontext` package.
86+
87+
* Added more data flow models for the :code:`strings` package: :code:`strings.Clone`, :code:`Cut`, :code:`CutPrefix`, :code:`CutSuffix`, :code:`Fields`, :code:`FieldsFunc`, and :code:`Join`\ ; :code:`strings.Builder.String`, :code:`Builder.WriteByte`, and :code:`Builder.WriteRune`\ ; :code:`strings.Reader.ReadByte` and :code:`Reader.ReadRune`\ ; and :code:`strings.Replacer.Replace` and :code:`Replacer.WriteString`.
88+
89+
Java/Kotlin
90+
"""""""""""
91+
92+
* Support for Kotlin 2.4.20 has been added.
93+
* Fixed an issue where :code:`Foo::class.java` arguments were dropped during extraction under the Kotlin K2 compiler, which could cause false positives in queries such as :code:`java/android/implicit-pendingintents`.
94+
95+
JavaScript/TypeScript
96+
"""""""""""""""""""""
97+
98+
* Fastify servers reached through a chainable configuration method, such as :code:`fastify().withTypeProvider<T>()` or :code:`fastify().setValidatorCompiler(...)`, are now recognized as the same server instance. Routes registered on such an instance are now attributed to their server, which may add results for queries such as :code:`js/missing-rate-limiting` where routes were previously not recognized at all, and remove false positives where a globally registered plugin guards them.
99+
100+
Rust
101+
""""
102+
103+
* Fix path resolution for :code:`m::{self}` paths where :code:`m` is a trait.
104+
* Added data-flow models for :code:`core::fmt::Write`. This may improve detection of vulnerabilities where tainted data is written to a formatted output buffer.
105+
* The Rust extractor has been upgraded to use :code:`rust-analyzer` version 0.0.347. As a result, the AST exposed by the Rust libraries has changed: new :code:`DerefPat`, :code:`ImplRestriction`, :code:`IncludeBytesExpr`, :code:`MutRestriction`, :code:`NotNull`, :code:`PatternTypeRepr`, and :code:`VisibilityInner` classes have been added; the :code:`FormatArgsArgName` class has been removed in favour of :code:`FormatArgsArg.getName()`, which now returns a :code:`Name`\ ; :code:`Visibility.getPath()` has been moved onto the new :code:`VisibilityInner` class, reachable via :code:`Visibility.getVisibilityInner()`\ ; and :code:`attrs` have been added to the inline assembly nodes, :code:`getMutRestriction()` to :code:`StructField` and :code:`TupleField`, and :code:`getImplRestriction()` to :code:`Trait`.

docs/codeql/codeql-overview/codeql-changelog/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ A list of queries for each suite and language `is available here <https://docs.g
1111
.. toctree::
1212
:maxdepth: 1
1313

14+
codeql-cli-2.27.1
1415
codeql-cli-2.27.0
1516
codeql-cli-2.26.4
1617
codeql-cli-2.26.3

0 commit comments

Comments
 (0)