Arbitrary Argument Injection Affecting github.com/gogs/gogs/internal/db package, versions <0.13.1-rc.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMGOGSGOGSINTERNALDB-8548093
  • published23 Dec 2024
  • disclosed4 Jul 2024
  • creditswapgs

Introduced: 4 Jul 2024

CVE-2024-39933  (opens in a new tab)
CWE-88  (opens in a new tab)

How to fix?

Upgrade github.com/gogs/gogs/internal/db to version 0.13.1-rc.1 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Argument Injection by manipulating an HTTP request like /<user>/<repo>/_preview/<branch>/--. A low-privileged user can compromise the output of the release tagging procedure.

CVSS Scores

version 4.0
version 3.1