Improper Input Validation Affecting code.gitea.io/gitea/modules/git package, versions <1.17.3


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.14% (64th 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-CODEGITEAIOGITEAMODULESGIT-3050544
  • published16 Oct 2022
  • disclosed16 Oct 2022
  • creditUnknown

Introduced: 16 Oct 2022

CVE-2022-42968  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade code.gitea.io/gitea/modules/git to version 1.17.3 or higher.

Overview

code.gitea.io/gitea/modules/git is a Go module to access Git through shell commands.

Affected versions of this package are vulnerable to Improper Input Validation when processing Git arguments in command.go.

CVSS Base Scores

version 3.1