CVE-2024-39933: Gogs allows argument Injection when tagging new releases
Unprivileged 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.
References
- github.com/advisories/GHSA-m27m-h5gj-wwmg
- github.com/gogs/gogs
- github.com/gogs/gogs/commit/76831d0d06c44c5cf46dc22b380440b7507c2f07
- github.com/gogs/gogs/pull/7872
- github.com/gogs/gogs/security/advisories/GHSA-m27m-h5gj-wwmg
- nvd.nist.gov/vuln/detail/CVE-2024-39933
- www.sonarsource.com/blog/securing-developer-tools-unpatched-code-vulnerabilities-in-gogs-1
Detect and mitigate CVE-2024-39933 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →