CVE-2021-3382
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.
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
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 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
github.com/go-gitea/giteaGo |
1.9.0 up to 1.13.2 | 1.13.2 |
giteaAlpine:v3.14 |
1.9.0 up to 1.13.2-r0 | 1.13.2-r0 |
giteaAlpine:v3.15 |
1.9.0 up to 1.13.2-r0 | 1.13.2-r0 |
giteaAlpine:v3.16 |
1.9.0 up to 1.13.2-r0 | 1.13.2-r0 |
giteaAlpine:v3.17 |
1.9.0 up to 1.13.2-r0 | 1.13.2-r0 |
giteaAlpine:v3.18 |
1.9.0 up to 1.13.2-r0 | 1.13.2-r0 |
giteaAlpine:v3.19 |
1.9.0 up to 1.13.2-r0 | 1.13.2-r0 |
giteaAlpine:v3.20 |
1.9.0 up to 1.13.2-r0 | 1.13.2-r0 |
giteaAlpine:v3.21 |
1.9.0 up to 1.13.2-r0 | 1.13.2-r0 |
giteaAlpine:v3.22 |
1.9.0 up to 1.13.2-r0 | 1.13.2-r0 |
Show 4 moreShow less
| Package | Affected | Fixed |
|---|---|---|
giteaAlpine:v3.23 |
1.9.0 up to 1.13.2-r0 | 1.13.2-r0 |
giteaAlpine:v3.24 |
1.9.0 up to 1.13.2-r0 | 1.13.2-r0 |
giteaBitnami |
1.9.0 up to 1.13.2 | 1.13.2 |
code.gitea.io/giteaGo |
1.9.0 up to 1.13.2 | 1.13.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE 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.