Security Resilience

CVE-2023-41338

Gofiber Fiber ≤ 2.49.2

Published
08 September 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 5.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS Score 0.0066 52th percentile
Risk Priority 45 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-41338 is a medium-severity Always-Incorrect Control Flow Implementation (CWE-670) vulnerability in Gofiber Fiber. Its CVSS base score is 5.3 (Medium).

Operationally, ranked in the top 48% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

CVEs Like This One

CVE-2023-45141Same product: Gofiber Fiber
CVE-2023-45128Same product: Gofiber Fiber
CVE-2026-45045Same product: Gofiber Fiber
CVE-2026-42554Same product: Gofiber Fiber
CVE-2024-38513Same product: Gofiber Fiber
CVE-2026-25891Same product: Gofiber Fiber
CVE-2026-25899Same product: Gofiber Fiber
CVE-2026-30246Same product: Gofiber Fiber
CVE-2024-25124Same product: Gofiber Fiber
CVE-2025-54801Same product: Gofiber Fiber

Affected Assets

gofiber
fiber
≤ 2.49.2

Mitigating Controls

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development and acceptance can detect paths that deviate from intended logic.

prevents

Secure coding standards and reviews directly target flawed control-flow implementations.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-670, a class-level weakness, and none of its children carries one either.

References