CVE-2024-56731
Last modified
CVE-2024-56731 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. Gogs is an open source self-hosted Git service. Prior to version 0.13.3, it's still possible to delete files under the .git directory and achieve remote command execution due to an insufficient patch for CVE-2024-39931. EPSS estimates a 0.95% chance of exploitation in the next 30 days.
Description
Gogs is an open source self-hosted Git service. Prior to version 0.13.3, it's still possible to delete files under the .git directory and achieve remote command execution due to an insufficient patch for CVE-2024-39931. Unprivileged user accounts can execute arbitrary commands on the Gogs instance with the privileges of the account specified by RUN_USER in the configuration. Allowing attackers to access and alter any users' code hosted on the same instance. This issue has been patched in version 0.13.3.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gogs | Gogs | < 0.13.3 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-56731?
How severe is CVE-2024-56731?
How do I fix CVE-2024-56731?
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-56726In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-56727In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-56728In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-56729In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2024-5673Vulnerability in Dulldusk's PHP File Manager affecting versi…6.1
- CVE-2024-56730In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-56732HarfBuzz is a text shaping engine. Starting with 8.5.0 throu…9.3
- CVE-2024-56733Password Pusher is an open source application to communicate…5.7
- CVE-2024-56734Better Auth is an authentication library for TypeScript. An …6.1
- CVE-2024-56736Server-Side Request Forgery (SSRF) vulnerability in Apache H…6.5
- CVE-2024-56737GNU GRUB (aka GRUB2) through 2.12 has a heap-based buffer ov…8.8
- CVE-2024-56738GNU GRUB (aka GRUB2) through 2.12 does not use a constant-ti…5.3
Are you affected by CVE-2024-56731?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
