{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-39930","published":"2024-07-04T16:15:02.277000Z","last_modified":"2026-06-17T07:43:03.143000Z","status":"Analyzed","cvss":{"version":"3.1","score":9.9,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-88"],"cpes":[{"criteria":"cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:*","part":"a","vendor":"gogs","product":"gogs","version_end_including":"0.13.0"}],"cpes_truncated":false,"vendors":["gogs"],"products":["gogs/gogs"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"epss":{"score":0.07811,"percentile":0.95444,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GO-2024-2969","ecosystem":"Go","name":"github.com/gogs/gogs","purl":"pkg:golang/github.com/gogs/gogs","ranges":[{"introduced":"0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-vm62-9jw3-c8w3","ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":[{"introduced":"0","fixed":"0.13.1"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":60,"links":{"html_es":"/es/cve/CVE-2024-39930/","html_en":"/en/cve/CVE-2024-39930/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-39930","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-39930"},"untrusted":{"vendor_name":"Gogs","product_name":"Gogs","desc_en":"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.","affected":[{"untrusted_vendor":"gogs","untrusted_product":"gogs","versions":[]}],"references":[{"url":"https://github.com/gogs/gogs/releases","tags":["Release Notes"]},{"url":"https://www.sonarsource.com/blog/securing-developer-tools-unpatched-code-vulnerabilities-in-gogs-1/","tags":["Third Party Advisory"]},{"url":"https://www.vicarius.io/vsociety/posts/argument-injection-in-gogs-ssh-server-cve-2024-39930","tags":["Exploit","Third Party Advisory"]}]}}