Vulnerabilities (CVE)

Filtered by vendor Gogs Subscribe
Filtered by product Gogs
Total 25 CVE
CVE Vendors Products Updated CVSS v2 CVSS v3
CVE-2024-44625 1 Gogs 1 Gogs 2024-11-19 N/A 8.8 HIGH
Gogs <=0.13.0 is vulnerable to Directory Traversal via the editFilePost function of internal/route/repo/editor.go.
CVE-2022-1884 2 Gogs, Microsoft 2 Gogs, Windows 2024-11-19 N/A 9.8 CRITICAL
A remote command execution vulnerability exists in gogs/gogs versions <=0.12.7 when deployed on a Windows server. The vulnerability arises due to improper validation of the `tree_path` parameter during file uploads. An attacker can set `tree_path=.git.` to upload a file into the .git directory, allowing them to write or rewrite the `.git/config` file. If the `core.sshCommand` is set, this can lead to remote command execution.
CVE-2022-2024 1 Gogs 1 Gogs 2024-02-04 N/A 9.8 CRITICAL
OS Command Injection in GitHub repository gogs/gogs prior to 0.12.11.
CVE-2022-32174 1 Gogs 1 Gogs 2024-02-04 N/A 9.0 CRITICAL
In Gogs, versions v0.6.5 through v0.12.10 are vulnerable to Stored Cross-Site Scripting (XSS) that leads to an account takeover.
CVE-2022-1464 1 Gogs 1 Gogs 2024-02-04 3.5 LOW 5.4 MEDIUM
Stored xss bug in GitHub repository gogs/gogs prior to 0.12.7. As the repo is public , any user can view the report and when open the attachment then xss is executed. This bug allow executed any javascript code in victim account .
CVE-2022-0871 1 Gogs 1 Gogs 2024-02-04 5.8 MEDIUM 9.1 CRITICAL
Missing Authorization in GitHub repository gogs/gogs prior to 0.12.5.
CVE-2022-0870 1 Gogs 1 Gogs 2024-02-04 5.0 MEDIUM 5.3 MEDIUM
Server-Side Request Forgery (SSRF) in GitHub repository gogs/gogs prior to 0.12.5.
CVE-2022-0415 1 Gogs 1 Gogs 2024-02-04 6.5 MEDIUM 8.8 HIGH
Remote Command Execution in uploading repository file in GitHub repository gogs/gogs prior to 0.12.6.
CVE-2022-1285 1 Gogs 1 Gogs 2024-02-04 4.3 MEDIUM 6.5 MEDIUM
Server-Side Request Forgery (SSRF) in GitHub repository gogs/gogs prior to 0.12.8.
CVE-2021-32546 1 Gogs 1 Gogs 2024-02-04 6.5 MEDIUM 8.8 HIGH
Missing input validation in internal/db/repo_editor.go in Gogs before 0.12.8 allows an attacker to execute code remotely. An unprivileged attacker (registered user) can overwrite the Git configuration in his repository. This leads to Remote Command Execution, because that configuration can contain an option such as sshCommand, which is executed when a master branch is a remote branch (using an ssh:// URI). The remote branch can also be configured by editing the Git configuration file. One can create a new file in a new repository, using the GUI, with "\" as its name, and then rename this file to .git/config with the custom configuration content (and then save it).
CVE-2022-1992 2 Gogs, Microsoft 2 Gogs, Windows 2024-02-04 6.4 MEDIUM 9.1 CRITICAL
Path Traversal in GitHub repository gogs/gogs prior to 0.12.9.
CVE-2022-1993 1 Gogs 1 Gogs 2024-02-04 5.5 MEDIUM 8.1 HIGH
Path Traversal in GitHub repository gogs/gogs prior to 0.12.9.
CVE-2022-31038 1 Gogs 1 Gogs 2024-02-04 3.5 LOW 5.4 MEDIUM
Gogs is an open source self-hosted Git service. In versions of gogs prior to 0.12.9 `DisplayName` does not filter characters input from users, which leads to an XSS vulnerability when directly displayed in the issue list. This issue has been resolved in commit 155cae1d which sanitizes `DisplayName` prior to display to the user. All users of gogs are advised to upgrade. Users unable to upgrade should check their users' display names for malicious characters.
CVE-2022-1986 1 Gogs 1 Gogs 2024-02-04 7.5 HIGH 9.8 CRITICAL
OS Command Injection in GitHub repository gogs/gogs prior to 0.12.9.
CVE-2020-15867 1 Gogs 1 Gogs 2024-02-04 6.5 MEDIUM 7.2 HIGH
The git hook feature in Gogs 0.5.5 through 0.12.2 allows for authenticated remote code execution. There can be a privilege escalation if access to this hook feature is granted to a user who does not have administrative privileges. NOTE: because this is mentioned in the documentation but not in the UI, it could be considered a "Product UI does not Warn User of Unsafe Actions" issue.
CVE-2020-14958 1 Gogs 1 Gogs 2024-02-04 4.0 MEDIUM 6.5 MEDIUM
In Gogs 0.11.91, MakeEmailPrimary in models/user_mail.go lacks a "not the owner of the email" check.
CVE-2020-9329 1 Gogs 1 Gogs 2024-02-04 4.3 MEDIUM 5.9 MEDIUM
Gogs through 0.11.91 allows attackers to violate the admin-specified repo-creation policy due to an internal/db/repo.go race condition.
CVE-2019-14544 1 Gogs 1 Gogs 2024-02-04 7.5 HIGH 9.8 CRITICAL
routes/api/v1/api.go in Gogs 0.11.86 lacks permission checks for routes: deploy keys, collaborators, and hooks.
CVE-2018-16409 1 Gogs 1 Gogs 2024-02-04 5.0 MEDIUM 8.6 HIGH
In Gogs 0.11.53, an attacker can use migrate to send arbitrary HTTP GET requests, leading to SSRF.
CVE-2018-15192 2 Gitea, Gogs 2 Gitea, Gogs 2024-02-04 5.0 MEDIUM 8.6 HIGH
An SSRF vulnerability in webhooks in Gitea through 1.5.0-rc2 and Gogs through 0.11.53 allows remote attackers to access intranet services.