{"id":"GO-2023-2052","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.","aliases":["CVE-2023-41338","GHSA-3q5p-3558-364f"],"modified":"2024-05-20T16:03:47Z","published":"2023-09-12T17:31:22Z","database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2023-2052"},"references":[{"type":"ADVISORY","url":"https://github.com/gofiber/fiber/security/advisories/GHSA-3q5p-3558-364f"},{"type":"FIX","url":"https://github.com/gofiber/fiber/commit/b8c9ede6efa231116c4bd8bb9d5e03eac1cb76dc"}],"affected":[{"package":{"name":"github.com/gofiber/fiber/v2","ecosystem":"Go","purl":"pkg:golang/github.com/gofiber/fiber/v2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.49.2-0.20230906112033-b8c9ede6efa2"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/gofiber/fiber/v2","symbols":["Ctx.IsFromLocal","Ctx.isLocalHost"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2023-2052.json"}}],"schema_version":"1.7.3"}