Skip to content

Commit d41a2d4

Browse files
authored
Merge pull request #20927 from github/changedocs/2.23.6
Add changelog entry for CodeQL CLI version 2.23.6
2 parents 87d6a60 + 22ca227 commit d41a2d4

File tree

2 files changed

+145
-0
lines changed

2 files changed

+145
-0
lines changed
Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
.. _codeql-cli-2.23.6:
2+
3+
==========================
4+
CodeQL 2.23.6 (2025-11-24)
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/code-scanning/>`__, `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.23.6 runs a total of 485 security queries when configured with the Default suite (covering 166 CWE). The Extended suite enables an additional 135 queries (covering 35 more CWE). 2 security queries have been added with this release.
18+
19+
CodeQL CLI
20+
----------
21+
22+
Breaking Changes
23+
~~~~~~~~~~~~~~~~
24+
25+
* The LGTM results format for uploading to LGTM has been removed.
26+
27+
Query Packs
28+
-----------
29+
30+
Minor Analysis Improvements
31+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
32+
33+
C#
34+
""
35+
36+
* An improvement to the Guards library for recognizing disjunctions means improved precision for :code:`cs/constant-condition`, :code:`cs/inefficient-containskey`, and :code:`cs/dereferenced-value-may-be-null`. The two former can have additional findings, and the latter will have fewer false positives.
37+
38+
Rust
39+
""""
40+
41+
* Taint flow barriers have been added to the :code:`rust/regex-injection`, :code:`rust/sql-injection` and :code:`rust/log-injection`, reducing the frequency of false positive results for these queries.
42+
43+
New Queries
44+
~~~~~~~~~~~
45+
46+
C#
47+
""
48+
49+
* The :code:`cs/web/cookie-secure-not-set` and :code:`cs/web/cookie-httponly-not-set` queries have been promoted from experimental to the main query pack.
50+
51+
Query Metadata Changes
52+
~~~~~~~~~~~~~~~~~~~~~~
53+
54+
Java/Kotlin
55+
"""""""""""
56+
57+
* Reduced the :code:`security-severity` score of the :code:`java/overly-large-range` query from 5.0 to 4.0 to better reflect its impact.
58+
* Reduced the :code:`security-severity` score of the :code:`java/insecure-cookie` query from 5.0 to 4.0 to better reflect its impact.
59+
60+
JavaScript/TypeScript
61+
"""""""""""""""""""""
62+
63+
* Increased the :code:`security-severity` score of the :code:`js/xss-through-dom` query from 6.1 to 7.8 to align with other XSS queries.
64+
* Reduced the :code:`security-severity` score of the :code:`js/overly-large-range` query from 5.0 to 4.0 to better reflect its impact.
65+
66+
Python
67+
""""""
68+
69+
* Reduced the :code:`security-severity` score of the :code:`py/overly-large-range` query from 5.0 to 4.0 to better reflect its impact.
70+
71+
Ruby
72+
""""
73+
74+
* Reduced the :code:`security-severity` score of the :code:`rb/overly-large-range` query from 5.0 to 4.0 to better reflect its impact.
75+
76+
Language Libraries
77+
------------------
78+
79+
Bug Fixes
80+
~~~~~~~~~
81+
82+
C/C++
83+
"""""
84+
85+
* Improve performance of the range analysis in cases where it would otherwise take an exorbitant amount of time.
86+
87+
Golang
88+
""""""
89+
90+
* Some fixes relating to use of path transformers when extracting a database:
91+
92+
* Fixed a problem where the path transformer would be ignored when extracting older codebases that predate the use of Go modules.
93+
* The environment variable :code:`CODEQL_PATH_TRANSFORMER` is now recognized, in addition to :code:`SEMMLE_PATH_TRANSFORMER`.
94+
* Fixed some cases where the extractor emitted paths without applying the path transformer.
95+
96+
Breaking Changes
97+
~~~~~~~~~~~~~~~~
98+
99+
Python
100+
""""""
101+
102+
* The classes :code:`ControlFlowNode`, :code:`Expr`, and :code:`Module` no longer expose predicates that invoke the points-to analysis. To access these predicates, import the module :code:`LegacyPointsTo` and follow the instructions given therein.
103+
104+
Major Analysis Improvements
105+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
106+
107+
Swift
108+
"""""
109+
110+
* Upgraded to allow analysis of Swift 6.2.1.
111+
112+
Minor Analysis Improvements
113+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
114+
115+
C#
116+
""
117+
118+
* Updated *roslyn* and *binlog* dependencies in the extractor, which may improve database and analysis quality.
119+
120+
Rust
121+
""""
122+
123+
* Added models for cookie methods in the :code:`poem` crate.
124+
125+
Deprecated APIs
126+
~~~~~~~~~~~~~~~
127+
128+
C#
129+
""
130+
131+
* :code:`ControlFlowElement.controlsBlock` has been deprecated in favor of the Guards library.
132+
133+
New Features
134+
~~~~~~~~~~~~
135+
136+
C/C++
137+
"""""
138+
139+
* New predicates :code:`getAnExpandedArgument` and :code:`getExpandedArgument` were added to the :code:`Compilation` class, yielding compilation arguments after expansion of response files.
140+
141+
C#
142+
""
143+
144+
* Initial support for incremental C# databases via :code:`codeql database create --overlay-base`\ /\ :code:`--overlay-changes`.

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.23.6
1415
codeql-cli-2.23.5
1516
codeql-cli-2.23.3
1617
codeql-cli-2.23.2

0 commit comments

Comments
 (0)