# CVE-2021-3382: Buffer Overflow in gitea

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.81%, higher than 79% of CVEs (2026-12-01)
- Published: 2021-02-05T15:15:04.000Z
- Modified: 2026-09-08T08:47:33.625Z
- Also known as: GHSA-9f8c-pfvv-p4gm, BIT-GITEA-2021-3382, GO-2024-2757
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/go-gitea/gitea (Go): from 1.9.0 before 1.13.2
- code.gitea.io/gitea (Go): from 1.9.0 before 1.13.2
- gitea gitea: from 1.9.0 up to 1.13.1
- gitea (Bitnami): from 1.9.0 before 1.13.2

## Every score

- GitHub: 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`
- NVD: 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`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/go-gitea/gitea/pull/14390> (advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3382> (advisory, web)
- <https://github.com/go-gitea/gitea> (package)
- <https://github.com/advisories/GHSA-9f8c-pfvv-p4gm> (advisory)

## Sources

- CVE List: [CVE-2021-3382](https://www.cve.org/CVERecord?id=CVE-2021-3382), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-9f8c-pfvv-p4gm](https://github.com/advisories/GHSA-9f8c-pfvv-p4gm), CC-BY-4.0, modified 2024-06-04
- Go Vulnerability Database: [GO-2024-2757](https://pkg.go.dev/vuln/GO-2024-2757), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2021-3382](https://nvd.nist.gov/vuln/detail/CVE-2021-3382), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GITEA-2021-3382](https://osv.dev/vulnerability/BIT-GITEA-2021-3382), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-3382 · Whole record: https://cve.day/CVE-2021-3382.json · Rebuilt by cve.day 2026-11-25T22:57:59.827Z
