CVE-2022-42968

Critical

Description

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

SeverityCritical
CVSS9.8
Exploit probability—
ProductGitea
PublishedOct 16, 2022
First seenOct 16, 2022
Weakness typeCWE-88CWE-88

How to fix

Update
  • gitea gitea1.17.3 or later
  • github.com/go-gitea/gitea1.17.3 or later
  • code.gitea.io/gitea1.17.3 or later

Affected products

ProductAffected versionsFixed in
gitea giteav < 1.17.31.17.3
github.com/go-gitea/giteaGov < 1.17.31.17.3
code.gitea.io/giteaGov < 1.17.31.17.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.