Eclipse Apoapsisのsetup-osc GitHub Actionに脆弱性、悪用されると任意のコマンドを実行されるおそれ
Summary
Eclipse Apoapsisのsetup-osc GitHub Actionには、ORT Serverから返されるバージョン文字列を検証せずにシェルスクリプトへ組み込む脆弱性があります。ORT Serverの応答を操作できる攻撃者は、GitHub Actionsのランナー上で任意のコマンドを実行し、呼び出し元ワークフローの秘密情報にアクセスできるおそれがあります。修正版はコミット03efc4cで、英数字と「.」「+」「-」のみを受け付けるように改められています。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Eclipse Apoapsisのsetup-osc GitHub Actionには、ORT Serverから返されるバージョン文字列を検証せずにシェルスクリプトへ組み込む脆弱性があります。ORT Serverの応答を操作できる攻撃者は、GitHub Actionsのランナー上で任意のコマンドを実行し、呼び出し元ワークフローの秘密情報にアクセスできるおそれがあります。修正版はコミット03efc4cで、英数字と「.」「+」「-」のみを受け付けるように改められています。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Eclipse FoundationEclipse Apoapsis |
≥ 4e9eaffaf776b28557591690cdd3f32ccbf92ad6, < 03efc4c4d01629acf27a046016c1ca3fd78719e5→ 03efc4c4d01629acf27a046016c1ca3fd78719e5 |
03efc4c4d01629acf27a046016c1ca3fd78719e5 |
Original description The description as published by the source.
In the setup-osc GitHub Action of Eclipse Apoapsis, from commit 4e9eaff up to, but not including, commit 03efc4c, the ORT Server version returned by the /api/v1/versions endpoint is inserted into a shell script via a GitHub Actions expression without validation. An attacker who controls the responses of the configured ORT Server, for example by compromising the server, can execute arbitrary commands on the GitHub Actions runner and access the secrets available to the calling workflow.
The issue is fixed in commit 03efc4c, which only accepts version strings consisting of alphanumeric characters, ., +, and -.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- web gitlab.eclipse.org
- web gitlab.eclipse.org
- web github.com