CVE-2024-39930
Last modified
CVE-2024-39930 is a critical-severity vulnerability rated 9.9/10 on the CVSS scale. 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. EPSS estimates a 7.26% chance of exploitation in the next 30 days.
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 and sending a malicious --split-string env request if the built-in SSH server is activated. Windows installations are unaffected.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gogs | Gogs | <= 0.13.0 |
References
- https://github.com/gogs/gogs/releasesRelease Notes
- https://www.vicarius.io/vsociety/posts/argument-injection-in-gogs-ssh-server-cve-2024-39930Exploit, Third Party Advisory
- https://github.com/gogs/gogs/releasesRelease Notes
- https://www.vicarius.io/vsociety/posts/argument-injection-in-gogs-ssh-server-cve-2024-39930Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-39930?
How severe is CVE-2024-39930?
How do I fix CVE-2024-39930?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-39925An issue was discovered in Vaultwarden (formerly Bitwarden_R…6.5
- CVE-2024-39926An issue was discovered in Vaultwarden (formerly Bitwarden_R…5.4
- CVE-2024-39927Out-of-bounds write vulnerability exists in Ricoh MFPs and p…8.2
- CVE-2024-39928In Apache Linkis <= 1.5.0, a Random string security vulnerab…7.5
- CVE-2024-39929Exim through 4.97.1 misparses a multiline RFC 2231 header fi…5.4
- CVE-2024-3993The AZAN Plugin WordPress plugin through 0.6 does not have C…4.6
- CVE-2024-39931Gogs through 0.13.0 allows deletion of internal files.9.9
- CVE-2024-39932Gogs through 0.13.0 allows argument injection during the pre…9.9
- CVE-2024-39933Gogs through 0.13.0 allows argument injection during the tag…7.7
- CVE-2024-39934Robotmk before 2.0.1 allows a local user to escalate privile…7.8
- CVE-2024-39935jc21 NGINX Proxy Manager before 2.11.3 allows backend/intern…8.8
- CVE-2024-39936An issue was discovered in HTTP2 in Qt before 5.15.18, 6.x b…5.9
Are you affected by CVE-2024-39930?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
