Live threats

All CVEs / Gitea

CVE-2021-3382Gitea

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.8%
probability of exploitation in 30 days · percentile 79
Auth required
No
Published
Feb 5, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-787
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

Stack buffer overflow vulnerability in gitea 1.9.0 through 1.13.1 allows remote attackers to cause a denial of service (crash) via vectors related to a file path.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gitea.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go code.gitea.io/gitea ≥ 1.9.0 < 1.13.2 1.13.2 go get code.gitea.io/gitea@v1.13.2
Go github.com/go-gitea/gitea ≥ 1.9.0 < 1.13.2 1.13.2 go get github.com/go-gitea/gitea@v1.13.2

Per OSV / GitHub Advisories (GO-2024-2757, GHSA-9f8c-pfvv-p4gm). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
giteagitea≥ 1.9.0 ≤ 1.13.1

Official sources

References

Links published by the sources. Open them with care.