github.com/gogs/gogs affected by CVE-2024-39930
Critical severity
GitHub Reviewed
Published
Jul 4, 2024
to the GitHub Advisory Database
•
Updated Aug 28, 2024
Description
Published by the National Vulnerability Database
Jul 4, 2024
Published to the GitHub Advisory Database
Jul 4, 2024
Reviewed
Jul 10, 2024
Last updated
Aug 28, 2024
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.
References