Skip to content
Heist/ feed
Back to feed
High

golang-github-gin-gonic-gin — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2020-28483

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.

Products
golang-github-gin-gonic-gin
Affected versions
1.2+dfsg1-2, 1.2+dfsg1-2ubuntu1, 1.3.0+dfsg1-3, 1.6.3-4, 1.8.1-1, 1.8.1-2, 1.8.1-3, 1.8.1-4
Fixed versions
Not specified
CVEs
CVE-2020-28483
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:38 UTC · Revision 1

Source evidence

UBUNTU-CVE-2020-28483

core-osv · Original source

Published 20 Jan 2021, 18:15 UTC

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.

osv:UBUNTU-CVE-2020-28483

golang-github-gin-gonic-gin

Fixed versions: Not specified

golang-github-gin-gonic-gin

Fixed versions: Not specified

golang-github-gin-gonic-gin

Fixed versions: Not specified

golang-github-gin-gonic-gin

Fixed versions: Not specified

golang-github-gin-gonic-gin

Fixed versions: Not specified

golang-github-gin-gonic-gin

Fixed versions: Not specified

golang-github-gin-gonic-gin

Fixed versions: Not specified

Complete source record
{
  "id": "c8555a6ad7a67d8bfb5a5a74e12d6caca85d8b37dc3c6bd6044cdc2bbc7570b0",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2020-28483",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2020-28483",
    "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.",
    "evidence": "osv:UBUNTU-CVE-2020-28483",
    "products": [
      {
        "name": {
          "value": "golang-github-gin-gonic-gin",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2+dfsg1-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.2+dfsg1-2ubuntu1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-gin-gonic-gin",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.0+dfsg1-3",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-gin-gonic-gin",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.6.3-4",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-gin-gonic-gin",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.8.1-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.8.1-2",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-gin-gonic-gin",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.8.1-2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.8.1-3",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-gin-gonic-gin",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.8.1-3",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.8.1-4",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-gin-gonic-gin",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.8.1-3",
            "evidence": "/affected/6/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2020-28483",
      "aliases": [
        "UBUNTU-CVE-2020-28483"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-gin-gonic-gin",
            "purl": "pkg:deb/ubuntu/golang-github-gin-gonic-gin?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "1.2+dfsg1-2",
            "1.2+dfsg1-2ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-28483.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-gin-gonic-gin-dev",
                "binary_version": "1.2+dfsg1-2ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-gin-gonic-gin",
            "purl": "pkg:deb/ubuntu/golang-github-gin-gonic-gin?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "1.3.0+dfsg1-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-28483.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-gin-gonic-gin-dev",
                "binary_version": "1.3.0+dfsg1-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-gin-gonic-gin",
            "purl": "pkg:deb/ubuntu/golang-github-gin-gonic-gin?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.6.3-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-28483.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-gin-gonic-gin-dev",
                "binary_version": "1.6.3-4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-gin-gonic-gin",
            "purl": "pkg:deb/ubuntu/golang-github-gin-gonic-gin?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.8.1-1",
            "1.8.1-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-28483.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-gin-gonic-gin-dev",
                "binary_version": "1.8.1-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-gin-gonic-gin",
            "purl": "pkg:deb/ubuntu/golang-github-gin-gonic-gin?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1.8.1-2",
            "1.8.1-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-28483.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-gin-gonic-gin-dev",
                "binary_version": "1.8.1-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-gin-gonic-gin",
            "purl": "pkg:deb/ubuntu/golang-github-gin-gonic-gin?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.8.1-3",
            "1.8.1-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-28483.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-gin-gonic-gin-dev",
                "binary_version": "1.8.1-4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-gin-gonic-gin",
            "purl": "pkg:deb/ubuntu/golang-github-gin-gonic-gin?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.8.1-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-28483.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-gin-gonic-gin-dev",
                "binary_version": "1.8.1-3"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:55:52.950097640Z",
      "provider": "osv",
      "upstream": [
        "CVE-2020-28483"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2020-28483",
        "https://github.com/gin-gonic/gin/pull/2474%23issuecomment-729696437",
        "https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGINGONICGIN-1041736",
        "https://www.cve.org/CVERecord?id=CVE-2020-28483",
        "https://github.com/gin-gonic/gin/issues/2862",
        "https://github.com/gin-gonic/gin/pull/2844",
        "https://github.com/gin-gonic/gin/pull/2632"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2020-28483",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 354211,
  "published_at": "2021-01-20T18:15:00+00:00"
}