Arama; açıklama metninde, ürün ve üretici adlarında ve açık türlerinde (Türkçe ya da İngilizce, eksik yazımla da) yapılır.

CVE-2024-52308
github cli

Puan9.6 Kritik
CVSS 3.1
İstismar olasılığı (EPSS)1.4%
önümüzdeki 30 gün içinde
KategoriUzaktan kod çalıştırma ve enjeksiyon
Yayımlanma14 Kasım 2024
Son güncelleme: 17 Haziran 2026

Kısaca

Bu açık internet üzerinden, uzaktan, oturum açmadan, kullanıcının bir bağlantıya tıklaması ya da dosya açması gibi bir etkileşimle istismar edilebilir.

Başarılı bir saldırıda ciddi etki: gizli bilgilerin okunması, verilerin değiştirilmesi, sistemin çökertilmesi ya da kullanılamaz hale gelmesi.

Etki, açığın bulunduğu bileşenin dışındaki sistemlere de yayılabilir.

Açık türü: Komut enjeksiyonu.

✨ Yapay zekâ yorumu

Kısa bir reklam izledikten sonra bu açığın sade bir dille yorumu gösterilir. Yapay zekâ hata yapabilir; kararlarınızı resmi kaynaklara göre verin.

Resmi açıklama (İngilizce)

The GitHub CLI version 2.6.1 and earlier are vulnerable to remote code execution through a malicious codespace SSH server when using `gh codespace ssh` or `gh codespace logs` commands. This has been patched in the cli v2.62.0. Developers connect to remote codespaces through an SSH server running within the devcontainer, which is generally provided through the [default devcontainer image]( https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-... https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration/introduction-to-dev-containers#using-the-default-dev-container-configuration) . GitHub CLI [retrieves SSH connection details]( https://github.com/cli/cli/blob/30066b0042d0c5928d959e288144300cb28196c9/internal/codespaces/rpc/inv... https://github.com/cli/cli/blob/30066b0042d0c5928d959e288144300cb28196c9/internal/codespaces/rpc/invoker.go#L230-L244 ), such as remote username, which is used in [executing `ssh` commands]( https://github.com/cli/cli/blob/e356c69a6f0125cfaac782c35acf77314f18908d/pkg/cmd/codespace/ssh.go#L2... https://github.com/cli/cli/blob/e356c69a6f0125cfaac782c35acf77314f18908d/pkg/cmd/codespace/ssh.go#L263 ) for `gh codespace ssh` or `gh codespace logs` commands. This exploit occurs when a malicious third-party devcontainer contains a modified SSH server that injects `ssh` arguments within the SSH connection details. `gh codespace ssh` and `gh codespace logs` commands could execute arbitrary code on the user's workstation if the remote username contains something like `-oProxyCommand="echo hacked" #`. The `-oProxyCommand` flag causes `ssh` to execute the provided command while `#` shell comment causes any other `ssh` arguments to be ignored. In `2.62.0`, the remote username information is being validated before being used.

CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Açık türü: CWE-77 – Komut enjeksiyonu

Etkilenen ürünler

ÜreticiÜrünSürümler
githubcli<2.62.0

Kaynaklar

Aynı kategoriden son açıklar

  • CVE-2026-56481 Düşük 3.5
    HCL Telco Observability is affected by an Improper Input Validation vulnerability in its UI and API, which could allow a remote attacker to submit crafted field values, enabling the injection of malicious input, query…
    Uzaktan kod çalıştırma ve enjeksiyon · 30 Kasım 2026
  • CVE-2026-138423 Düşük 2
    A flaw has been found in youseries UReport up to 2.2.9. Affected is the function convertJson of the file ureport2-console/src/main/java/com/bstek/ureport/console/html/HtmlPreviewServletAction.java of the component Html…
    Uzaktan kod çalıştırma ve enjeksiyon · 30 Kasım 2026
  • CVE-2026-138422 Düşük 2
    A vulnerability was detected in youseries UReport up to 2.2.9. This impacts an unknown function of the file html-preview.html of the component HTML Preview. Performing a manipulation of the argument _u results in HTML…
    Uzaktan kod çalıştırma ve enjeksiyon · 30 Kasım 2026
  • CVE-2026-138421 Düşük 2
    A security vulnerability has been detected in youseries UReport up to 2.2.9. This affects the function saveReportFile of the file…
    Uzaktan kod çalıştırma ve enjeksiyon · 30 Kasım 2026
  • CVE-2026-138420 Düşük 2
    A weakness has been identified in youseries UReport up to 2.2.9. The impacted element is the function buildExceptionMessage of the file…
    Uzaktan kod çalıştırma ve enjeksiyon · 30 Kasım 2026
  • CVE-2026-138419 Düşük 2
    A security flaw has been discovered in youseries UReport up to 2.2.9. The affected element is the function buildTitle of the file HtmlPreviewServletAction.java of the component HTML Preview. The manipulation of the…
    Uzaktan kod çalıştırma ve enjeksiyon · 30 Kasım 2026