Description
Unsanitized input in the default logger in github.com/gin-gonic/gin before v1.6.0 allows remote attackers to inject arbitrary log lines.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| github.com/gin-gonic/gin | github.com/gin-gonic/gin | < 1.6.0 | 1.6.0 |
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | golang-github-gin-gonic-gin | 1.6.3-1 | — |
| Debian 13 | golang-github-gin-gonic-gin | 1.6.3-1 | — |
| Debian 12 | golang-github-gin-gonic-gin | 1.6.3-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | golang-github-gin-gonic-gin | No fix yet | — |
| Ubuntu 18.04 LTS | golang-github-gin-gonic-gin | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/gin-gonic/gin | < 1.6.0 | 1.6.0 | GHSA-6vm3-jj99-7229 |