Advisory

GHSA-h395-qcrw-5vmq

Also known as: CVE-2020-28483, GO-2021-0052, SNYK-GOLANG-GITHUBCOMGINGONICGIN-1041736

Summary

Inconsistent Interpretation of HTTP Requests in github.com/gin-gonic/gin

Details

When gin is exposed directly to the internet, a client's IP can be spoofed by setting the X-Forwarded-For header. This affects all versions of package github.com/gin-gonic/gin under 1.7.7.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-06-23 17:53 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

github.com/gin-gonic/gin

Go · All systems

Affected

  • introduced 0, fixed 1.7.7 (semver)

Fixed versions

1.7.7

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