Every CVE Search/ Get API key

CVE-2021-3382

Buffer Overflow in gitea

7.5 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.81%Up 1.2 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

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.

Record
CVE-2021-3382
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-787
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2021-3382
Updated
2026-11-02
EUVDEUVD-2024-1170 No score

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.

Record
EUVD-2024-1170
Updated
2026-11-03
GitHub AdvisoriesGHSA-9f8c-pfvv-p4gm 7.0

Buffer Overflow in gitea

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.

Record
GHSA-9f8c-pfvv-p4gm
CVSS 3.1
7.0 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
Weakness
CWE-787
Updated
2026-11-02
OSVALPINE-CVE-2021-3382 7.5

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.

Record
ALPINE-CVE-2021-3382
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-03
OSV 7.5

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.

Record
CVE-2021-3382
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVGHSA-9f8c-pfvv-p4gm 7.0

Buffer Overflow in gitea

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.

Record
GHSA-9f8c-pfvv-p4gm
CVSS 3.1
7.0 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
Weakness
CWE-787
Updated
2026-11-02
OSVBIT-gitea-2021-3382 No score

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.

Record
BIT-gitea-2021-3382
Updated
2026-11-02
OSVGO-2024-2757 No score

Buffer Overflow in gitea in code.gitea.io/gitea

Buffer Overflow in gitea in code.gitea.io/gitea

Record
GO-2024-2757
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
github.com/go-gitea/gitea
Go
1.9.0 up to 1.13.2
1.13.2
gitea
Alpine:v3.14
1.9.0 up to 1.13.2-r0
1.13.2-r0
gitea
Alpine:v3.15
1.9.0 up to 1.13.2-r0
1.13.2-r0
gitea
Alpine:v3.16
1.9.0 up to 1.13.2-r0
1.13.2-r0
gitea
Alpine:v3.17
1.9.0 up to 1.13.2-r0
1.13.2-r0
gitea
Alpine:v3.18
1.9.0 up to 1.13.2-r0
1.13.2-r0
gitea
Alpine:v3.19
1.9.0 up to 1.13.2-r0
1.13.2-r0
gitea
Alpine:v3.20
1.9.0 up to 1.13.2-r0
1.13.2-r0
gitea
Alpine:v3.21
1.9.0 up to 1.13.2-r0
1.13.2-r0
gitea
Alpine:v3.22
1.9.0 up to 1.13.2-r0
1.13.2-r0
Show 4 moreShow less
Affected packages
PackageAffectedFixed
gitea
Alpine:v3.23
1.9.0 up to 1.13.2-r0
1.13.2-r0
gitea
Alpine:v3.24
1.9.0 up to 1.13.2-r0
1.13.2-r0
gitea
Bitnami
1.9.0 up to 1.13.2
1.13.2
code.gitea.io/gitea
Go
1.9.0 up to 1.13.2
1.13.2

History

History
RecordedChangedSources
affected, aliases, referencesOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-3382 is a high vulnerability (CVSS 7.5) in Gitea, published February 5, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.81%, the 78th percentile. Fixed in github.com/go-gitea/gitea 1.13.2.

References

MoveEnter Open