CVE-2022-42968: GO-2022-1065 - Gitea vulnerable to Argument Injection in code.gitea.io/gitea

CVE-2022-42968 · Severity: low · CVSS 3.1 · Published 2024-08-21

Gitea vulnerable to Argument Injection in code.gitea.io/gitea

Technologies: code.gitea.io/gitea (Go), github.com/go-gitea/gitea (Go). Vendors: Go.

Quick answers

Is CVE-2022-42968 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2022-42968 being exploited in the wild.
How severe is CVE-2022-42968?
Low severity, with a CVSS score of 3.1, published 21 August 2024.
Which products and versions are affected?
code.gitea.io/gitea (Go) SEMVER:introduced=0,fixed=1.17.3; github.com/go-gitea/gitea (Go) SEMVER:introduced=0,fixed=1.17.3.
Is there a fix for CVE-2022-42968?
Yes. code.gitea.io/gitea (Go): upgrade to 1.17.3 or later; github.com/go-gitea/gitea (Go): upgrade to 1.17.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2022-42968?
Check whether you run code.gitea.io/gitea (Go) or github.com/go-gitea/gitea (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • code.gitea.io/gitea (Go): upgrade to 1.17.3 or later
    go get code.gitea.io/gitea@v1.17.3
  • github.com/go-gitea/gitea (Go): upgrade to 1.17.3 or later
    go get github.com/go-gitea/gitea@v1.17.3

Affected products

  • code.gitea.io/gitea (Go) SEMVER:introduced=0,fixed=1.17.3
  • github.com/go-gitea/gitea (Go) SEMVER:introduced=0,fixed=1.17.3

Identifiers

  • CVE-2022-42968
  • GHSA-w8xw-7crf-h23x
  • GO-2022-1065

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.