| Package | Affected versions | Patched versions |
|---|---|---|
| github.com/gogs/gogs | ≤ 0.13.0all versions | |
| gogs.io/gogs | < 0.13.1 | 0.13.1 |
| gogs | ≤ 0.13.0 |
This advisory has been withdrawn because it is a duplicate of GHSA-vm62-9jw3-c8w3. This link is maintained to preserve external references.
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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free