{"id":"CVE-2021-3382","aliases":["ALPINE-CVE-2021-3382","BIT-gitea-2021-3382","EUVD-2024-1170","GHSA-9f8c-pfvv-p4gm","GO-2024-2757"],"status":"published","title":"Buffer Overflow in gitea","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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01809,"percentile":0.78781,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-787"],"published":"2021-02-05T15:15:04Z","modified":"2026-11-03T06:32:58Z","fixes":[{"ecosystem":"Go","package":"github.com/go-gitea/gitea","fixed_in":["1.13.2"],"sources":["ghsa","osv"]},{"ecosystem":"Alpine:v3.14","package":"gitea","fixed_in":["1.13.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.15","package":"gitea","fixed_in":["1.13.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.16","package":"gitea","fixed_in":["1.13.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.17","package":"gitea","fixed_in":["1.13.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"gitea","fixed_in":["1.13.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"gitea","fixed_in":["1.13.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"gitea","fixed_in":["1.13.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"gitea","fixed_in":["1.13.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"gitea","fixed_in":["1.13.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"gitea","fixed_in":["1.13.2-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"gitea","fixed_in":["1.13.2-r0"],"sources":["osv"]},{"ecosystem":"Bitnami","package":"gitea","fixed_in":["1.13.2"],"sources":["osv"]},{"ecosystem":"Go","package":"code.gitea.io/gitea","fixed_in":["1.13.2"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/go-gitea/gitea","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.0"},{"fixed":"1.13.2"}]}]},{"source":"osv","ecosystem":"Alpine:v3.14","package":"gitea","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.0"},{"fixed":"1.13.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.15","package":"gitea","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.0"},{"fixed":"1.13.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.16","package":"gitea","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.0"},{"fixed":"1.13.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.17","package":"gitea","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.0"},{"fixed":"1.13.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"gitea","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.0"},{"fixed":"1.13.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"gitea","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.0"},{"fixed":"1.13.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"gitea","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.0"},{"fixed":"1.13.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"gitea","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.0"},{"fixed":"1.13.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"gitea","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.0"},{"fixed":"1.13.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"gitea","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.0"},{"fixed":"1.13.2-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"gitea","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.9.0"},{"fixed":"1.13.2-r0"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"gitea","ranges":[{"type":"SEMVER","events":[{"introduced":"1.9.0"},{"fixed":"1.13.2"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/go-gitea/gitea","ranges":[{"type":"SEMVER","events":[{"introduced":"1.9.0"},{"fixed":"1.13.2"}]}]},{"source":"osv","ecosystem":"Go","package":"code.gitea.io/gitea","ranges":[{"type":"SEMVER","events":[{"introduced":"1.9.0"},{"fixed":"1.13.2"}]}]}],"products":[{"vendor":"gitea","product":"gitea"}],"references":[{"url":"https://github.com/go-gitea/gitea/pull/14390","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3382","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-9f8c-pfvv-p4gm","tags":["advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2021-3382","tags":["advisory"]},{"url":"https://github.com/go-gitea/gitea","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-3382","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.","status":"published","published":"2021-02-05T15:15:04Z","modified":"2024-08-03T16:53:17.484Z","updated_at":"2026-11-02T14:33:04.360272Z"}],"euvd":[{"id":"EUVD-2024-1170","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.","status":"published","published":"2021-02-05T15:15:04Z","modified":"2024-08-03T16:53:17Z","updated_at":"2026-11-03T03:25:12.535968Z"}],"ghsa":[{"id":"GHSA-9f8c-pfvv-p4gm","title":"Buffer Overflow in gitea","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.","status":"published","published":"2024-04-24T20:56:50Z","modified":"2024-04-24T20:56:51Z","cvss":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H","level":"high"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:37:46.019452Z"}],"nvd":[{"id":"CVE-2021-3382","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.","status":"published","published":"2021-02-05T16:15:12.82Z","modified":"2026-06-17T04:05:00.597Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:06:49.660551Z"}],"osv":[{"id":"ALPINE-CVE-2021-3382","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.","status":"published","published":"2021-02-05T16:15:12.82Z","modified":"2026-11-03T06:32:58.438440696Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-03T07:16:09.603409Z"},{"id":"CVE-2021-3382","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.","status":"published","published":"2021-02-05T16:15:12.82Z","modified":"2026-10-24T10:50:07.845411775Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:20.13324Z"},{"id":"GHSA-9f8c-pfvv-p4gm","title":"Buffer Overflow in gitea","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.","status":"published","published":"2024-04-24T20:56:50Z","modified":"2024-06-04T16:56:35.313367Z","cvss":[{"version":"3.1","score":7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H","level":"high"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T15:46:43.524801Z"},{"id":"BIT-gitea-2021-3382","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.","status":"published","published":"2024-03-06T10:55:07.678Z","modified":"2026-09-08T08:47:33.625561816Z","updated_at":"2026-11-02T15:28:29.999658Z"},{"id":"GO-2024-2757","title":"Buffer Overflow in gitea in code.gitea.io/gitea","description":"Buffer Overflow in gitea in code.gitea.io/gitea","status":"published","published":"2024-06-04T15:19:21Z","modified":"2026-03-03T04:55:15.307648Z","updated_at":"2026-11-02T15:47:01.453823Z"}]}}
