{"id":"CVE-2021-45330","aliases":["BIT-gitea-2021-45330","EUVD-2022-1126","GHSA-pg38-r834-g45j","GO-2022-0982"],"status":"published","title":"Improper Privilege Management in Gitea","description":"An issue exsits in Gitea through 1.15.7, which could let a malicious user gain privileges due to client side cookies not being deleted and the session remains valid on the server side for reuse.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01447,"percentile":0.73532,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-269","CWE-459"],"published":"2022-02-09T17:16:16Z","modified":"2026-10-24T10:51:25Z","fixes":[{"ecosystem":"Go","package":"code.gitea.io/gitea","fixed_in":["1.6.0"],"sources":["ghsa","osv"]},{"ecosystem":"Bitnami","package":"gitea","fixed_in":["1.15.8"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"code.gitea.io/gitea","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.0"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"gitea","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.15.8"}]}]},{"source":"osv","ecosystem":"Go","package":"code.gitea.io/gitea","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.0"}]}]},{"source":"osv","ecosystem":"Go","package":"code.gitea.io/gitea","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.6.0"}]}]}],"products":[{"vendor":"gitea","product":"gitea"}],"references":[{"url":"https://github.com/go-gitea/gitea/issues/4336","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","advisory","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45330","tags":["web","advisory"]},{"url":"https://github.com/go-gitea/gitea/pull/4840","tags":["web"]},{"url":"https://github.com/advisories/GHSA-pg38-r834-g45j","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2021-45330","description":"An issue exsits in Gitea through 1.15.7, which could let a malicious user gain privileges due to client side cookies not being deleted and the session remains valid on the server side for reuse.","status":"published","published":"2022-02-09T17:16:16Z","modified":"2024-08-04T04:39:20.483Z","updated_at":"2026-11-02T14:33:02.930115Z"}],"euvd":[{"id":"EUVD-2022-1126","description":"An issue exsits in Gitea through 1.15.7, which could let a malicious user gain privileges due to client side cookies not being deleted and the session remains valid on the server side for reuse.","status":"published","published":"2022-02-09T17:16:16Z","modified":"2024-08-04T04:39:20Z","updated_at":"2026-11-03T03:08:27.448176Z"}],"ghsa":[{"id":"GHSA-pg38-r834-g45j","title":"Improper Privilege Management in Gitea","description":"An issue exsits in Gitea through 1.15.7, which could let a malicious user gain privileges due to client side cookies not being deleted and the session remains valid on the server side for reuse.","status":"published","published":"2022-02-10T00:00:20Z","modified":"2023-01-28T05:02:26Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-269"],"updated_at":"2026-11-02T14:36:23.433782Z"}],"nvd":[{"id":"CVE-2021-45330","description":"An issue exsits in Gitea through 1.15.7, which could let a malicious user gain privileges due to client side cookies not being deleted and the session remains valid on the server side for reuse.","status":"published","published":"2022-02-09T18:15:09.97Z","modified":"2026-06-17T04:13:16.52Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-459"],"updated_at":"2026-11-02T14:07:04.6896Z"}],"osv":[{"id":"CVE-2021-45330","description":"An issue exsits in Gitea through 1.15.7, which could let a malicious user gain privileges due to client side cookies not being deleted and the session remains valid on the server side for reuse.","status":"published","published":"2022-02-09T18:15:09.97Z","modified":"2026-10-24T10:51:25.839543092Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:22.18434Z"},{"id":"GHSA-pg38-r834-g45j","title":"Improper Privilege Management in Gitea","description":"An issue exsits in Gitea through 1.15.7, which could let a malicious user gain privileges due to client side cookies not being deleted and the session remains valid on the server side for reuse.","status":"published","published":"2022-02-10T00:00:20Z","modified":"2024-08-21T16:28:40.51253Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-269"],"updated_at":"2026-11-02T15:46:53.244788Z"},{"id":"BIT-gitea-2021-45330","description":"An issue exsits in Gitea through 1.15.7, which could let a malicious user gain privileges due to client side cookies not being deleted and the session remains valid on the server side for reuse.","status":"published","published":"2024-03-06T10:54:05.371Z","modified":"2026-09-08T08:47:33.613397289Z","updated_at":"2026-11-02T15:28:29.999658Z"},{"id":"GO-2022-0982","title":"Improper Privilege Management in Gitea in code.gitea.io/gitea","description":"Improper Privilege Management in Gitea in code.gitea.io/gitea","status":"published","published":"2024-08-21T16:03:21Z","modified":"2026-03-03T04:52:33.136607Z","updated_at":"2026-11-02T15:47:00.918515Z"}]}}
