Bug 2244668 (CVE-2023-45141)

Summary: CVE-2023-45141 golang-github-gofiber-fiber: Cross site request forgery (CSRF)
Product: [Other] Security Response Reporter: ybuenos
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: golang-github-gofiber-fiber 2.50.0 Doc Type: ---
Doc Text:
A Cross-Site Request Forgery vulnerability has been found in Fiber. Due to an improper validation and enforcement of CSRF tokens, an attacker can obtain tokens and forge malicious requests on behalf of a user
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2244669, 2244670    
Bug Blocks:    

Description ybuenos 2023-10-17 16:32:27 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 obtain tokens and forge malicious requests on behalf of a user. This can lead to unauthorized actions being taken on the user's behalf, 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 vulnerability 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.

https://github.com/gofiber/fiber/security/advisories/GHSA-mv73-f69x-444p

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

Affects: fedora-37 [bug 2244669]
Affects: fedora-38 [bug 2244670]