CVE-2023-41338
IsFromLocal local address check can be circumvented in github.com/gofiber/fiber/v2
5.3
MEDIUM
CVSS 3.1
EPSS 0.32%
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.
How to fix CVE-2023-41338
To remediate CVE-2023-41338, upgrade the affected package to a fixed version below.
- Go/github.com/gofiber/fiber—no fix listed
- —upgrade to 2.49.2 or later
- —upgrade to 2.49.2-0.20230906112033-b8c9ede6efa2 or later
Is CVE-2023-41338 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, <= 1.14.6
- from 0, < 2.49.2
- from 0, < 2.49.2-0.20230906112033-b8c9ede6efa2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |