CVE-2024-39932
CRITICAL
Published 2024-07-04T00:00:00
Actions:
Expert Analysis
Professional remediation guidance
Get tailored security recommendations from our analyst team for CVE-2024-39932. We'll provide specific mitigation strategies based on your environment and risk profile.
CVSS Score
V3.1
9.9
/10
CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:C/UI:N
Base Score Metrics
Exploitability: N/A
Impact: N/A
EPSS Score
v2025.03.14
0.002
probability
of exploitation in the wild
There is a 0.2% chance that this vulnerability will be exploited in the wild within the next 30 days.
Updated: 2025-06-25
Exploit Probability
Percentile: 0.388
Higher than 38.8% of all CVEs
Attack Vector Metrics
Impact Metrics
Description
Gogs through 0.13.0 allows argument injection during the previewing of changes.
Available Exploits
No exploits available for this CVE.
Related News
No news articles found for this CVE.
GitHub Security Advisories
Community-driven vulnerability intelligence from GitHub
✓ GitHub Reviewed
CRITICAL
Gogs allows argument injection during the previewing of changes
GHSA-9pp6-wq8c-3w2cAdvisory Details
### Impact
Unprivileged user accounts can write to arbitrary files on the filesystem. We could demonstrate its exploitation to force a re-installation of the instance, granting administrator rights. It allows accessing and altering any user's code hosted on the same instance.
### Patches
Unintended Git options has been ignored for diff preview (https://github.com/gogs/gogs/pull/7871). Users should upgrade to 0.13.1 or the latest 0.14.0+dev.
### Workarounds
No viable workaround available, please only grant access to trusted users to your Gogs instance on affected versions.
### References
https://www.cve.org/CVERecord?id=CVE-2024-39932
Affected Packages
Go
gogs.io/gogs
ECOSYSTEM:
≥0
<0.13.1
CVSS Scoring
CVSS Score
9.0
CVSS Vector
CVSS:3.1/AC:L/AV:N/A:H/C:H/I:H/PR:L/S:C/UI:N
References
Advisory provided by GitHub Security Advisory Database. Published: December 23, 2024, Modified: December 23, 2024
References
Published: 2024-07-04T00:00:00
Last Modified: 2024-08-02T04:33:11.786Z
Copied to clipboard!