cve.bz

CVE-2023-41338 gofiber fiber

5.3 mediumEPSS 0.7%Fix available

Medium (5.3) in gofiber fiber. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/gofiber/fiber/v2 2.49.2, 2.49.2-0.20230906112033-b8c9ede6efa2.

On this page
Fiber is an Express inspired web framework built in the go language. Versions of gofiber prior to 2.49.2 did not properly restrict access to localhost. This issue impacts users of our project who rely on the `ctx.IsFromLocal` method to restrict access to localhost requests. If exploited, it could allow unauthorized access to resources intended only for localhost. Setting `X-Forwarded-For: 127.0.0.1` in a request from a foreign host, will result in true for `ctx.IsFromLocal`. Access is limited to the scope of the affected process. This issue has been patched in version `2.49.2` with commit `b8c9ede6`. Users are advised to upgrade. There are no known workarounds to remediate this vulnerability without upgrading to the patched version.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 52nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-09-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-670 Always-Incorrect Control Flow Implementation
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-41338 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-41338?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-41338?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-41338 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gofiber:fiberbefore 2.49.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3q5p-3558-364fGogithub.com/gofiber/fiber<=1.14.6no fix published
GHSA-3q5p-3558-364fGogithub.com/gofiber/fiber/v2<2.49.22.49.2
GO-2023-2052Gogithub.com/gofiber/fiber/v2<2.49.2-0.20230906112033-b8c9ede6efa22.49.2-0.20230906112033-b8c9ede6efa2

References

Check your stackJSON