GHSA-h395-qcrw-5vmq

    Dashboard / Vulnerabilities / GHSA-h395-qcrw-5vmq

    GHSA-h395-qcrw-5vmq

    Published: 23 Jun 2021Last Modified: 10 Sept 2026

    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.

    Affected packages

    Package

    Name: github.com/gin-gonic/gin

    Purl: pkg:golang/github.com/gin-gonic/gin

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.7.7

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-h395-qcrw-5vmq | CVE-DB