CVE-2024-38513
CVE-2024-38513 is a critical-severity vulnerability in Gofiber Fiber with a CVSS 3.x base score of 10.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-384.
Key facts
- Severity: Critical (CVSS 3.x base score 10.0)
- EPSS exploit prediction: 1% (48th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-2308
- Weakness: CWE-384
- Affected product: Gofiber Fiber
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2024-38513?
- 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 severe is CVE-2024-38513?
- CVE-2024-38513 has a CVSS 3.x base score of 10.0, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2024-38513 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (48th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-38513?
- CVE-2024-38513 affects Gofiber Fiber. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-38513?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2024-38513 have an EU (EUVD) identifier?
- Yes. CVE-2024-38513 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-2308.
- When was CVE-2024-38513 published?
- CVE-2024-38513 was published on 2024-07-01 and last updated on 2026-06-17.
References
- https://github.com/gofiber/fiber/commit/66a881441b27322a331f1b526cf1eb6b3358a4d8
- https://github.com/gofiber/fiber/security/advisories/GHSA-98j2-3j3p-fw2v
Affected products (1)
- cpe:2.3:a:gofiber:fiber:*:*:*:*:*:go:*:*
More vulnerabilities in Gofiber Fiber
- CVE-2023-45128 — Critical (CVSS 10.0): Fiber is an express inspired web framework written in Go. A Cross-Site Request Forgery (CSRF) vulnerability has been…
- CVE-2025-66630 — Critical (CVSS 9.4): Fiber is an Express inspired web framework written in Go. Before 2.52.11, on Go versions prior to 1.24, the underlying…
- CVE-2024-25124 — Critical (CVSS 9.4): Fiber is a web framework written in go. Prior to version 2.52.1, the CORS middleware allows for insecure configurations…
- CVE-2023-45141 — High (CVSS 8.6): Fiber is an express inspired web framework written in Go. A Cross-Site Request Forgery (CSRF) vulnerability has been…
- CVE-2026-25899 — High (CVSS 7.5): Fiber is an Express inspired web framework written in Go. In versions on the v3 branch prior to 3.1.0, the use of the…
- CVE-2026-25891 — High (CVSS 7.5): Fiber is an Express inspired web framework written in Go. A Path Traversal (CWE-22) vulnerability in Fiber allows a…
All CVEs affecting Gofiber Fiber →
Other CWE-384 (Session Fixation) vulnerabilities
- CVE-2024-11317 — Critical (CVSS 10.0): Session Fixation vulnerabilities allow an attacker to fix a users session identifier before login providing an…
- CVE-2021-20151 — Critical (CVSS 10.0): Trendnet AC2600 TEW-827DRU version 2.08B01 contains a flaw in the session management for the device. The router's…
- CVE-2025-67446 — Critical (CVSS 9.8): Improper Authentication (Authentication Bypass) exists in Neterbit NW-431F Router 20241014-IR03 and before. The router…
- CVE-2026-25101 — Critical (CVSS 9.8): Bludit allows user's session identifier to be set before authentication. The value of this session ID stays the same…
- CVE-2026-24352 — Critical (CVSS 9.8): PluXml CMS allows a user's session identifier to be set before authentication. The value of this session ID stays the…
- CVE-2026-23796 — Critical (CVSS 9.8): Quick.Cart allows a user's session identifier to be set before authentication. The value of this session ID stays the…