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

CVE-2024-44625: Unpatched Remote Code Execution in Gogs

November 15, 2024 (updated November 20, 2024)

Gogs <=0.13.0 is vulnerable to Directory Traversal via the editFilePost function of internal/route/repo/editor.go.

References

  • fysac.github.io/posts/2024/11/unpatched-remote-code-execution-in-gogs
  • github.com/advisories/GHSA-phm4-wf3h-pc3r
  • github.com/gogs/gogs
  • gogs.io/
  • nvd.nist.gov/vuln/detail/CVE-2024-44625
  • pkg.go.dev/vuln/GO-2024-3275

Code Behaviors & Features

Detect and mitigate CVE-2024-44625 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 up to 0.13.0

Solution

Unfortunately, there is no solution available yet.

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-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/gogs.io/gogs/CVE-2024-44625.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:17 +0000.