CVE-2024-38513
CRITICALDescription
Fiber is an Express-inspired web framework written in Go A vulnerability present in versions prior to 2.52.5 is a session middleware issue in GoFiber versions 2 and above. This vulnerability allows users to supply their own session_id value, resulting in the creation of a session with that key. If a website relies on the mere presence of a session for security purposes, this can lead to significant security risks, including unauthorized access and session fixation attacks. All users utilizing GoFiber's session middleware in the affected versions are impacted. The issue has been addressed in version 2.52.5. Users are strongly encouraged to upgrade to version 2.52.5 or higher to mitigate this vulnerability. Users who are unable to upgrade immediately can apply the following workarounds to reduce the risk: Either implement additional validation to ensure session IDs are not supplied by the user and are securely generated by the server, or regularly rotate session IDs and enforce strict session expiration policies.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Exploit Intelligence
Moderate risk: more likely to be exploited than 48% of all known CVEs.
References
Related Vulnerabilities
Other CWE-384 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2018-11714 | Critical | 9.8 | 37% | - | - |
| CVE-2018-18925 | Critical | 9.8 | 32% | - | - |
| CVE-2019-12258 | High | 7.5 | 23% | - | Fix |
| CVE-2018-17199 | High | 7.5 | 20% | - | Fix |
| CVE-2019-10008 | High | 8.8 | 20% | - | - |
| CVE-2024-50339 | Medium | 5.3 | 20% | - | Fix |
Embed a live status badge for CVE-2024-38513
Markdown
[](https://tridentstack.com/cve/CVE-2024-38513)HTML
<a href="https://tridentstack.com/cve/CVE-2024-38513"><img src="https://tridentstack.com/cve/badge/CVE-2024-38513.svg" alt="CVE-2024-38513"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-10-02.