{"id":"CVE-2025-48075","state":"PUBLISHED","title":"Fiber panics when fiber.Ctx.BodyParser parses invalid range index","description":"Fiber is an Express-inspired web framework written in Go. Starting in version 2.52.6 and prior to version 2.52.7, `fiber.Ctx.BodyParser` can map flat data to nested slices using `key[idx]value` syntax, but when idx is negative, it causes a panic instead of returning an error stating it cannot process the data. Since this data is user-provided, this could lead to denial of service for anyone relying on this `fiber.Ctx.BodyParser`  functionality. Version 2.52.7 fixes the issue.","publishedAt":"2025-05-22T17:25:18.447Z","updatedAt":"2025-05-22T17:59:02.707Z","severity":{"score":7.7,"label":"High","version":"4.0","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/E:P","source":"GitHub_M"},"assigner":"GitHub_M","products":["gofiber fiber"],"affected":[{"vendor":"gofiber","product":"fiber","versions":[{"version":">= 2.52.6, < 2.52.7","status":"affected"}]}],"references":["https://github.com/gofiber/fiber/security/advisories/GHSA-hg3g-gphw-5hhm","https://github.com/gofiber/fiber/commit/e115c08b8f059a4a031b492aa9eef0712411853d"],"weaknesses":["CWE-129"],"ingestedAt":"2026-10-29T20:09:23.771Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/48xxx/CVE-2025-48075.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-48075","state":"PUBLISHED","datePublished":"2025-05-22T17:25:18.447Z","dateUpdated":"2025-05-22T17:59:02.707Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-05-15T16:06:40.942Z"},"containers":{"cna":{"title":"Fiber panics when fiber.Ctx.BodyParser parses invalid range index","descriptions":[{"lang":"en","value":"Fiber is an Express-inspired web framework written in Go. Starting in version 2.52.6 and prior to version 2.52.7, `fiber.Ctx.BodyParser` can map flat data to nested slices using `key[idx]value` syntax, but when idx is negative, it causes a panic instead of returning an error stating it cannot process the data. Since this data is user-provided, this could lead to denial of service for anyone relying on this `fiber.Ctx.BodyParser`  functionality. Version 2.52.7 fixes the issue."}],"affected":[{"vendor":"gofiber","product":"fiber","versions":[{"version":">= 2.52.6, < 2.52.7","status":"affected"}]}],"references":[{"url":"https://github.com/gofiber/fiber/security/advisories/GHSA-hg3g-gphw-5hhm","name":"https://github.com/gofiber/fiber/security/advisories/GHSA-hg3g-gphw-5hhm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/gofiber/fiber/commit/e115c08b8f059a4a031b492aa9eef0712411853d","name":"https://github.com/gofiber/fiber/commit/e115c08b8f059a4a031b492aa9eef0712411853d","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7.7,"baseSeverity":"HIGH","vectorString":"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/E:P","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-129","lang":"en","description":"CWE-129: Improper Validation of Array Index","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-05-22T17:25:18.447Z"},"source":{"advisory":"GHSA-hg3g-gphw-5hhm","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/gofiber/fiber/security/advisories/GHSA-hg3g-gphw-5hhm","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-05-22T17:58:04.769002Z","id":"CVE-2025-48075","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-05-22T17:59:02.707Z"}}]}}}