Chainguard SDKのAWS認証で認証情報を再利用され別のサービスに認証される脆弱性
概要
Chainguard SDKのauth/aws.VerifyTokenに脆弱性があり、攻撃者が被害者の署名済みAWSリクエストを流用して、別の連携先に被害者のAWS IDとして認証させられるおそれがあります。影響するのは0.1.107より前のバージョンで、0.1.107で修正されています。auth/aws.GenerateTokenだけを使っている場合は影響を受けないと案内されています。SDKを使っている場合は、0.1.107以降へ更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Chainguard SDKのauth/aws.VerifyTokenに脆弱性があり、攻撃者が被害者の署名済みAWSリクエストを流用して、別の連携先に被害者のAWS IDとして認証させられるおそれがあります。影響するのは0.1.107より前のバージョンで、0.1.107で修正されています。auth/aws.GenerateTokenだけを使っている場合は影響を受けないと案内されています。SDKを使っている場合は、0.1.107以降へ更新してください。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| chainguard-devsdk | — | 記載なし |
| Gochainguard.dev/sdk |
0.1.107 未満→ 0.1.107 |
0.1.107 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
The Chainguard SDK is a public Go SDK for integrating with the Chainguard platform. Prior to 0.1.107, auth/aws.VerifyToken trusts the Chainguard-Audience and Chainguard-Identity headers without requiring those headers to be covered by AWS SigV4 SignedHeaders. An attacker with a fresh STS GetCallerIdentity request signed by a victim can rewrite the unsigned binding headers and replay the proof to another relying party, causing the relying party to authenticate the victim’s AWS identity for an attacker-chosen audience and identity. Code that only uses auth/aws.GenerateToken is unaffected because the generator signs the binding headers, and exploitation requires a signed request within its validity window. This issue is fixed in version 0.1.107.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- web github.com
- web github.com