{"id":"CVE-2024-39933","aliases":["EUVD-2024-3599","GHSA-8mm6-wmpp-mmm3","GHSA-m27m-h5gj-wwmg","GO-2024-2972"],"status":"published","title":"Duplicate Advisory: Gogs allows argument injection during the tagging of a new release","description":"Gogs through 0.13.0 allows argument injection during the tagging of a new release.","severity":{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AC:L/AV:N/A:N/C:H/I:N/PR:L/S:C/UI:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00695,"percentile":0.53415,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-88"],"published":"2024-07-04T00:00:00Z","modified":"2026-10-28T02:30:54Z","fixes":[{"ecosystem":"Go","package":"gogs.io/gogs","fixed_in":["0.13.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"gogs.io/gogs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.13.0"},{"fixed":"0.13.1"}]}]},{"source":"osv","ecosystem":"Go","package":"gogs.io/gogs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.13.1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/gogs/gogs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}],"products":[{"vendor":"gogs","product":"gogs"}],"references":[{"url":"https://github.com/gogs/gogs/releases","tags":["x_transferred","Release Notes","package","web"]},{"url":"https://www.sonarsource.com/blog/securing-developer-tools-unpatched-code-vulnerabilities-in-gogs-1/","tags":["x_transferred","Exploit","Mitigation","Third Party Advisory","article"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39933","tags":["advisory"]},{"url":"https://www.sonarsource.com/blog/securing-developer-tools-unpatched-code-vulnerabilities-in-gogs-1","tags":["web"]},{"url":"https://github.com/advisories/GHSA-8mm6-wmpp-mmm3","tags":["advisory"]},{"url":"https://github.com/gogs/gogs/security/advisories/GHSA-m27m-h5gj-wwmg","tags":["web"]},{"url":"https://github.com/gogs/gogs/pull/7872","tags":["web"]},{"url":"https://github.com/gogs/gogs/commit/76831d0d06c44c5cf46dc22b380440b7507c2f07","tags":["web"]},{"url":"https://github.com/advisories/GHSA-m27m-h5gj-wwmg"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39933.json","tags":["advisory"]},{"url":"https://github.com/gogs/gogs","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-39933","description":"Gogs through 0.13.0 allows argument injection during the tagging of a new release.","status":"published","published":"2024-07-04T00:00:00Z","modified":"2024-08-02T04:33:11.513Z","cvss":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AC:L/AV:N/A:N/C:H/I:N/PR:L/S:C/UI:N","level":"high","assessor":"cna"}],"cwes":["CWE-88"],"updated_at":"2026-11-02T14:34:19.28149Z"}],"euvd":[{"id":"EUVD-2024-3599","description":"Gogs through 0.13.0 allows argument injection during the tagging of a new release.","status":"published","published":"2024-07-04T00:00:00Z","modified":"2024-08-02T04:33:11Z","cvss":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AC:L/AV:N/A:N/C:H/I:N/PR:L/S:C/UI:N","level":"high"}],"updated_at":"2026-11-03T03:50:17.469599Z"}],"ghsa":[{"id":"GHSA-8mm6-wmpp-mmm3","title":"Duplicate Advisory: Gogs allows argument injection during the tagging of a new release","description":"# Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-m27m-h5gj-wwmg. This link is maintained to preserve external references.\n\n# Original Description\nGogs through 0.13.0 allows argument injection during the tagging of a new release. This vulnerability is still unfixed as of the time of this advisory being published.","status":"withdrawn","published":"2024-07-04T18:31:11Z","modified":"2024-12-23T20:36:53Z","cvss":[{"version":"4.0","score":8.2,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N","level":"high"},{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-88"],"updated_at":"2026-11-02T14:38:26.167657Z"},{"id":"GHSA-m27m-h5gj-wwmg","title":"Gogs allows argument Injection when tagging new releases","description":"### Impact\n\nUnprivileged user accounts with at least one SSH key can read arbitrary files on the system. For instance, they could leak the configuration files that could contain database credentials (`[database] *`) and `[security] SECRET_KEY`. Attackers could also exfiltrate TLS certificates, other users' repositories, and the Gogs database when the SQLite driver is enabled.\n\n### Patches\n\nUnintended Git options has been ignored for creating tags (https://github.com/gogs/gogs/pull/7872). Users should upgrade to 0.13.1 or the latest 0.14.0+dev.\n\n### Workarounds\n\nNo viable workaround available, please only grant access to trusted users to your Gogs instance on affected versions.\n\n### References\n\nhttps://www.cve.org/CVERecord?id=CVE-2024-39933\n","status":"published","published":"2024-12-23T20:38:12Z","modified":"2024-12-23T20:38:13Z","cvss":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AC:L/AV:N/A:N/C:H/I:N/PR:L/S:C/UI:N","level":"high"}],"cwes":["CWE-88"],"updated_at":"2026-11-02T14:38:26.167657Z"}],"nvd":[{"id":"CVE-2024-39933","description":"Gogs through 0.13.0 allows argument injection during the tagging of a new release.","status":"published","published":"2024-07-04T16:15:02.9Z","modified":"2026-06-17T07:43:03.51Z","cvss":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","level":"high","assessor":"secondary"},{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","level":"high","assessor":"primary"}],"cwes":["CWE-88"],"updated_at":"2026-11-02T14:10:10.545705Z"}],"osv":[{"id":"CVE-2024-39933","description":"Gogs through 0.13.0 allows argument injection during the tagging of a new release.","status":"published","published":"2024-07-04T00:00:00Z","modified":"2026-10-28T02:30:54.135454985Z","cvss":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AC:L/AV:N/A:N/C:H/I:N/PR:L/S:C/UI:N","level":"high"}],"updated_at":"2026-11-02T15:44:41.618074Z"},{"id":"GHSA-8mm6-wmpp-mmm3","title":"Duplicate Advisory: Gogs allows argument injection during the tagging of a new release","description":"# Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-m27m-h5gj-wwmg. This link is maintained to preserve external references.\n\n# Original Description\nGogs through 0.13.0 allows argument injection during the tagging of a new release. This vulnerability is still unfixed as of the time of this advisory being published.","status":"withdrawn","published":"2024-07-04T18:31:11Z","modified":"2024-12-23T20:56:52.552602Z","cvss":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","level":"high"},{"version":"4.0","score":8.2,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N","level":"high"}],"cwes":["CWE-88"],"updated_at":"2026-11-02T15:46:42.437513Z"},{"id":"GHSA-m27m-h5gj-wwmg","title":"Gogs allows argument Injection when tagging new releases","description":"### Impact\n\nUnprivileged user accounts with at least one SSH key can read arbitrary files on the system. For instance, they could leak the configuration files that could contain database credentials (`[database] *`) and `[security] SECRET_KEY`. Attackers could also exfiltrate TLS certificates, other users' repositories, and the Gogs database when the SQLite driver is enabled.\n\n### Patches\n\nUnintended Git options has been ignored for creating tags (https://github.com/gogs/gogs/pull/7872). Users should upgrade to 0.13.1 or the latest 0.14.0+dev.\n\n### Workarounds\n\nNo viable workaround available, please only grant access to trusted users to your Gogs instance on affected versions.\n\n### References\n\nhttps://www.cve.org/CVERecord?id=CVE-2024-39933\n","status":"published","published":"2024-12-23T20:38:12Z","modified":"2024-12-23T20:56:52.552602Z","cvss":[{"version":"3.1","score":7.7,"vector":"CVSS:3.1/AC:L/AV:N/A:N/C:H/I:N/PR:L/S:C/UI:N","level":"high"}],"cwes":["CWE-88"],"updated_at":"2026-11-02T15:46:51.10002Z"},{"id":"GO-2024-2972","title":"Gogs allows argument injection during the tagging of a new release in github.com/gogs/gogs","description":"Gogs allows argument injection during the tagging of a new release in github.com/gogs/gogs","status":"published","published":"2024-07-09T19:34:07Z","modified":"2026-03-03T04:55:33.641204Z","updated_at":"2026-11-02T15:47:01.453823Z"}]}}
