跳到正文

CodeQL 版本记录

GitHub, Inc. · 使用 GitHub 的 CodeQL 命令行工具创建代码分析数据库、运行语义安全查询并导出发现结果。

Cask开发工具 1,024
主页
安装命令
brew install --cask codeql
近 30 天安装
989
App榜第 302
近一年安装
6,395
365 天累计
最新版本
2.27.6
下载大小
984MB
zip
更新节奏
每两周
近 30 天 3 个版本
  1. 2.27.6

    最新补丁

    OpenNavo 编辑 Homebrew 收录

    CodeQL CLI 2.27.6 更新随附 JDK,以缓解 Java4Shell(CVE-2026-114938)。

    安全
    随附 JDK 现为 Temurin jdk-25.0.5.1+2。Java 抽取器关闭 HotSpot 的 Base64 内建实现。

    CodeQL CLI 2.27.6 于 2026 年 11 月 24 日发布,更新随附的 JDK,让运行 CodeQL 分析的人不受 Java4Shell(CVE-2026-114938)影响。来源:https://github.com/github/codeql-cli-binaries/releases/tag/v2.27.6

    • 随附 JDK 现为 Temurin jdk-25.0.5.1+2。
    • Java 抽取器关闭 HotSpot 的 Base64 内建实现。
  2. 2.27.5

    补丁

    OpenNavo 编辑 Homebrew 收录

    CodeQL CLI 2.27.5 取消 Brotli 抽取,并新增字符串谓词。

    破坏性
    C/C++ 抽取器不再使用 Brotli,请改用 zstd。
    安全
    XML、YAML 和 properties 的测试抽取不再跟随链接。
    QL
    字符串新增 startsWith、endsWith 和 contains。

    CodeQL CLI 2.27.5 面向运行 CodeQL 分析和测试的人。部分测试抽取不再跟随符号链接,并新增字符串谓词。发布于 2026-11-19。来源:https://github.com/github/codeql-cli-binaries/releases/tag/v2.27.5

    • C/C++ 抽取器不再接受 Brotli 压缩,请改用 zstd。
    • XML、YAML 和 Java properties 的测试抽取不再跟随符号链接。
    • QL 字符串新增 startsWith、endsWith 和 contains。通用的 codeql.zip 已弃用。
  3. 2.27.4

    补丁

    OpenNavo 编辑 Homebrew 收录

    CodeQL 2.27.4 于 2026-11-02 发布,本次更新新增包归档安全检查,并将 Java 虚拟机消息写入标准错误。

    安全修复

    • codeql pack bundle 和 codeql pack publish 现在会检查在解析符号链接之后,添加到包归档中的每个文件是否仍位于包根目录内。解析后位于包根目录之外的文件会从归档中省略,并给出警告。

    问题修复

    • CodeQL CLI 现在会将来自 Java 虚拟机的消息(如警告和初始化错误)写入标准错误,而不再写入标准输出,因此输出 JSON 或其他机器可读内容的命令不再受到破坏。
  4. 2.27.3

    展开

    OpenNavo 编辑 Homebrew 收录

    说明 macOS 跟踪构建限制,新增 JSON 数据扩展并修复数据库降级问题。

    兼容性

    • 由于所需的多架构二进制文件不再提供,在 macOS 27 上使用任何 Xcode 版本,或在 macOS 26 上选择 Xcode 27 时,不支持使用 autobuild 或 manual 构建模式对编译型语言进行跟踪分析。

    改进与修复

    • 数据扩展支持 JSON 语法和 Java 风格注释。JSON 扩展使用 .json;其他文件仍使用 YAML。
    • codeql test run 也会自动加载匹配的 .ext.json 文件。
    • 修复 GitHub Actions 数据库降级失败的问题。

    官方发布

  5. 2.27.2

    展开

    OpenNavo 编辑 Homebrew 收录

    明确消息的严重级别,并修复查询套件和数据扩展错误。

    变更
    在 stderr 错误和警告消息前添加严重级别。添加 --dil-constants,用于已编译查询的 DIL 输出。仅当没有任何模式匹配文件时,才对未匹配的数据扩展发出警告。
    修复
    修复查询套件中无效的 QL 包名导致的崩溃。拒绝数据扩展中所有超出有符号 32 位范围的整数。

    CodeQL 2.27.2

    明确消息的严重级别,并修复查询套件和数据扩展错误。

    变更

    • 在 stderr 错误和警告消息前添加严重级别前缀。
    • 添加 --dil-constants,用于输出编译后查询的 DIL。
    • 仅当没有任何模式匹配文件时,才对未匹配的数据扩展发出警告。

    修复

    • 修复查询套件中无效 QL 包名导致的崩溃。
    • 拒绝所有超出有符号 32 位范围的数据扩展整数。

    Linux ARM64 发行版的变更属于上游平台变更,并非新增的 Mac 架构要求。Java 运行时回归问题可通过显式选择兼容的 JDK 来处理。

    来源:官方发行说明。

  6. 2.27.1

    展开

    OpenNavo 编辑 Homebrew 收录

    更新内置的 Eclipse Temurin Java 运行时。

    变更
    将内置的 Eclipse Temurin OpenJDK 更新至 25.0.4.1。记录通过 CODEQL_JAVA_HOME 选择其他 JDK 的方法。

    CodeQL 2.27.1

    更新内置的 Eclipse Temurin Java 运行时。

    变更

    • 将内置的 Eclipse Temurin OpenJDK 更新至 25.0.4.1。
    • 记录了通过 CODEQL_JAVA_HOME 选择其他 JDK 的方法。

    Linux ARM64 发行版的变更属于上游平台变更,并非新增的 Mac 架构要求。Java 运行时回归问题可通过显式选择兼容的 JDK 来处理。

    来源:官方发行说明。

  7. 2.27.0

    展开

    OpenNavo 编辑 Homebrew 收录

    新增 Linux ARM64 软件包和私有注册表配置支持。

    新增
    新增按平台提供的 Linux ARM64 原生 CLI 和捆绑包发行版。在代码扫描设置中使用组织的私有注册表设置。
    弃用
    弃用对 Java 9 和 10 的支持,计划于 2027 年 1 月移除。弃用合并多个平台的通用 codeql.zip 发行版。

    CodeQL 2.27.0

    新增 Linux ARM64 软件包和私有注册表配置支持。

    新增

    • 新增原生 Linux ARM64 平台专用 CLI 和捆绑包发行版。
    • 在代码扫描设置中使用组织的私有注册表设置。

    弃用

    • 弃用对 Java 9 和 10 的支持,计划于 2027 年 1 月移除。
    • 弃用通用的多平台合并发行版 codeql.zip。

    Linux ARM64 发行版的变更属于上游平台变更,并非新增的 Mac 架构要求。Java 运行时回归问题可通过显式选择兼容的 JDK 来处理。

    来源:官方发行说明。

  8. 2.26.4

    展开

    GitHub Release Homebrew 收录

    New Features

    • codeql test run now supports the --reuse-dataset option, which reuses an existing test database from a previous run when available, skipping database extraction. This can speed up repeated test runs when only the query under test has changed. The option implies --keep-databases.

    Bug Fixes

    • The Java Autobuilder now expands project properties, such as ${maven.version}, when determining Maven version requirements specified by the Maven Enforcer Plugin. The Java Autobuilder now also supports Maven versions through 3.9.16.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported x86-64 platforms (Linux, Windows and macOS). Arm64 binaries are available as a per-platform codeql-PLATFORM.zip only. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.26.4.

  9. 2.26.3

    展开

    GitHub Release Homebrew 收录

    Improvements

    • Commands that accept a --ram option now report a clear error when given a value that is far too large to be a sensible amount of memory in megabytes (for example, a number of bytes passed by mistake), instead of failing with a cryptic "is not an int" message.

    Bug Fixes

    • Fixed the pack upload format to comply with the OCI-image-manifest specification, by ensuring that all required fields are present/valid, and that no extraneous/non-compliant fields are included.
    • Fixed path canonicalization on Windows so that paths located on substed drives are always resolved to their underlying target paths. Previously, substed drives were not handled consistently by the CodeQL CLI and the language-specific extractors.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported x86-64 platforms (Linux, Windows and macOS). Arm64 binaries are available as a per-platform codeql-PLATFORM.zip only. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.26.3.

  10. 2.26.2

    展开

    GitHub Release Homebrew 收录

    Release 2.26.2 (2026-07-23)

    Breaking Changes

    • Removed support for parsing [[-style links in alert messages. This was an undocumented legacy feature that allowed query authors to embed links inline in select clause message strings using [["text"|"url"]] syntax. Queries should use $@ placeholder pairs instead.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.26.2.

  11. 2.26.1

    展开

    GitHub Release Homebrew 收录

    Release 2.26.1 (2026-07-15)

    • There are no user-facing changes in this release.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.26.1.

  12. 2.26.0

    展开

    GitHub Release Homebrew 收录

    Improvements

    • Improved the performance of commands that interact with Git repositories by checking whether the git command-line tool is available at most once per CodeQL CLI invocation.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.26.0.

  13. 2.25.6

    展开

    GitHub Release Homebrew 收录

    Improvements

    • When the git executable is available, CodeQL can now obtain configuration and queries from SHA-256 Git repositories, and infer Git metadata about them.

    Miscellaneous

    • The build of Eclipse Temurin OpenJDK that is used to run the CodeQL CLI has been updated to version 21.0.11.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.25.6.

  14. 2.25.5

    展开

    GitHub Release Homebrew 收录

    Release 2.25.5 (2026-05-21)

    • There are no user-facing changes in this release.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.25.5.

  15. 2.25.4

    展开

    GitHub Release Homebrew 收录

    • There are no user-facing changes in this release.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.25.4.

  16. 2.25.3

    展开

    GitHub Release Homebrew 收录

    Improvements

    • The codeql database finalize command now accepts the --working-dir flag. When specified, any extractor pre-finalize scripts will be run in that directory. If the flag is not used, the scripts will run in the source root directory (maintaining existing behavior). The flag will also be automatically passed through when running the higher-level codeql database create command.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.25.3.

  17. 2.25.2

    展开

    GitHub Release Homebrew 收录

    Miscellaneous

    • The build of Eclipse Temurin OpenJDK that is used to run the CodeQL CLI has been updated to version 21.0.10.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.25.2.

  18. 2.25.1

    展开

    GitHub Release Homebrew 收录

    Release 2.25.1 (2026-03-27)

    Bug Fixes

    • Fixed a bug where extraction could fail on YAML files containing emoji.

    Miscellaneous

    • Upgraded snakeyaml (which is a dependency of jackson-dataformat-yaml) from 2.3 to 2.6.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.25.1.

  19. 2.25.0

    展开

    GitHub Release Homebrew 收录

    Release 2.25.0 (2026-03-19)

    Breaking Changes

    • codeql database interpret-results and codeql database analyze no longer attempt to reconstruct file baseline information from databases created with CLI versions before 2.11.2.

    Bug Fixes

    • Upgraded Jackson library from 2.16.1 to 2.18.6 to address a high-severity denial of service vulnerability (GHSA-72hv-8253-57qq) in jackson-core's async JSON parser.
    • Upgraded snakeyaml (which is a dependency of jackson-dataformat-yaml) from 2.2 to 2.3.

    Release 2.24.4 (2026-03-16)

    This release was skipped.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.25.0.

  20. 2.24.3

    展开

    GitHub Release Homebrew 收录

    Release 2.24.3 (2026-03-05)

    Bug Fixes

    • Fixed a race condition that could cause flaky failures in overlay CodeQL tests. Test extraction now skips *.testproj directories by name, preventing interference from concurrently cleaned-up test databases.
    • Fixed spurious "OOPS" warnings that could appear in help output for commands using mutually exclusive option groups, such as codeql query run.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.24.3.

  21. 2.24.2

    展开

    GitHub Release Homebrew 收录

    Bug Fixes

    • Fixed SARIF output to generate RFC 1738 compatible file URIs. File URIs now always use the file:/// format instead of file:/ for better interoperability with SARIF consumers.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.24.2.

  22. 2.24.1

    展开

    GitHub Release Homebrew 收录

    Miscellaneous

    • The vulnerable xwork-core 2.3.37 test dependency (CVE-2025-68493) has been removed. The CodeQL Java library has been updated to support both legacy Struts 2.x-6.x package names and Struts 7.x package names for analyzing user code.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.24.1.

  23. 2.24.0

    展开

    GitHub Release Homebrew 收录

    Release 2.24.0 (2026-01-26)

    Miscellaneous

    • The OWASP Java HTML Sanitizer library used by the CodeQL CLI for internal documentation generation commands has been updated to version 20260102.1.
    • The build of Eclipse Temurin OpenJDK that is used to run the CodeQL CLI has been updated to version 21.0.9.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.24.0.

  24. 2.23.9

    展开

    GitHub Release Homebrew 收录

    Release 2.23.9 (2026-01-09)

    Deprecations

    • Support for Kotlin version 1.6 and 1.7 has been deprecated and will be removed from CodeQL version 2.24.1. Starting with version 2.24.1, users will need to use Kotlin version >= 1.8 to extract Kotlin databases.

    For more information about the changes included in this release, see the CodeQL CLI changelog.

    You can download either the codeql-PLATFORM.zip for your platform, or the generic codeql.zip which contains binaries for all supported platforms. Please ignore the additional "source code" downloads below the .zip artifacts.

    This release is compatible with the CodeQL language packs from github/codeql@codeql-cli/v2.23.9.