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

CVE-2022-1058: Gitea Open Redirect

March 25, 2022 (updated April 24, 2024)

Open Redirect on login in GitHub repository go-gitea/gitea prior to 1.16.5.

References

  • github.com/advisories/GHSA-4rqq-rxvc-v2rc
  • github.com/go-gitea/gitea
  • github.com/go-gitea/gitea/commit/e3d8e92bdc67562783de9a76b5b7842b68daeb48
  • github.com/go-gitea/gitea/pull/19175
  • github.com/go-gitea/gitea/pull/19186
  • huntr.dev/bounties/4fb42144-ac70-4f76-a5e1-ef6b5e55dc0d
  • nvd.nist.gov/vuln/detail/CVE-2022-1058

Code Behaviors & Features

Detect and mitigate CVE-2022-1058 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.16.5

Fixed versions

  • 1.16.5

Solution

Upgrade to version 1.16.5 or above.

Impact 6.1 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect')

Source file

go/code.gitea.io/gitea/CVE-2022-1058.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:21 +0000.