{"answers":{"affected":"3 open source packages ship an affected version, including github.com/gofiber/fiber/v2. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-54801 exists.","fix":"Upgrade github.com/gofiber/fiber/v2 to 2.52.9 or later.","what":"CVE-2025-54801 is a high-severity denial of service vulnerability in gofiber fiber, published on 5 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-54801 and fix it if it is affected.\n\nWhat it is: CVE-2025-54801 is a high-severity denial of service vulnerability in gofiber fiber, published on 5 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-54801 exists.\n\nAffected packages and fixed versions:\n- github.com/gofiber/fiber/v2 (Go): affected all versions; fixed in 2.52.9\n- github.com/gofiber/fiber/v2 (Go): affected all versions; fixed in 2.52.9\n- github.com/gofiber/fiber/v2 (Go): affected all versions; fixed in 2.52.9\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-54801/ (Markdown: https://insights.sbomify.com/CVE-2025-54801/index.md)","id":"CVE-2025-54801","markdown":"https://insights.sbomify.com/CVE-2025-54801/index.md","name":"CVE-2025-54801","record":{"aliases":["GHSA-qx2q-88mx-vhg7","GO-2025-3845"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Go web framework","requires_auth":"none","summary":"Attackers can crash Fiber web applications by sending form data with excessively large numeric keys, causing memory exhaustion or panics.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"fiber","vendor":"gofiber"}],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"description":"Fiber is an Express inspired web framework written in Go. In versions 2.52.8 and below, when using Fiber's Ctx.BodyParser to parse form data containing a large numeric key that represents a slice index (e.g., test.18446744073704), the application crashes due to an out-of-bounds slice allocation in the underlying schema decoder. The root cause is that the decoder attempts to allocate a slice of length idx + 1 without validating whether the index is within a safe or reasonable range. If the idx is excessively large, this leads to an integer overflow or memory exhaustion, causing a panic or crash. This is fixed in version 2.52.9.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Fiber Susceptible to Crash via `BodyParser` Due to Unvalidated Large Slice Index in Decoder","id":"CVE-2025-54801","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2025"},"n_packages":3,"n_references":2,"next":{"headline":"pyLoad CNL Blueprint is vulnerable to Path Traversal through `dlc_path` leading to Remote Code Execution (RCE)","id":"CVE-2025-54802"},"packages":[{"ecosystem":"Go","fixed":["2.52.9"],"introduced":["0"],"last_affected":[],"package":"github.com/gofiber/fiber/v2","purl":null,"source":"GHSA-qx2q-88mx-vhg7"},{"ecosystem":"Go","fixed":["2.52.9"],"introduced":["0"],"last_affected":[],"package":"github.com/gofiber/fiber/v2","purl":"pkg:golang/github.com/gofiber/fiber/v2","source":"GHSA-qx2q-88mx-vhg7"},{"ecosystem":"Go","fixed":["2.52.9"],"introduced":["0"],"last_affected":[],"package":"github.com/gofiber/fiber/v2","purl":"pkg:golang/github.com/gofiber/fiber/v2","source":"GO-2025-3845"}],"prev":{"headline":"Hydra persistent XSS in build metrics","id":"CVE-2025-54800"},"products":["fiber"],"published":"2025-08-05","related":[{"cvss_score":10,"headline":"Fiber Session Middleware Token Injection Vulnerability","id":"CVE-2024-38513","kev_date_added":null,"published":"2024-07-01"},{"cvss_score":10,"headline":"CSRF Token Reuse Vulnerability in fiber","id":"CVE-2023-45128","kev_date_added":null,"published":"2023-10-16"},{"cvss_score":9.4,"headline":"Fiber has Insecure CORS Configuration, Allowing Wildcard Origin with Credentials","id":"CVE-2024-25124","kev_date_added":null,"published":"2024-02-21"},{"cvss_score":9.2,"headline":"Fiber insecurely fallsback in utils.UUIDv4() / utils.UUID() — predictable / zero‑UUID on crypto/rand failure","id":"CVE-2025-66630","kev_date_added":null,"published":"2026-02-09"},{"cvss_score":8.6,"headline":"CSRF Token Validation Vulnerability in fiber","id":"CVE-2023-45141","kev_date_added":null,"published":"2023-10-16"},{"cvss_score":7.7,"headline":"Fiber has an Arbitrary File Read in Static Middleware on Windows","id":"CVE-2026-25891","kev_date_added":null,"published":"2026-02-24"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-08-07","vendors":["gofiber"]},"summary":"Attackers can crash Fiber web applications by sending form data with excessively large numeric keys, causing memory exhaustion or panics.","url":"https://insights.sbomify.com/CVE-2025-54801/"}