CVE-2023-45141
CSRF token validation vulnerability in github.com/gofiber/fiber/v2
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.
How to fix CVE-2023-45141
To remediate CVE-2023-45141, upgrade the affected package to a fixed version below.
- —upgrade to 2.50.0 or later
- —upgrade to 2.50.0 or later
Is CVE-2023-45141 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 2.50.0
- from 0, < 2.50.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |