GO-2023-2052
Dashboard / Vulnerabilities / GO-2023-2052
GO-2023-2052
Published: 12 Sept 2023Last Modified: 20 May 2024
Aliases:
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.
References: https://github.com/gofiber/fiber/security/advisories/GHSA-3q5p-3558-364f, https://github.com/gofiber/fiber/commit/b8c9ede6efa231116c4bd8bb9d5e03eac1cb76dc
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
