Duplicate Advisory: github.com/gogs/gogs affected by CVE-2024-39930
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/gogs/gogs Go |
| No fix yet |
| gogs.io/gogs Go |
|
|
Original description
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.