CVE-2021-3382 json
Buffer Overflow in gitea
published 5y ago modified 2mo ago also BIT-gitea-2021-3382 , EUVD-2024-1170 , GHSA-9f8c-pfvv-p4gm , GO-2024-2757
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.8%
- EPSS 1.8% chance of exploitation in 30 days, percentile 78%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/go-gitea/gitea 1.13.2
- bitnami gitea 1.13.2
- go code.gitea.io/gitea 1.13.2
- gitea Alpine 3.24, Alpine 3.23, Alpine 3.22 +8 more 1.13.2-r0
alpine advisories ALPINE-CVE-2021-3382
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/go-gitea/gitea#14390 pull request
Is CVE-2021-3382 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.81% chance of exploitation in the next 30 days, higher than 78% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 7.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/go-gitea/gitea | >=1.9.0, <1.13.2 |
1.13.2 |
| bitnami | gitea | >=1.9.0, <1.13.2 |
1.13.2 |
| go | code.gitea.io/gitea | >=1.9.0, <1.13.2 |
1.13.2 |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
github.com
/go-gitea/gitea/pull/14390
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-3382
advisory, web
-
github.com
/go-gitea/gitea
package
-
github.com
/advisories/GHSA-9f8c-pfvv-p4gm
advisory
Sources
- CVE List CVE-2021-3382
- GitHub Advisory GHSA-9f8c-pfvv-p4gm
- NVD CVE-2021-3382
- OSV BIT-gitea-2021-3382
- OSV GO-2024-2757
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.