Affected by GO-2022-0369
and 22 other vulnerabilities
GO-2022-0369 : Gogs vulnerable to improper PAM authorization handling in gogs.io/gogs
GO-2022-0473 : Cross site scripting via cookies in gogs in gogs.io/gogs
GO-2022-0483 : Cross-site Scripting vulnerability in repository issue list in Gogs in gogs.io/gogs
GO-2022-0554 : Unrestricted Upload of File with Dangerous Type in Gogs in gogs.io/gogs
GO-2022-0556 : OS Command Injection in file editor in Gogs in gogs.io/gogs
GO-2022-0562 : Path Traversal in Git HTTP endpoints in Gogs in gogs.io/gogs
GO-2022-0570 : Path Traversal in file editor on Windows in Gogs in gogs.io/gogs
GO-2022-0583 : Server-Side Request Forgery in gogs webhook in gogs.io/gogs
GO-2022-1060 : Gogs vulnerable to Cross-site Scripting in gogs.io/gogs
GO-2023-1596 : Gogs OS Command Injection vulnerability in gogs.io/gogs
GO-2023-1971 : Gogs and Gitea SSRF Vulnerability in code.gitea.io/gitea
GO-2024-3275 : Unpatched Remote Code Execution in Gogs in gogs.io/gogs
GO-2024-3355 : Remote Command Execution in file editing in gogs in gogs.io/gogs
GO-2024-3356 : Path Traversal in file update API in gogs in gogs.io/gogs
Discover Packages
gogs.io/gogs
modules
bindata
package
Version:
v0.8.25
Opens a new window with list of versions in this module.
Published: Jan 30, 2016
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Asset loads and returns the asset for the given name.
It returns an error if the asset could not be found or
could not be loaded.
AssetDir returns the file names below a certain
directory embedded in the file by go-bindata.
For example if you run go-bindata on data/... and data contains the
following hierarchy:
data/
foo.txt
img/
a.png
b.png
then AssetDir("data") would return []string{"foo.txt", "img"}
AssetDir("data/img") would return []string{"a.png", "b.png"}
AssetDir("foo.txt") and AssetDir("notexist") would return an error
AssetDir("") will return []string{"data"}.
AssetInfo loads and returns the asset info for the given name.
It returns an error if the asset could not be found or
could not be loaded.
AssetNames returns the names of the assets.
MustAsset is like Asset but panics when Asset would return an error.
It simplifies safe initialization of global variables.
RestoreAsset restores an asset under the given directory
RestoreAssets restores an asset under the given directory recursively
Source Files
¶
Click to show internal directories.
Click to hide internal directories.