Skip to content
OpenAdvisories
Critical · 9.9 Scanner template CVE-2022-0415 EUVD-2022-1322GHSA-5gjh-5j4f-cpwvGO-2022-0554

Remote Command Execution in uploading repository file in gogs/gogs

Published Mar 21, 2022 · Updated Aug 2, 2024 · Assigned by @huntrdev

Description

Remote Command Execution in uploading repository file in GitHub repository gogs/gogs prior to 0.12.6.

Affected products

VendorProductAffectedFixed
gogs gogs/gogs unspecified – < 0.12.6 0.12.6

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 golang-github-gogits-go-gogs-client No fix yet —
Ubuntu 26.04 LTS golang-github-gogits-go-gogs-client No fix yet —
Ubuntu 25.10 golang-github-gogits-go-gogs-client No fix yet —
Ubuntu 24.04 LTS golang-github-gogits-go-gogs-client No fix yet —
Ubuntu 22.04 LTS golang-github-gogits-go-gogs-client No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS golang-github-gogits-go-gogs-client No fix yet —

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Go gogs.io/gogs < 0.12.6 0.12.6 GHSA-5gjh-5j4f-cpwv

References