CVE-2024-39933 Duplicate Advisory: Gogs allows argument injection during the tagging of a new release
Attackers can inject arguments during release tagging in Gogs, potentially leading to arbitrary code execution on the server.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-39933?
CVE-2024-39933 is a high-severity command injection vulnerability in n/a, published on 4 Jul 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Gogs through 0.13.0 allows argument injection during the tagging of a new release.
Weakness: CWE-88
Which versions are affected by CVE-2024-39933?
5 open source packages ship an affected version, including github.com/gogs/gogs and gogs.io/gogs. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/gogs/gogs Go | All versions | None |
github.com/gogs/gogs Go | All versions to 0.13.0 | None |
github.com/gogs/gogs Go | All versions to 0.13.0 | None |
gogs.io/gogs Go | All versions | 0.13.1 |
gogs.io/gogs Go | All versions | 0.13.1 |
Products include Gogs Gogs.
How do I fix CVE-2024-39933?
Upgrade to a fixed version.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2024-39933 being exploited?
There is no known exploitation of CVE-2024-39933 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-8mm6-wmpp-mmm3, GHSA-m27m-h5gj-wwmg, GO-2024-2972.