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

Advisory record · `GHSA-h395-qcrw-5vmq`

- **Identifiers:** `GHSA-h395-qcrw-5vmq` · `CVE-2020-28483` · `GO-2021-0052` · `SNYK-GOLANG-GITHUBCOMGINGONICGIN-1041736`
- **State:** Confirmed
- **Severity:** CVSS 7.1 High
- **Critical:** No
- **Weakness (CWE):** [CWE-113](https://cwe.mitre.org/data/definitions/113.html) · [CWE-444](https://cwe.mitre.org/data/definitions/444.html)
- **Tags:** [Other injection](https://agentprime.io/advisories/tag/injection.md) · [HTTP request smuggling](https://agentprime.io/advisories/tag/request-smuggling.md)
- **Published:** 23 Jun 2021
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 23 Jun 2021, 17:53 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `github.com/gin-gonic/gin` (Go): affected `<1.7.7`; fixed in `1.7.7`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The gin web framework (github.com/gin-gonic/gin) versions before 1.7.7 are vulnerable. When gin is exposed directly to the internet, a remote client can spoof its IP address by setting the X-Forwarded-For header. Upgrade to gin 1.7.7 or later.

Written 6 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.1 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N`, from CNA (snyk)

- **CISA KEV:** Not listed.
- **EPSS:** 0.013, the 71st percentile, on 7 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:45 UTC: First seen by agentprime
- 31 Oct 2026, 14:45 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-h395-qcrw-5vmq)

## Sources

- [GitHub Advisory Database: GHSA-h395-qcrw-5vmq](https://github.com/advisories/GHSA-h395-qcrw-5vmq)
- [OSV: GHSA-h395-qcrw-5vmq](https://osv.dev/vulnerability/GHSA-h395-qcrw-5vmq)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-28483>
- <https://github.com/gin-gonic/gin/issues/2232>
- <https://github.com/gin-gonic/gin/issues/2473>
- <https://github.com/gin-gonic/gin/issues/2862>
- <https://github.com/gin-gonic/gin/pull/2474>
- <https://github.com/gin-gonic/gin/pull/2474#23issuecomment-729696437>
- <https://github.com/gin-gonic/gin/pull/2632>
- <https://github.com/gin-gonic/gin/pull/2675>
- <https://github.com/gin-gonic/gin/pull/2844>
- <https://github.com/gin-gonic/gin/pull/2844/files#diff-e6ce689a25eaef174c2dd51fe869fabbe04a6c6afbd416b23eda138c82e761baR1432>
- <https://github.com/gin-gonic/gin/commit/03e5e05ae089bc989f1ca41841f05504d29e3fd9>
- <https://github.com/gin-gonic/gin/commit/5929d521715610c9dd14898ebbe1d188d5de8937>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-h395-qcrw-5vmq>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-h395-qcrw-5vmq/>. Everything for agents: <https://agentprime.io/llms.txt>.
