Skip to content

Commit 2927ff2

Browse files
author
github-actions[bot]
committed
update codeql documentation
1 parent a7057b8 commit 2927ff2

3 files changed

Lines changed: 137 additions & 1 deletion

File tree

‎docs/codeql/codeql-overview/codeql-changelog/codeql-cli-2.12.0.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ New Features
295295
JavaScript/TypeScript
296296
"""""""""""""""""""""
297297

298-
* Improved support for `Restify <https://restify.com/>`__ framework, leading to more results when scanning applications developed with this framework.
298+
* Improved support for `Restify <http://restify.com/>`__ framework, leading to more results when scanning applications developed with this framework.
299299
* Added support for the `Spife <https://github.com/npm/spife>`__ framework.
300300

301301
Shared Libraries
Lines changed: 135 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
.. _codeql-cli-2.27.2:
2+
3+
==========================
4+
CodeQL 2.27.2 (2026-10-07)
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.2 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+
Bug Fixes
23+
~~~~~~~~~
24+
25+
* Fixed a crash in :code:`codeql resolve queries` (and other commands that resolve query suites) that reported a fatal internal error when a suite entry's :code:`qlpack:` or :code:`from:` value was not a valid QL pack name. Such input now produces a clear, user-facing error instead.
26+
* Fixed a bug in the handling of YAML data extensions that would quietly accept integers outside of the signed 64-bit range, truncating them to smaller values. (Values outside of the signed 32-bit range, but inside the signed 64-bit range, were correctly rejected.) Now, all integers outside of the signed 32-bit range are rejected and will cause evaluation to fail.
27+
28+
Improvements
29+
~~~~~~~~~~~~
30+
31+
* Error and warning messages printed to standard error are now labelled with an
32+
:code:`ERROR:` or :code:`WARNING:` prefix. Previously only diagnostics carried such a label, so the severity of other messages was not apparent in plain-text output. Structured output is unaffected: log files, SARIF, and stored diagnostics continue to record severity without the prefix.
33+
* The :code:`codeql query compile` command now accepts the :code:`--dil-constants` flag. When specified along with :code:`--dump-dil`, the emitted DIL will include the values of predicates that have been optimized into constant tuple sets. Otherwise, these constants are omitted. This flag also enables pretty-printing of constant tuple sets for higher-level commands that involve query compilation.
34+
35+
Miscellaneous
36+
~~~~~~~~~~~~~
37+
38+
* CLI commands that load data extensions, such as :code:`codeql database run-queries`,
39+
previously emitted a warning for each file-pattern from the :code:`dataExtensions` list of a :code:`qlpack.yml` manifest that failed to match any extension files.
40+
This check has been relaxed, and will now only emit a warning if none of the patterns match any files (i.e. when there is at least one pattern but no extensions are found).
41+
42+
Query Packs
43+
-----------
44+
45+
Minor Analysis Improvements
46+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
47+
48+
C#
49+
""
50+
51+
* The :code:`cs/web/missing-x-frame-options` query now recognizes clickjacking protection configured through ASP.NET Core response headers and enforced Content Security Policy :code:`frame-ancestors` directives.
52+
53+
Language Libraries
54+
------------------
55+
56+
Bug Fixes
57+
~~~~~~~~~
58+
59+
C#
60+
""
61+
62+
* Fixed an issue where types for pattern expressions were not extracted correctly.
63+
64+
JavaScript/TypeScript
65+
"""""""""""""""""""""
66+
67+
* Improved Hapi route handler and request input tracking through custom route registration helpers and higher-order function wrappers.
68+
69+
Breaking Changes
70+
~~~~~~~~~~~~~~~~
71+
72+
Golang
73+
""""""
74+
75+
* The Go control flow graph (CFG) implementation has been completely rewritten to use the shared CFG library. The CFG now includes additional nodes to more accurately represent certain constructs, including assignments, function parameters and results, range statements, and deferred calls. The CFG now only includes nodes that are reachable from the entry point. Basic blocks are also now constructed directly from the shared CFG. Existing code that relies on specific CFG nodes, edges, locations, textual representations, or basic block boundaries may need to be updated. Additionally, the following API changes have been made:
76+
77+
* :code:`BasicBlocks::Cfg` has been removed. :code:`BasicBlock` now directly uses the basic-block implementation provided by the shared CFG library.
78+
* :code:`ControlFlow::EntryNode` and :code:`ControlFlow::ExitNode` have been added, and
79+
:code:`ControlFlow::entryNode` and :code:`ControlFlow::exitNode` now return these more specific types.
80+
* :code:`IfStmt.getCond` has been deprecated. Please use the new :code:`IfStmt.getCondition` instead.
81+
* The result types of :code:`IfStmt.getThen` and :code:`LoopStmt.getBody` have been widened from :code:`BlockStmt` to :code:`Stmt`.
82+
* :code:`SwitchStmt.getExpr` has been added, providing a common accessor for the expression examined by expression and type switches.
83+
* Several IR instruction classes have been removed or consolidated, including
84+
:code:`ReadArgumentInstruction`, :code:`InitResultInstruction`, :code:`IncDecInstruction`,
85+
:code:`EvalIncDecRhsInstruction`, :code:`EvalImplicitOneInstruction`,
86+
:code:`SelectInstruction`, and :code:`SendInstruction`.
87+
* :code:`EvalCompoundAssignRhsInstruction` now also represents increment and decrement operations, and it and :code:`EvalImplicitInitInstruction` directly represent their associated writes.
88+
89+
Major Analysis Improvements
90+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
91+
92+
C#
93+
""
94+
95+
* Fixed a false positive in :code:`cs/web/xss` for ASP.NET Core Razor Pages/MVC views: :code:`WriteLiteral` calls generated for tag helper attribute values (for example, :code:`asp-for`) capture the value into an internal buffer instead of writing it directly to the response, so they are no longer treated as XSS sinks.
96+
97+
Minor Analysis Improvements
98+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
99+
100+
C/C++
101+
"""""
102+
103+
* Added SQL-injection sink models for the Comdb2 C API functions :code:`cdb2_run_statement` and :code:`cdb2_run_statement_typed`.
104+
* Added flow summaries for the BDE codecs :code:`BloombergLP::balber::BerDecoder`\ /\ :code:`BerEncoder`, :code:`BloombergLP::baljsn::Decoder`\ /\ :code:`Encoder` and :code:`BloombergLP::balxml::Decoder`\ /\ :code:`Encoder`.
105+
* Added taint flow summaries for the BDE :code:`bslx` byte-stream deserializers :code:`BloombergLP::bslx::ByteInStream`, :code:`BloombergLP::bslx::GenericInStream`, and :code:`BloombergLP::bslx::InStreamFunctions::bdexStreamIn`.
106+
107+
Golang
108+
""""""
109+
110+
* Models for the :code:`nhooyr.io/websocket` package have been updated to also support its new import path :code:`github.com/coder/websocket`.
111+
112+
JavaScript/TypeScript
113+
"""""""""""""""""""""
114+
115+
* The Workflow SDK directives :code:`"use workflow"` and :code:`"use step"` are now recognized as known directives, so the :code:`js/unknown-directive` query no longer flags them.
116+
117+
GitHub Actions
118+
""""""""""""""
119+
120+
* The :code:`trustedActionsOwnerDataModel` extensible predicate, used by the :code:`actions/unpinned-tag` query, now supports removing an owner from the trusted set by adding an entry prefixed with :code:`!` (for example, :code:`!github`). This makes it possible to distrust first-party owners (:code:`actions`, :code:`github`, :code:`advanced-security`) so that unpinned tags for their Actions are reported.
121+
122+
Rust
123+
""""
124+
125+
* The Rust extractor has been upgraded to use :code:`rust-analyzer` version 0.0.352. As a result, the AST exposed by the Rust libraries now includes the :code:`AnyAttr` and :code:`DocComment` classes.
126+
* Improve data flow for async blocks when used with :code:`await`.
127+
* Added new flow summary models for the :code:`native-tls`, :code:`async-native-tls`, and :code:`tokio-native-tls` crates.
128+
129+
New Features
130+
~~~~~~~~~~~~
131+
132+
C/C++
133+
"""""
134+
135+
* Added a C++ regular-expression parser for the ECMAScript grammar used by :code:`std::regex`.

‎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.2
1415
codeql-cli-2.27.1
1516
codeql-cli-2.27.0
1617
codeql-cli-2.26.4

0 commit comments

Comments
 (0)