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.
- https://www.vicarius.io/vsociety/posts/argument-injection-in-gogs-ssh-server-cve-2024-39930
- https://github.com/PuddinCat/GithubRepoSpider
- https://github.com/alexander47777/-CVE-2024-39930
- https://github.com/fkie-cad/nvd-json-data-feeds
- https://github.com/plzheheplztrying/cve_monitor
- https://github.com/theMcSam/CVE-2024-39930-PoC
- https://github.com/zulloper/cve-poc