VDB
Sign up
MEDIUM5.3

GHSA-7jvx-g65v-r899

Gitea release asset dumps permit path traversal through crafted names

Quick fix

GHSA-7jvx-g65v-r899 — code.gitea.io/gitea: upgrade to the fixed version with the command below.

go get code.gitea.io/gitea@v1.25.5

Details

Gitea versions before 1.25.5 use release tag names and asset names as filesystem path components when dumping release assets, allowing specially crafted names to affect dump output paths.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/code.gitea.io/gitea
Introduced in: 0Fixed in: 1.25.5
Fixgo get code.gitea.io/gitea@v1.25.5

References