Buffer Overflow Affecting code.gitea.io/gitea/routers/repo package, versions *


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.19% (57th 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-CODEGITEAIOGITEAROUTERSREPO-1061997
  • published19 Jan 2021
  • disclosed19 Jan 2021
  • credit59lx

Introduced: 19 Jan 2021

CVE-2021-3382  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Buffer Overflow. The incorrect use of filepath instead of path means that it is possible to cause a stack overflow on Windows.

References

CVSS Scores

version 3.1