CodeQL 2.25.2がKotlin 2.3.20サポートとその他の更新を追加
本文の状態
日本語全文を表示中
詳細モードで約3分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
GitHub Changelog
GitHubが静的解析エンジンCodeQL 2.25.2をリリースし、Kotlin 2.3.20のサポート追加、精度向上、複数言語のセキュリティ深刻度スコア調整を実施した。
Continue in AI NEW LAB
このニュースを、実務の判断につなげる
AI NEW LABで、試したことや先に確認したい条件を共有できます。まずはログインなしで読めます。
AI NEW LABで論点を見るSource Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
タイトル: CodeQL 2.25.2 で Kotlin 2.3.20 のサポートとその他のアップデートを提供
CodeQLは、GitHubコードスキャニングを支える静的解析エンジンであり、コード内のセキュリティ問題を発見して修正します。このたび、新しいKotlinバージョンへの対応、各種の精度向上、複数言語にわたるセキュリティ重大度スコアの調整を含むCodeQL 2.25.2をリリースしました。
言語とフレームワークのサポート
Java/Kotlin
Kotlinバージョン2.3.20までが解析でサポートされるようになりました。
java/tainted-arithmeticクエリは、if条件文の境界チェックパターンにおいて、比較演算のオペランドとして直接使用される算術式にフラグを立てなくなり、誤検知が減少します。
java/potentially-weak-cryptographic-algorithmクエリは、楕円曲線アルゴリズム、HMACベースのアルゴリズム、またはPBKDF2鍵導出を潜在的に安全でないと判定しなくなり、このクエリの誤検知が減少します。
C/C++
cpp/suspicious-add-sizeof、cpp/wrong-type-format-argument、およびcpp/integer-multiplication-cast-to-longクエリにおける誤検知が減少しました。
クエリの変更
C#
cs/constant-conditionクエリが簡素化され、誤検知が減少しました。これに伴い、cs/constant-conditionが同等の結果をカバーするようになったため、cs/constant-comparisonクエリは削除されました。
セキュリティ重大度の更新
ログインジェクションとXSSクエリの実際の影響により適切に合わせるため、複数言語にわたる@security-severityスコアを更新しました。
- C/C++:
cpp/cgi-xssが中程度 (6.1) から高 (7.8) に引き上げられました。 - C#:
cs/log-forgingが高 (7.8) から中程度 (6.1) に引き下げられました;cs/web/xssが中程度 (6.1) から高 (7.8) に引き上げられました。 - Go:
go/log-injectionが高 (7.8) から中程度 (6.1) に引き下げられました;go/html-template-escaping-bypass-xss、go/reflected-xss、およびgo/stored-xssが中程度 (6.1) から高 (7.8) に引き上げられました。 - Java/Kotlin:
java/log-injectionが高 (7.8) から中程度 (6.1) に引き下げられました;java/android/webview-addjavascriptinterface、java/android/websettings-javascript-enabled、およびjava/xssが中程度 (6.1) から高 (7.8) に引き上げられました。 - Python:
py/log-injectionが高 (7.8) から中程度 (6.1) に引き下げられました;py/jinja2/autoescape-falseおよびpy/reflective-xssが中程度 (6.1) から高 (7.8) に引き上げられました。 - Ruby:
rb/log-injectionが高 (7.8) から中程度 (6.1) に引き下げられました;rb/reflected-xss、rb/stored-xss、およびrb/html-constructed-from-inputが中程度 (6.1) から高 (7.8) に引き上げられました。 - Swift:
swift/unsafe-webview-fetchが中程度 (6.1) から高 (7.8) に引き上げられました。 - Rust:
rust/log-injectionが低 (2.6) から中程度 (6.1) に引き上げられました;rust/xssが中程度 (6.1) から高 (7.8) に引き上げられました。
変更点の完全なリストについては、バージョン2.25.2の完全な変更履歴を参照してください。CodeQLのすべての新バージョンは、github.comのGitHubコードスキャニングユーザーに自動的にデプロイされます。CodeQL 2.25.2の新機能は、今後のGitHub Enterprise Server (GHES) リリースにも含まれる予定です。旧バージョンのGHESをご利用の場合は、CodeQLバージョンを手動でアップグレードできます。
投稿「CodeQL 2.25.2 で Kotlin 2.3.20 のサポートとその他のアップデートを提供」は、The GitHub Blogで最初に公開されました。
原文を表示
CodeQL is the static analysis engine behind GitHub code scanning, which finds and remediates security issues in your code. We’ve recently released CodeQL 2.25.2, which brings a new Kotlin version update, various accuracy improvements, and a set of security severity score adjustments across multiple languages.
Language and framework support
Java/Kotlin
Kotlin versions up to 2.3.20 are now supported for analysis.
The java/tainted-arithmetic query no longer flags arithmetic expressions used directly as an operand of a comparison in if-condition bounds-checking patterns, reducing false positives.
The java/potentially-weak-cryptographic-algorithm query no longer flags Elliptic Curve algorithms, HMAC-based algorithms, or PBKDF2 key derivation as potentially insecure, reducing false positives for this query.
C/C++
Reduced false positives in the cpp/suspicious-add-sizeof, cpp/wrong-type-format-argument, and cpp/integer-multiplication-cast-to-long queries.
Query changes
C#
The cs/constant-condition query has been simplified to produce fewer false positives. As a result, the cs/constant-comparison query has been removed, since cs/constant-condition now covers those results.
Security severity updates
We’ve updated @security-severity scores across several languages to better align log injection and XSS queries with their actual impact:
C/C++: cpp/cgi-xss increased from medium (6.1) to high (7.8).
C#: cs/log-forging reduced from high (7.8) to medium (6.1); cs/web/xss increased from medium (6.1) to high (7.8).
Go: go/log-injection reduced from high (7.8) to medium (6.1); go/html-template-escaping-bypass-xss, go/reflected-xss, and go/stored-xss increased from medium (6.1) to high (7.8).
Java/Kotlin: java/log-injection reduced from high (7.8) to medium (6.1); java/android/webview-addjavascriptinterface, java/android/websettings-javascript-enabled, and java/xss increased from medium (6.1) to high (7.8).
Python: py/log-injection reduced from high (7.8) to medium (6.1); py/jinja2/autoescape-false and py/reflective-xss increased from medium (6.1) to high (7.8).
Ruby: rb/log-injection reduced from high (7.8) to medium (6.1); rb/reflected-xss, rb/stored-xss, and rb/html-constructed-from-input increased from medium (6.1) to high (7.8).
Swift: swift/unsafe-webview-fetch increased from medium (6.1) to high (7.8).
Rust: rust/log-injection increased from low (2.6) to medium (6.1); rust/xss increased from medium (6.1) to high (7.8).
For a full list of changes, please refer to the complete changelog for version 2.25.2. Every new version of CodeQL is automatically deployed to users of GitHub code scanning on github.com. The new functionality in CodeQL 2.25.2 will also be included in a future GitHub Enterprise Server (GHES) release. If you use an older version of GHES, you can manually upgrade your CodeQL version.
The post CodeQL 2.25.2 adds Kotlin 2.3.20 support and other updates appeared first on The GitHub Blog.
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み