Advisory

GHSA-mr6h-chqp-p9g2

Also known as: CVE-2014-8681, GO-2020-0021

Summary

SQL Injection in gogs.io/gogs

Details

SQL injection vulnerability in the GetIssues function in models/issue.go in Gogs (aka Go Git Service) 0.3.1-9 through 0.5.6.x before 0.5.6.1025 Beta allows remote attackers to execute arbitrary SQL commands via the label parameter to user/repos/issues.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-06-29 18:32 UTC
Modified
2023-11-08 03:57 UTC

Affected packages and fixes

gogs.io/gogs

Go · All systems

Affected

  • introduced 0.3.1, fixed 0.5.8 (semver)

Fixed versions

0.5.8

Fix

github.com/gogits/gogs

Go · All systems

Affected

  • introduced 0.3.1, fixed 0.5.8 (semver)

Fixed versions

0.5.8

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences