-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Aliases: CVE-2023-41338, GHSA-3q5p-3558-364f Fixes #2052 Change-Id: I361ff89d8aa3adef28b78fc9a2d888260bc239a0 Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/527756 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Zvonimir Pavlinovic <[email protected]>
- Loading branch information
Showing
2 changed files
with
81 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"schema_version": "1.3.1", | ||
"id": "GO-2023-2052", | ||
"modified": "0001-01-01T00:00:00Z", | ||
"published": "0001-01-01T00:00:00Z", | ||
"aliases": [ | ||
"CVE-2023-41338", | ||
"GHSA-3q5p-3558-364f" | ||
], | ||
"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": [ | ||
{ | ||
"package": { | ||
"name": "github.com/gofiber/fiber/v2", | ||
"ecosystem": "Go" | ||
}, | ||
"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" | ||
] | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"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" | ||
} | ||
], | ||
"database_specific": { | ||
"url": "https://pkg.go.dev/vuln/GO-2023-2052" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
id: GO-2023-2052 | ||
modules: | ||
- module: github.com/gofiber/fiber/v2 | ||
versions: | ||
- fixed: 2.49.2-0.20230906112033-b8c9ede6efa2 | ||
vulnerable_at: 2.49.1 | ||
packages: | ||
- package: github.com/gofiber/fiber/v2 | ||
symbols: | ||
- Ctx.isLocalHost | ||
derived_symbols: | ||
- Ctx.IsFromLocal | ||
summary: IsFromLocal local address check can be circumvented in github.com/gofiber/fiber/v2 | ||
description: |- | ||
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. | ||
cves: | ||
- CVE-2023-41338 | ||
ghsas: | ||
- GHSA-3q5p-3558-364f | ||
references: | ||
- advisory: https://github.com/gofiber/fiber/security/advisories/GHSA-3q5p-3558-364f | ||
- fix: https://github.com/gofiber/fiber/commit/b8c9ede6efa231116c4bd8bb9d5e03eac1cb76dc |