{"id":"CVE-2024-39930","aliases":["GHSA-p69r-v3h4-rj4f","GHSA-vm62-9jw3-c8w3","GO-2024-2969"],"url":"https://o3.security/vulnerability/CVE-2024-39930","summary":"Duplicate Advisory: github.com/gogs/gogs affected by CVE-2024-39930","details":"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.","published":"2024-07-04T00:00:00Z","modified":"2026-08-08T03:48:04.814573565Z","cvss":{"score":9.9,"severity":"CRITICAL","vector":"CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:C/UI:N"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"Go","name":"github.com/gogs/gogs","fixedVersion":null}],"fix":null,"references":[{"type":"WEB","url":"https://www.vicarius.io/vsociety/posts/argument-injection-in-gogs-ssh-server-cve-2024-39930"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39930.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39930"},{"type":"PACKAGE","url":"https://github.com/gogs/gogs/releases"},{"type":"ARTICLE","url":"https://www.sonarsource.com/blog/securing-developer-tools-unpatched-code-vulnerabilities-in-gogs-1/"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-08T03:48:04.814573565Z"}}