CVE-2022-31038 – XSS vulnerability in repository issue list in Gogs
https://notcve.org/view.php?id=CVE-2022-31038
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. • https://github.com/gogs/gogs/commit/155cae1de8916fc3fde78f350763034b7422caee https://github.com/gogs/gogs/pull/7009 https://github.com/gogs/gogs/security/advisories/GHSA-xq4v-vrp9-vcf2 • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') •
CVE-2022-1993 – Path Traversal in gogs/gogs
https://notcve.org/view.php?id=CVE-2022-1993
Path Traversal in GitHub repository gogs/gogs prior to 0.12.9. Un Salto de Ruta en el repositorio de GitHub gogs/gogs versiones anteriores a 0.12.9 • https://github.com/gogs/gogs/commit/9bf748b6c4c9a17d3aa77f6b9abcfae65451febf https://huntr.dev/bounties/22f9c074-cf60-4c67-b5c4-72fdf312609d • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') •
CVE-2022-1992 – Path Traversal in gogs/gogs
https://notcve.org/view.php?id=CVE-2022-1992
Path Traversal in GitHub repository gogs/gogs prior to 0.12.9. Un Salto de Ruta en el repositorio de GitHub gogs/gogs versiones anteriores a 0.12.9 • https://github.com/gogs/gogs/commit/2ca014250fbf0bba94c914d9e43b1f6d8eca3bb0 https://huntr.dev/bounties/2e8cdc57-a9cf-46ae-9088-87f09e6c90ab • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') •
CVE-2022-1285 – Server-Side Request Forgery (SSRF) in gogs/gogs
https://notcve.org/view.php?id=CVE-2022-1285
Server-Side Request Forgery (SSRF) in GitHub repository gogs/gogs prior to 0.12.8. Una vulnerabilidad de tipo Server-Side Request Forgery (SSRF) en el repositorio de GitHub gogs/gogs versiones anteriores a 0.12.8 • https://github.com/gogs/gogs/commit/7885f454a4946c4bbec1b4f8c603b5eea7429c7f https://huntr.dev/bounties/da1fbd6e-7a02-458e-9c2e-6d226c47046d • CWE-918: Server-Side Request Forgery (SSRF) •
CVE-2021-32546
https://notcve.org/view.php?id=CVE-2021-32546
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). • https://github.com/gogs/gogs/releases https://github.com/gogs/gogs/security/advisories/GHSA-56j7-2pm8-rgmx •