GO-2020-0021

Source
https://pkg.go.dev/vuln/GO-2020-0021
Import Source
https://vuln.go.dev/ID/GO-2020-0021.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2020-0021
Aliases
Published
2021-04-14T20:04:52Z
Modified
2024-05-20T16:03:47Z
Summary
SQL Injection in github.com/gogits/gogs
Details

Due to improper sanitization of user input, a number of methods are vulnerable to SQL injection if used with user input that has not been sanitized by the caller.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2020-0021"
}
References
Credits
    • Pascal Turbing
    • Jiahua (Joe) Chen

Affected packages

Go / github.com/gogits/gogs

Package

Name
github.com/gogits/gogs
View open source insights on deps.dev
Purl
pkg:golang/github.com/gogits/gogs

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.5.8

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/gogits/gogs",
            "symbols": [
                "GetIssues",
                "SearchRepositoryByName",
                "SearchUserByName"
            ]
        }
    ]
}