Critical
golang-github-gogits-go-gogs-client — security advisory
Remote Command Execution in uploading repository file in GitHub repository gogs/gogs prior to 0.12.6.
- Products
- golang-github-gogits-go-gogs-client
- Affected versions
- 0.0~git20160830.0.d8aff57-2, 0.0~git20210131.1d7215c-1
- Fixed versions
- Not specified
- CVEs
- CVE-2022-0415
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:55 UTC · Revision 1
Source evidence
Remote Command Execution in uploading repository file in GitHub repository gogs/gogs prior to 0.12.6.
osv:UBUNTU-CVE-2022-0415
golang-github-gogits-go-gogs-client
Fixed versions: Not specified
golang-github-gogits-go-gogs-client
Fixed versions: Not specified
golang-github-gogits-go-gogs-client
Fixed versions: Not specified
golang-github-gogits-go-gogs-client
Fixed versions: Not specified
golang-github-gogits-go-gogs-client
Fixed versions: Not specified
golang-github-gogits-go-gogs-client
Fixed versions: Not specified
Complete source record
{
"id": "1f3295211e230f1a43533a437a3d47e3c55a25366632c564b939ee301a9820ba",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-0415",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2022-0415",
"summary": "Remote Command Execution in uploading repository file in GitHub repository gogs/gogs prior to 0.12.6.",
"evidence": "osv:UBUNTU-CVE-2022-0415",
"products": [
{
"name": {
"value": "golang-github-gogits-go-gogs-client",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.0~git20160830.0.d8aff57-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "golang-github-gogits-go-gogs-client",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.0~git20160830.0.d8aff57-2",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "golang-github-gogits-go-gogs-client",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.0~git20160830.0.d8aff57-2",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "golang-github-gogits-go-gogs-client",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.0~git20160830.0.d8aff57-2",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "golang-github-gogits-go-gogs-client",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.0~git20210131.1d7215c-1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "golang-github-gogits-go-gogs-client",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.0~git20160830.0.d8aff57-2",
"evidence": "/affected/5/versions"
},
{
"value": "0.0~git20210131.1d7215c-1",
"evidence": "/affected/5/versions"
}
]
}
],
"severity": "critical",
"structured": {
"id": "UBUNTU-CVE-2022-0415",
"aliases": [
"UBUNTU-CVE-2022-0415"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-gogits-go-gogs-client",
"purl": "pkg:deb/ubuntu/golang-github-gogits-go-gogs-client?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"0.0~git20160830.0.d8aff57-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-0415.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-gogits-go-gogs-client-dev",
"binary_version": "0.0~git20160830.0.d8aff57-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-gogits-go-gogs-client",
"purl": "pkg:deb/ubuntu/golang-github-gogits-go-gogs-client?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"0.0~git20160830.0.d8aff57-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-0415.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-gogits-go-gogs-client-dev",
"binary_version": "0.0~git20160830.0.d8aff57-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-gogits-go-gogs-client",
"purl": "pkg:deb/ubuntu/golang-github-gogits-go-gogs-client?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"0.0~git20160830.0.d8aff57-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-0415.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-gogits-go-gogs-client-dev",
"binary_version": "0.0~git20160830.0.d8aff57-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-gogits-go-gogs-client",
"purl": "pkg:deb/ubuntu/golang-github-gogits-go-gogs-client?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"0.0~git20160830.0.d8aff57-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-0415.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-gogits-go-gogs-client-dev",
"binary_version": "0.0~git20160830.0.d8aff57-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-gogits-go-gogs-client",
"purl": "pkg:deb/ubuntu/golang-github-gogits-go-gogs-client?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"0.0~git20210131.1d7215c-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-0415.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-gogits-go-gogs-client-dev",
"binary_version": "0.0~git20210131.1d7215c-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "golang-github-gogits-go-gogs-client",
"purl": "pkg:deb/ubuntu/golang-github-gogits-go-gogs-client?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"0.0~git20160830.0.d8aff57-2",
"0.0~git20210131.1d7215c-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-0415.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "golang-github-gogits-go-gogs-client-dev",
"binary_version": "0.0~git20210131.1d7215c-1"
}
]
}
}
],
"modified": "2026-10-17T12:56:16.264213589Z",
"provider": "osv",
"upstream": [
"CVE-2022-0415"
],
"references": [
"https://ubuntu.com/security/CVE-2022-0415",
"https://github.com/gogs/gogs/commit/0fef3c9082269e9a4e817274942a5d7c50617284",
"https://huntr.dev/bounties/b4928cfe-4110-462f-a180-6d5673797902",
"https://www.cve.org/CVERecord?id=CVE-2022-0415"
]
},
"related_cves": [
{
"value": "CVE-2022-0415",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 355100,
"published_at": "2022-03-21T11:15:00+00:00"
}