CVE-2024-39932
Published: 04 July 2024
Summary
CVE-2024-39932 is a critical-severity Code Injection (CWE-94) vulnerability in Gogs Gogs. Its CVSS base score is 9.9 (Critical).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked in the top 12.6% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-3572
Vulnerability details
Gogs through 0.13.0 allows argument injection during the previewing of changes.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
Argument injection during changes preview enables authenticated RCE as the Gogs service user (T1068, T1059.004), facilitating theft of source code from repositories (T1213.003), config credentials from files (T1552.001), planting backdoors via supply chain compromise (T1195.002), and wiping code (T1485).
MITRE ATLAS TechniquesAI
MITRE ATLAS techniques
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Makes persistent code injection into loaded programs impossible when the executable image itself resides on hardware-protected read-only media.
Dynamically generated code can be produced and executed inside the isolated chamber, preventing host compromise from code-injection payloads.
Validates inputs used in dynamic code generation to block injected directives.
Directly prevents execution of attacker-supplied code written into data memory regions.