Vulnérabilité dans golang-github-cli-go-gh-v2 (UBUNTU-CVE-2024-53859)
Résumé
vulnérabilité dans golang-github-cli-go-gh-v2 (UBUNTU-CVE-2024-53859). Des informations confidentielles peuvent être exposées. Exploitable via ``GITHUB_TOKEN``. Atténuation : mise à jour vers `2.6.0-1ubuntu0.24.04.1~esm1` ou plus.
Résumé IA snake-internal / snake-material-v2
Actions de réponse (7 étapes)
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
grep -r 'golang-github-cli-go-gh-v2' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `golang-github-cli-go-gh-v2` を grep し、稼働しているサービス・バージョンを把握する。
-
6Apply patch patch
Upgrade golang-github-cli-go-gh-v2 to 2.6.0-1ubuntu0.24.04.1~esm1ステージング環境で 2.6.0-1ubuntu0.24.04.1~esm1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Paquets affectés
Références
- advisory https://ubuntu.com/security/notices/USN-7362-1
- report https://ubuntu.com/security/CVE-2024-53859
- report https://www.cve.org/CVERecord?id=CVE-2024-53859
- report https://github.com/cli/go-gh/security/advisories/GHSA-55v3-xh23-96gh
- report https://docs.github.com/en/apps/using-github-apps/reviewing-and-revoking-authorization-of-github-apps#reviewing-your-authorized-github-apps
- report https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/reviewing-your-security-log
- report https://docs.github.com/en/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/identifying-audit-log-events-performed-by-an-access-token
- report https://docs.github.com/en/enterprise-cloud@latest/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens
- report https://github.com/cli/go-gh/blob/71770357e0cb12867d3e3e288854c0aa09d440b7/pkg/auth/auth.go#L73-L77