Advisory

GHSA-p5f9-c9j9-g8qx

Also known as: BIT-gitea-2022-30781, CVE-2022-30781, GO-2022-0450

Summary

Shell command injection in gitea

Details

Gitea before 1.16.7 does not escape the shell out for git fetch remote allowing for shell command injection

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-17 00:01 UTC
Modified
2024-08-21 15:26 UTC

Affected packages and fixes

code.gitea.io/gitea

Go · All systems

Affected

  • introduced 0, fixed 1.16.7 (semver)

Fixed versions

1.16.7

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