CVE-2024-39930

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2024-07-04 16:15

Updated : 2025-04-11 15:14


NVD link : CVE-2024-39930

Mitre link : CVE-2024-39930

CVE.ORG link : CVE-2024-39930


JSON object : View

Products Affected

gogs

  • gogs
CWE
CWE-88

Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')