Bug 2244664 (CVE-2023-45128) - CVE-2023-45128 golang-github-gofiber-fiber: Cross-Site Request Forgery
Summary: CVE-2023-45128 golang-github-gofiber-fiber: Cross-Site Request Forgery
Keywords:
Status: NEW
Alias: CVE-2023-45128
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2244666 2244667
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-10-17 16:17 UTC by ybuenos
Modified: 2023-10-17 16:28 UTC (History)
0 users

Fixed In Version: golang-github-gofiber-fiber 2.50.0
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description ybuenos 2023-10-17 16:17:28 UTC
Fiber is an express inspired web framework written in Go. A Cross-Site Request Forgery (CSRF) vulnerability has been identified in the application, which allows an attacker to inject arbitrary values and forge malicious requests on behalf of a user. This vulnerability can allow an attacker to inject arbitrary values without any authentication, or perform various malicious actions on behalf of an authenticated user, potentially compromising the security and integrity of the application. The vulnerability is caused by improper validation and enforcement of CSRF tokens within the application. This issue has been addressed in version 2.50.0 and users are advised to upgrade. Users should take additional security measures like captchas or Two-Factor Authentication (2FA) and set Session cookies with SameSite=Lax or SameSite=Secure, and the Secure and HttpOnly attributes as defense in depth measures. There are no known workarounds for this vulnerability.

https://github.com/gofiber/fiber/security/advisories/GHSA-94w9-97p3-p368
https://github.com/gofiber/fiber/commit/8c3916dbf4ad2ed427d02c6eb63ae8b2fa8f019a

Comment 1 ybuenos 2023-10-17 16:28:24 UTC
Created golang-github-gofiber-fiber-2 tracking bugs for this issue:

Affects: fedora-37 [bug 2244666]
Affects: fedora-38 [bug 2244667]


Note You need to log in before you can comment on or make changes to this bug.