CVE-2024-39930
Gogs has an argument Injection in the built-in SSH server
Einstufung nach Quelle
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
| Quelle | Paket | Behoben in |
|---|---|---|
| go::GitHub Security Advisory Go | gogs.io/gogs | 0.13.1 |
| rapidfort alpine 3.20 | gogs | kein Fix angegeben |
| rapidfort alpine 3.21 | gogs | kein Fix angegeben |
| rapidfort alpine 3.22 | gogs | kein Fix angegeben |
| rapidfort alpine 3.23 | gogs | kein Fix angegeben |
| rapidfort alpine 3.24 | gogs | kein Fix angegeben |
Referenzen
- https://github.com/gogs/gogs
- https://github.com/gogs/gogs/releases
- https://github.com/gogs/gogs/security/advisories/GHSA-vm62-9jw3-c8w3
- https://www.sonarsource.com/blog/securing-developer-tools-unpatched-code-vulnerabilities-in-gogs-1
- https://www.sonarsource.com/blog/securing-developer-tools-unpatched-code-vulnerabilities-in-gogs-1/
- https://www.vicarius.io/vsociety/posts/argument-injection-in-gogs-ssh-server-cve-2024-39930