Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. gogs.io/gogs
  4. ›
  5. CVE-2022-0415

CVE-2022-0415: Unrestricted Upload of File with Dangerous Type

March 28, 2022 (updated March 29, 2022)

Remote Command Execution in uploading repository file in GitHub repository gogs/gogs prior to 0.12.6.

References

  • github.com/advisories/GHSA-5gjh-5j4f-cpwv
  • github.com/gogs/gogs/commit/0fef3c9082269e9a4e817274942a5d7c50617284
  • github.com/gogs/gogs/issues/6833
  • github.com/gogs/gogs/pull/6838
  • github.com/gogs/gogs/security/advisories/GHSA-5gjh-5j4f-cpwv
  • huntr.dev/bounties/b4928cfe-4110-462f-a180-6d5673797902
  • nvd.nist.gov/vuln/detail/CVE-2022-0415

Code Behaviors & Features

Detect and mitigate CVE-2022-0415 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 0.12.6

Fixed versions

  • 0.12.6

Solution

Upgrade to version 0.12.6 or above.

Impact 8.8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-434: Unrestricted Upload of File with Dangerous Type

Source file

go/gogs.io/gogs/CVE-2022-0415.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:16 +0000.