Schwachstellen / CVE-2024-39930

kritisch

CVE-2024-39930

Gogs has an argument Injection in the built-in SSH server

Veröffentlicht Geändert CWE 88
In der Trivy Database seit spätestens 24. Okt. 2026, 07:11 UTCWann der Eintrag vor diesem Build hinzukam, ist nicht erfasst.

Einstufung nach Quelle

NVD9.9CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
GHSA10.0CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:C/UI:N

Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, GHSA.

Beschreibung

The built-in SSH server of Gogs through 0.13.0 allows argument injection in internal/ssh/ssh.go, leading to remote code execution. Authenticated attackers can exploit this by opening an SSH connection and sending a malicious --split-string env request if the built-in SSH server is activated. Windows installations are unaffected.

Betroffene Pakete und behobene Versionen

QuellePaketBehoben in
go::GitHub Security Advisory Gogogs.io/gogs0.13.1
rapidfort alpine 3.20gogskein Fix angegeben
rapidfort alpine 3.21gogskein Fix angegeben
rapidfort alpine 3.22gogskein Fix angegeben
rapidfort alpine 3.23gogskein Fix angegeben
rapidfort alpine 3.24gogskein Fix angegeben

Referenzen

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.