GO-2023-2052

    Dashboard / Vulnerabilities / GO-2023-2052

    GO-2023-2052

    Published: 12 Sept 2023Last Modified: 20 May 2024

    Summary: IsFromLocal local address check can be circumvented in github.com/gofiber/fiber/v2

    Details: The Ctx.IsFromLocal function can incorrectly report a request as being sent from localhost when the request contains an X-Forwarded-For header containing a localhost IP address.

    Affected packages

    Package

    Name: github.com/gofiber/fiber/v2

    Purl: pkg:golang/github.com/gofiber/fiber/v2

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -2.49.2-0.20230906112033-b8c9ede6efa2

    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
    GO-2023-2052 | CVE-DB