CVE-2020-28483
HTTP Response Splitting
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
7.1
HTTP Response Splitting
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.
- Record
CVE-2020-28483- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N - Updated
- 2026-11-02
EUVDEUVD-2021-1332
7.1
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.
- Record
EUVD-2021-1332- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-h395-qcrw-5vmq
7.1
Inconsistent Interpretation of HTTP Requests in 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. This affects all versions of package github.com/gin-gonic/gin under 1.7.7.
- Record
GHSA-h395-qcrw-5vmq- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N - Weakness
- CWE-113, CWE-444
- Updated
- 2026-11-02
NVD
7.1
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.
- Record
CVE-2020-28483- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N - CVSS 2.0
- 5.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:N - Weakness
- CWE-444
- Updated
- 2026-11-02
OSV
7.1
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.
- Record
CVE-2020-28483- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2020-28483
7.1
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.
- Record
DEBIAN-CVE-2020-28483- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N - Updated
- 2026-11-02
OSVGHSA-h395-qcrw-5vmq
7.1
Inconsistent Interpretation of HTTP Requests in 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. This affects all versions of package github.com/gin-gonic/gin under 1.7.7.
- Record
GHSA-h395-qcrw-5vmq- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N - Weakness
- CWE-113, CWE-444
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-28483
7.1
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.
- Record
UBUNTU-CVE-2020-28483- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N - Updated
- 2026-11-02
OSVGO-2021-0052 No score
Inconsistent interpretation of HTTP Requests in github.com/gin-gonic/gin
Due to improper HTTP header sanitization, a malicious user can spoof their source IP address by setting the X-Forwarded-For header. This may allow a user to bypass IP based restrictions, or obfuscate their true source.
- Record
GO-2021-0052- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/gin-gonic/ginGo |
before 1.7.7 | 1.7.7 |
golang-github-gin-gonic-ginDebian:12 |
before 1.8.1-1 | 1.8.1-1 |
golang-github-gin-gonic-ginDebian:13 |
before 1.8.1-1 | 1.8.1-1 |
golang-github-gin-gonic-ginDebian:14 |
before 1.8.1-1 | 1.8.1-1 |
golang-github-gin-gonic-ginUbuntu:18.04:LTS |
All versions, plus listed versions 1.2+dfsg1-21.2+dfsg1-2ubuntu1 |
None known |
golang-github-gin-gonic-ginUbuntu:20.04:LTS |
All versions, plus listed versions 1.3.0+dfsg1-3 |
None known |
golang-github-gin-gonic-ginUbuntu:22.04:LTS |
All versions, plus listed versions 1.6.3-4 |
None known |
golang-github-gin-gonic-ginUbuntu:24.04:LTS |
All versions, plus listed versions 1.8.1-11.8.1-2 |
None known |
golang-github-gin-gonic-ginUbuntu:25.10 |
All versions, plus listed versions 1.8.1-21.8.1-3 |
None known |
golang-github-gin-gonic-ginUbuntu:26.10 |
All versions, plus listed versions 1.8.1-31.8.1-4 |
None known |
golang-github-gin-gonic-ginUbuntu:26.04:LTS |
All versions, plus listed versions 1.8.1-3 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases, products, published | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-28483 is a high vulnerability (CVSS 7.1) in Gin-gonic Gin, published January 20, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.33%, the 71st percentile. Fixed in github.com/gin-gonic/gin 1.7.7.
References
snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-1041736
github.com/gin-gonic/gin/pull/2474%23issuecomment-729696437
nvd.nist.gov/vuln/detail/CVE-2020-28483
github.com/gin-gonic/gin/pull/2632
github.com/gin-gonic/gin/commit/bfc8ca285eb46dad60e037d57c545cd260636711
github.com/gin-gonic/gin/releases/tag/v1.7.0
Show 16 moreShow less
github.com/gin-gonic/gin/issues/2232
github.com/gin-gonic/gin/issues/2473
github.com/gin-gonic/gin/issues/2862
github.com/gin-gonic/gin/pull/2474
github.com/gin-gonic/gin/pull/2675
github.com/gin-gonic/gin/pull/2844
github.com/gin-gonic/gin/commit/03e5e05ae089bc989f1ca41841f05504d29e3fd9
github.com/gin-gonic/gin/commit/5929d521715610c9dd14898ebbe1d188d5de8937
github.com/gin-gonic/gin/releases/tag/v1.7.7
pkg.go.dev/vuln/GO-2021-0052
github.com/gin-gonic/gin/pull/2844/files
github.com/advisories/GHSA-h395-qcrw-5vmq
security-tracker.debian.org/tracker/CVE-2020-28483
github.com/gin-gonic/gin
ubuntu.com/security/CVE-2020-28483
cve.org/CVERecord?id=CVE-2020-28483