Paper/Archive/CVE-2024-39930

CVE-2024-39930

gogs gogs — The built-in SSH server of Gogs through 0.13.0 allows argument injection in internal/ssh/ssh.go, leading to remote code execution.

Description · from the CVE record

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

ProductAffectedFixed inSource
n/an/a–CNA
gogs≤ 0.13.0–CISA-ADP

Scores by source

mitre (CNA)9.9CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:C/UI:N
NVD9.9CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: no · Technical impact: total

References

refgithub.com/gogs/gogs/releasesrefsonarsource.com/blog/securing-developer-tools-unpatched-code-vulnerabilities-in-gogs-1refvicarius.io/vsociety/posts/argument-injection-in-gogs-ssh-server-cve-2024-39930