synced 15 MIN AGO
01 Record

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

CriticalPUBLISHEDCNA: mitre
CNA base score9.9 CVSS v3.xCVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:C/UI:N

02 Description

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

03 Exploitation and scoring

Exploitation
Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
SSVC decision
  • ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
  • AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
  • Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
7.74% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 94.6% of scored records. A rank, not a probability.
NVD base score
9.9 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD analysis status
Analyzed. NVD last modified this record on 2026-06-17.
Red Hat severity
No Red Hat rating. Red Hat rates the CVEs that affect its products.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2024-07-04 00:00Z2 YR AGO
Last updated
2024-08-28 15:22Z2 YR AGO
Reserved
2024-07-04
Assigning CNA
mitre
Record state
PUBLISHED
Severity
Critical (CVSS 9.9)
CNA CVSS vector
CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:C/UI:N
Weaknesses
  • CWE-88Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')Base
Data version
5.1
Document digest
277d3d6406ea871a256de908b88a3bc30f8b9d3057fa863783974cd7f604a424

05 Affected products

VendorProductVersionsPlatforms
gogsgogs0 to 0.13.0—

06 References