CVE-2020-28483
HTTP Response Splitting
Also known as GHSA-h395-qcrw-5vmq, GO-2021-0052, SNYK-GOLANG-GITHUBCOMGINGONICGIN-1041736
Mitigation
- Upgrade github.com/gin-gonic/gin to 1.7.7 or later.
Who should check
- Projects that depend on Go package github.com/gin-gonic/gin (< 1.7.7)
- Anyone running github.com/gin-gonic/gin < unspecified
Vulnerability facts
- Affected
- github.com/gin-gonic/gin < 1.7.7
- Fixed in
- 1.7.7
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: Low
- Availability impact: None
- EPSS
- 1.33% chance of exploitation in 30 days (percentile 71, 2026-11-26)
- CWE
- CWE-444
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/gin-gonic/gin | < 1.7.7 | 1.7.7 | osv |
| github.com/gin-gonic/gin | < unspecified | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2020-28483. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2020-28483.md Affected: github.com/gin-gonic/gin < 1.7.7 Fixed in: 1.7.7 Steps: 1. Search this machine and project for github.com/gin-gonic/gin (Go), github.com/gin-gonic/gin: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-1041736
- https://github.com/gin-gonic/gin/pull/2474%23issuecomment-729696437
- 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
- https://github.com/gin-gonic/gin/commit/bfc8ca285eb46dad60e037d57c545cd260636711
Other
- 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://pkg.go.dev/vuln/GO-2021-0052
- https://github.com/gin-gonic/gin/releases/tag/v1.7.7
- https://github.com/gin-gonic/gin/releases/tag/v1.7.0
- https://github.com/gin-gonic/gin
FAQ
Is CVE-2020-28483 being exploited?
There is no confirmed exploitation: CVE-2020-28483 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.33% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2020-28483?
High: CVSS 7.1 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2020-28483?
github.com/gin-gonic/gin < 1.7.7.
Is there a fix for CVE-2020-28483?
Yes. Fixed in 1.7.7. Upgrade github.com/gin-gonic/gin to 1.7.7 or later.
How do I check if I'm affected by CVE-2020-28483?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.