Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. code.gitea.io/gitea
  4. ›
  5. CVE-2021-45330

CVE-2021-45330: Incomplete Cleanup

February 10, 2022 (updated September 8, 2022)

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.

References

  • github.com/advisories/GHSA-pg38-r834-g45j
  • github.com/go-gitea/gitea/issues/4336
  • github.com/go-gitea/gitea/pull/4840
  • nvd.nist.gov/vuln/detail/CVE-2021-45330

Code Behaviors & Features

Detect and mitigate CVE-2021-45330 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.6.0

Fixed versions

  • 1.6.0

Solution

Upgrade to version 1.6.0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-459: Incomplete Cleanup

Source file

go/code.gitea.io/gitea/CVE-2021-45330.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:12 +0000.