Affected by GO-2022-1060
and 4 other vulnerabilities
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-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
package
Version:
v0.12.11-rc.1
Opens a new window with list of versions in this module.
Published: Feb 25, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
DecodeBasic extracts username and password from given header using HTTP Basic Auth.
It returns empty strings if values are not presented or not valid.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.