{"id":"CVE-2020-28483","aliases":["CVE-2020-28483","GHSA-h395-qcrw-5vmq","GO-2021-0052","SNYK-GOLANG-GITHUBCOMGINGONICGIN-1041736"],"related":[],"kind":"vulnerability","state":"published","title":"HTTP Response Splitting","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"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.","format":"markdown","source":"go"},{"lang":"es","text":"Esto afecta a todas las versiones del paquete github.com/gin-gonic/gin.&#xa0;Cuando gin se expone directamente a Internet, la IP de un cliente se puede falsificar configurando el encabezado X-Fordered-For","source":"nvd"}],"published":"2021-01-20T17:46:29.476Z","modified":"2026-09-10T03:49:05.801Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N","score":7.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","score":5.8,"rating":"MEDIUM"}],"cwes":["CWE-113","CWE-444"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"unspecified","status":"affected"}],"product":"github.com/gin-gonic/gin","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.7.7"}],"ecosystem":"Go","package":"github.com/gin-gonic/gin","purl":"pkg:golang/github.com/gin-gonic/gin","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.7.7"}],"ecosystem":"Go","package":"github.com/gin-gonic/gin","purl":"pkg:golang/github.com/gin-gonic/gin","source":"go"},{"ranges":[{"status":"affected","fixed":"1.7.0"}],"vendor":"gin-gonic","product":"gin","cpe":"cpe:2.3:a:gin-gonic:gin:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-1041736","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/gin-gonic/gin/pull/2474%23issuecomment-729696437","tags":["broken-link","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28483","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/gin-gonic/gin/issues/2232","tags":["report","web"],"sources":["ghsa","go"]},{"url":"https://github.com/gin-gonic/gin/issues/2473","tags":["report","web"],"sources":["ghsa","go"]},{"url":"https://github.com/gin-gonic/gin/issues/2862","tags":["report","web"],"sources":["ghsa","go"]},{"url":"https://github.com/gin-gonic/gin/pull/2474","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/gin-gonic/gin/pull/2474#23issuecomment-729696437","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/gin-gonic/gin/pull/2632","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/gin-gonic/gin/pull/2675","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/gin-gonic/gin/pull/2844","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/gin-gonic/gin/pull/2844/files#diff-e6ce689a25eaef174c2dd51fe869fabbe04a6c6afbd416b23eda138c82e761baR1432","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/gin-gonic/gin/commit/03e5e05ae089bc989f1ca41841f05504d29e3fd9","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/gin-gonic/gin/commit/5929d521715610c9dd14898ebbe1d188d5de8937","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/gin-gonic/gin/commit/bfc8ca285eb46dad60e037d57c545cd260636711","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://pkg.go.dev/vuln/GO-2021-0052","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/gin-gonic/gin/releases/tag/v1.7.7","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/gin-gonic/gin/releases/tag/v1.7.0","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/gin-gonic/gin","tags":["package"],"sources":["ghsa"]}],"credits":["Soren L. Hansen","@sorenisanerd"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-28483","url":"https://www.cve.org/CVERecord?id=CVE-2020-28483","licence":"CVE Terms of Use","modified":"2024-09-16T17:28:31.192Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-h395-qcrw-5vmq","url":"https://github.com/advisories/GHSA-h395-qcrw-5vmq","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:05.801Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2021-0052","url":"https://pkg.go.dev/vuln/GO-2021-0052","licence":"CC-BY-4.0","modified":"2026-07-08T05:56:36.895Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-28483","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28483","licence":"Public domain","modified":"2026-06-17T03:10:31.587Z"}],"updatedAt":"2026-11-25T22:57:57.059Z","epss":{"score":0.01332,"percentile":0.71953,"date":"2026-12-01T12:00:22.000Z"}}