Arbitrary Argument Injection Affecting github.com/gogs/gogs/internal/ssh package, versions *
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-GOLANG-GITHUBCOMGOGSGOGSINTERNALSSH-7424596
- published 5 Jul 2024
- disclosed 4 Jul 2024
- credit Unknown
Introduced: 4 Jul 2024
CVE-2024-39930 Open this link in a new tabHow to fix?
There is no fixed version for github.com/gogs/gogs/internal/ssh
.
Overview
github.com/gogs/gogs/internal/ssh is a painless self-hosted Git service
Affected versions of this package are vulnerable to Arbitrary Argument Injection via the --split-string env
argument, which is handled by internal/ssh/ssh.go
when the built-in SSH server is enabled. A user with a valid SSH private key can cause arbitrary code to be executed on the server.
Note: Only applications that use the env
binary are vulnerable, which is not included in the Windows distribution or the default BusyBox distribution.