Access Control Bypass Affecting github.com/gofiber/fiber package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.08% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Access Control Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMGOFIBERFIBER-5889981
  • published8 Sept 2023
  • disclosed8 Sept 2023
  • creditschicho

Introduced: 8 Sep 2023

CVE-2023-41338  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

github.com/gofiber/fiber is an Express inspired web framework written in Go.

Affected versions of this package are vulnerable to Access Control Bypass when using the ctx.IsFromLocal() method to restrict access to localhost requests. If exploited, it can allow unauthorized access to resources intended only for localhost.

References

CVSS Scores

version 3.1