Remote Code Execution (RCE) Affecting code.gitea.io/gitea package, versions <1.5.2


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.68% (80th 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 Remote Code Execution (RCE) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-CODEGITEAIOGITEA-1083937
  • published28 Nov 2018
  • disclosed4 Nov 2018
  • creditUnknown

Introduced: 4 Nov 2018

CVE-2018-18926  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade code.gitea.io/gitea to version 1.5.2 or higher.

Overview

code.gitea.io/gitea is a self-hosted git service.

Affected versions of this package are vulnerable to Remote Code Execution (RCE) due to not properly validating session IDs. This is related to session ID handling in the go-macaron/session code for Macaron.

CVSS Scores

version 3.1