Advisory

GO-2023-2116

Also known as: CVE-2023-45141, GHSA-mv73-f69x-444p

Summary

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

Details

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.

Severity

Not rated by the source.

Dates

Published
2023-10-24 16:57 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

github.com/gofiber/fiber/v2

Go · All systems

Affected

  • introduced 0, fixed 2.50.0 (semver)

Fixed versions

2.50.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences