# CVE-2020-28483: HTTP Response Splitting

- Severity: High 7.1 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.33%, higher than 71% of CVEs (2026-12-01)
- Published: 2021-01-20T17:46:29.476Z
- Modified: 2026-09-10T03:49:05.801Z
- Also known as: GHSA-h395-qcrw-5vmq, GO-2021-0052, SNYK-GOLANG-GITHUBCOMGINGONICGIN-1041736
- Weaknesses: CWE-113, CWE-444
- Assigned by: snyk

## 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.

(As written by CVE List.)

## Affected

- github.com/gin-gonic/gin: before unspecified
- github.com/gin-gonic/gin (Go): before 1.7.7
- gin-gonic gin: before 1.7.0

## Every score

- snyk: 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`
- GitHub: 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`
- NVD: CVSS:2.0 5.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:N`

## References

- <https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-1041736> (patch, third-party-advisory, web)
- <https://github.com/gin-gonic/gin/pull/2474%23issuecomment-729696437> (broken-link)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-28483> (advisory)
- <https://github.com/gin-gonic/gin/issues/2232> (report, web)
- <https://github.com/gin-gonic/gin/issues/2473> (report, web)
- <https://github.com/gin-gonic/gin/issues/2862> (report, web)
- <https://github.com/gin-gonic/gin/pull/2474> (web)
- <https://github.com/gin-gonic/gin/pull/2474#23issuecomment-729696437> (web)
- <https://github.com/gin-gonic/gin/pull/2632> (fix, web)
- <https://github.com/gin-gonic/gin/pull/2675> (fix, web)
- <https://github.com/gin-gonic/gin/pull/2844> (fix, web)
- <https://github.com/gin-gonic/gin/pull/2844/files#diff-e6ce689a25eaef174c2dd51fe869fabbe04a6c6afbd416b23eda138c82e761baR1432> (web)
- <https://github.com/gin-gonic/gin/commit/03e5e05ae089bc989f1ca41841f05504d29e3fd9> (fix, web)
- <https://github.com/gin-gonic/gin/commit/5929d521715610c9dd14898ebbe1d188d5de8937> (fix, web)
- <https://github.com/gin-gonic/gin/commit/bfc8ca285eb46dad60e037d57c545cd260636711> (fix, web)
- <https://pkg.go.dev/vuln/GO-2021-0052> (web)
- <https://github.com/gin-gonic/gin/releases/tag/v1.7.7> (web)
- <https://github.com/gin-gonic/gin/releases/tag/v1.7.0> (web)
- <https://github.com/gin-gonic/gin> (package)

## Sources

- CVE List: [CVE-2020-28483](https://www.cve.org/CVERecord?id=CVE-2020-28483), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-h395-qcrw-5vmq](https://github.com/advisories/GHSA-h395-qcrw-5vmq), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2021-0052](https://pkg.go.dev/vuln/GO-2021-0052), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2020-28483](https://nvd.nist.gov/vuln/detail/CVE-2020-28483), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-28483 · Whole record: https://cve.day/CVE-2020-28483.json · Rebuilt by cve.day 2026-11-25T22:57:57.059Z
