Description
This affects all versions of package github.com/gin-gonic/gin. When gin is exposed directly to the internet, a client's IP can be spoofed by setting the X-Forwarded-For header.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | github.com/gin-gonic/gin | < unspecified | unspecified |
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.8.1-1 | — |
| Debian 13 | golang-github-gin-gonic-gin | 1.8.1-1 | — |
| Debian 12 | golang-github-gin-gonic-gin | 1.8.1-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | golang-github-gin-gonic-gin | No fix yet | — |
| Ubuntu 26.04 LTS | golang-github-gin-gonic-gin | No fix yet | — |
| Ubuntu 25.10 | golang-github-gin-gonic-gin | No fix yet | — |
| Ubuntu 24.04 LTS | golang-github-gin-gonic-gin | No fix yet | — |
| Ubuntu 22.04 LTS | golang-github-gin-gonic-gin | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| 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.7.7 | 1.7.7 | GHSA-h395-qcrw-5vmq |