GHSA-h395-qcrw-5vmq

Suggest an improvement
Source
https://github.com/advisories/GHSA-h395-qcrw-5vmq
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-h395-qcrw-5vmq/GHSA-h395-qcrw-5vmq.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-h395-qcrw-5vmq
Aliases
Published
2021-06-23T17:53:21Z
Modified
2025-01-08T07:26:52.423404Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N CVSS Calculator
Summary
Inconsistent Interpretation of HTTP Requests in github.com/gin-gonic/gin
Details

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.

Database specific
{
    "nvd_published_at": "2021-01-20T18:15:00Z",
    "cwe_ids": [
        "CWE-113",
        "CWE-444"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2021-05-12T21:46:50Z"
}
References

Affected packages

Go / github.com/gin-gonic/gin

Package

Name
github.com/gin-gonic/gin
View open source insights on deps.dev
Purl
pkg:golang/github.com/gin-gonic/gin

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.7.7