Advisory

GHSA-w8xw-7crf-h23x

Also known as: BIT-gitea-2022-42968, CVE-2022-42968, GO-2022-1065

Summary

Gitea vulnerable to Argument Injection

Details

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

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-10-16 12:00 UTC
Modified
2024-08-21 16:28 UTC

Affected packages and fixes

github.com/go-gitea/gitea

Go · All systems

Affected

  • introduced 0, fixed 1.17.3 (semver)

Fixed versions

1.17.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences