Arbitrary Code Execution Affecting github.com/go-gitea/gitea/modules/setting package, versions >0.5.5 <1.13.0-RC1


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Mature
EPSS
96.95% (100th 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 Learn

Learn about Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMGOGITEAGITEAMODULESSETTING-1018894
  • published16 Oct 2020
  • disclosed16 Oct 2020
  • creditNiklas Goerke

Introduced: 16 Oct 2020

CVE-2020-14144  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade github.com/go-gitea/gitea/modules/setting to version 1.13.0-RC1 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution. If Gitea is installed as documented, the user running git hooks has limited permissions on the system but Gitea does not enforce this. Neither the documentation nor the UI contains a warning that explains the consequences of the git hook feature and the associated privilege.

CVSS Scores

version 3.1