sigstore-js @sigstore/ociで認証情報が漏えいする脆弱性
Summary
sigstore-js の @sigstore/oci は、クロスオリジンの307・308リダイレクトで、レジストリの認証情報を含むOAuth2のリクエスト本文を送り直してしまう脆弱性があります。信頼されたトークンサービスを悪用して攻撃者のサーバーへ転送させられると、ユーザー名とパスワードが漏えいするおそれがあります。影響するのは0.8.0より前の版で、0.8.0で修正されています。0.8.0以降へ更新してください。
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.
sigstore-js の @sigstore/oci は、クロスオリジンの307・308リダイレクトで、レジストリの認証情報を含むOAuth2のリクエスト本文を送り直してしまう脆弱性があります。信頼されたトークンサービスを悪用して攻撃者のサーバーへ転送させられると、ユーザー名とパスワードが漏えいするおそれがあります。影響するのは0.8.0より前の版で、0.8.0で修正されています。0.8.0以降へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| sigstoresigstore-js |
< 0.8.0→ 0.8.0 |
0.8.0 |
Original description The description as published by the source.
sigstore-js @sigstore/oci before 0.8.0 contains a credential exposure vulnerability that leaks registry credentials by replaying OAuth2 password-grant request bodies on cross-origin 307 or 308 redirects. Attackers who can make a trusted token service redirect to their host via open redirect or compromise receive the username and password POSTed by RegistryClient.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- web github.com
- web github.com