Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/go-gitea/gitea
  4. ›
  5. CVE-2022-42968

CVE-2022-42968: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

October 16, 2022 (updated December 3, 2022)

Gitea before 1.17.3 does not sanitize and escape refs in the git backend. Arguments to git commands are mishandled.

References

  • github.com/go-gitea/gitea/pull/21463
  • github.com/go-gitea/gitea/releases/tag/v1.17.3
  • nvd.nist.gov/vuln/detail/CVE-2022-42968

Code Behaviors & Features

Detect and mitigate CVE-2022-42968 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.17.3

Fixed versions

  • 1.17.3

Solution

Upgrade to version 1.17.3 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

Source file

go/github.com/go-gitea/gitea/CVE-2022-42968.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:42 +0000.