VDB

CVE-2022-42968

CVE-2022-42968 PUBLISHED CVSS 9.8 CRITICAL

Gitea vulnerable to Argument Injection

Reported by mitre · Published October 16, 2022

github.com/go-gitea/gitea is fixed in 1.17.3 (Go Modules)

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/go-gitea/giteaGo Modules1.17.3
giteaAlpine1.17.3-r0
giteagitea1.17.3

Risk scores

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

Affected products

VendorProductVersions
n/an/an/a
alpinegitea0
github.comgo-gitea/gitea0
n/an/a*

Timeline

  • Oct 16, 2022 CVE Published
  • Oct 16, 2022 EPSS Score (30 in total, the first dated here)
  • Oct 21, 2022 CVE Updated
  • Mar 11, 2026 Security Advisory (2 in total, the first dated here)
  • Jun 14, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-42968
vulnetix vdb fixes CVE-2022-42968

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-42968/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›