GO-2023-2116

CSRF token validation vulnerability in github.com/gofiber/fiber/v2

At a glance

Published
Updated
CVE
CVE-2023-45141
Aliases
GHSA-mv73-f69x-444p

Description

A cross-site request forgery vulnerability can allow 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. The CSRF token is validated against tokens in storage but was is not tied to the original requestor that generated it, allowing for token reuse.

Affected packages

PackageVersions
Go · github.com/gofiber/fiber/v2introduced 0, fixed 2.50.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database