Affected by GO-2022-0310
and 18 other vulnerabilities
GO-2022-0310: Capture-replay in Gitea in code.gitea.io/gitea
GO-2022-0315: Reuse of one time passwords allowed in Gitea in code.gitea.io/gitea
GO-2022-0353: Path Traversal in Gitea in code.gitea.io/gitea
GO-2022-0442: Arbitrary file deletion in gitea in code.gitea.io/gitea
GO-2022-0450: Shell command injection in gitea in code.gitea.io/gitea
GO-2022-0609: Gitea Missing Authorization vulnerability in code.gitea.io/gitea
GO-2022-0612: Stored Cross-site Scripting in gitea in code.gitea.io/gitea
GO-2022-0830: Denial of Service in Gitea in code.gitea.io/gitea
GO-2022-0832: Cross-site Scripting in Gitea in code.gitea.io/gitea
GO-2022-0844: Gitea Remote Code Execution (RCE) in code.gitea.io/gitea
GO-2022-0982: Improper Privilege Management in Gitea in code.gitea.io/gitea
GO-2022-1065: Gitea vulnerable to Argument Injection in code.gitea.io/gitea
GO-2023-1894: code.gitea.io/gitea Open Redirect vulnerability
GO-2023-1922: Gitea XSS Vulnerability in code.gitea.io/gitea
GO-2023-1971: Gogs and Gitea SSRF Vulnerability in code.gitea.io/gitea
GO-2023-1999: Gitea erroneous repo clones in code.gitea.io/gitea
GO-2024-2769: Gitea allowed assignment of private issues in code.gitea.io/gitea
GO-2024-3056: Gitea Cross-site Scripting Vulnerability in code.gitea.io/gitea
package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Dec 23, 2016
License: MIT
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 75
Opens a new window with list of known importers.
Documentation
¶
Migrate database to current version
Migration describes on migration from lower version to high version
NewMigration creates a new migration
type TAccessToken struct {
ID int64 `xorm:"pk autoincr"`
CreatedUnix int64
UpdatedUnix int64
}
TAccessToken defines the struct for migrating table access_token
TableName will be invoked by XORM to customrize the table name
type TAction struct {
ID int64 `xorm:"pk autoincr"`
CreatedUnix int64
}
TAction defines the struct for migrating table action
TableName will be invoked by XORM to customrize the table name
type TAttachment struct {
ID int64 `xorm:"pk autoincr"`
CreatedUnix int64
}
TAttachment defines the struct for migrating table attachment
TableName will be invoked by XORM to customrize the table name
TComment defines the struct for migrating table comment
TableName will be invoked by XORM to customrize the table name
type TDeployKey struct {
ID int64 `xorm:"pk autoincr"`
CreatedUnix int64
UpdatedUnix int64
}
TDeployKey defines the struct for migrating table deploy_key
TableName will be invoked by XORM to customrize the table name
type TIssue struct {
ID int64 `xorm:"pk autoincr"`
DeadlineUnix int64
CreatedUnix int64
UpdatedUnix int64
}
TIssue defines the struct for migrating table issue
TableName will be invoked by XORM to customrize the table name
type TLoginSource struct {
ID int64 `xorm:"pk autoincr"`
CreatedUnix int64
UpdatedUnix int64
}
TLoginSource defines the struct for migrating table login_source
TableName will be invoked by XORM to customrize the table name
type TMilestone struct {
ID int64 `xorm:"pk autoincr"`
DeadlineUnix int64
ClosedDateUnix int64
}
TMilestone defines the struct for migrating table milestone
TableName will be invoked by XORM to customrize the table name
type TMirror struct {
ID int64 `xorm:"pk autoincr"`
UpdatedUnix int64
NextUpdateUnix int64
}
TMirror defines the struct for migrating table mirror
TableName will be invoked by XORM to customrize the table name
type TNotice struct {
ID int64 `xorm:"pk autoincr"`
CreatedUnix int64
}
TNotice defines the struct for migrating table notice
TableName will be invoked by XORM to customrize the table name
type TPublicKey struct {
ID int64 `xorm:"pk autoincr"`
CreatedUnix int64
UpdatedUnix int64
}
TPublicKey defines the struct for migrating table public_key
TableName will be invoked by XORM to customrize the table name
type TPull struct {
ID int64 `xorm:"pk autoincr"`
MergedUnix int64
}
TPull defines the struct for migrating table pull_request
TableName will be invoked by XORM to customrize the table name
type TRelease struct {
ID int64 `xorm:"pk autoincr"`
CreatedUnix int64
}
TRelease defines the struct for migrating table release
TableName will be invoked by XORM to customrize the table name
type TRepo struct {
ID int64 `xorm:"pk autoincr"`
CreatedUnix int64
UpdatedUnix int64
}
TRepo defines the struct for migrating table repository
TableName will be invoked by XORM to customrize the table name
type TUser struct {
ID int64 `xorm:"pk autoincr"`
CreatedUnix int64
UpdatedUnix int64
}
TUser defines the struct for migrating table user
TableName will be invoked by XORM to customrize the table name
type TWebhook struct {
ID int64 `xorm:"pk autoincr"`
CreatedUnix int64
UpdatedUnix int64
}
TWebhook defines the struct for migrating table webhook
TableName will be invoked by XORM to customrize the table name
type UserV14 struct {
DiffViewStyle string `xorm:"NOT NULL DEFAULT ''"`
}
UserV14 describes the added fields for migrating from v13 -> v14
TableName will be invoked by XORM to customrize the table name
type Version struct {
ID int64 `xorm:"pk autoincr"`
Version int64
}
Version describes the version table. Should have only one row with id==1
Source Files
¶
Click to show internal directories.
Click to hide internal directories.