{
  "id": "CVE-2025-48075",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-48075",
  "published_at": "2025-05-22T17:25:18.447Z",
  "title": "Fiber panics when fiber.Ctx.BodyParser parses invalid range index",
  "vendor": "gofiber",
  "product": "fiber",
  "cvss": {
    "score": 7.7,
    "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/E:P"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-129",
  "cpes": [
    "cpe:2.3:a:gofiber:fiber:*:*:*:*:*:go:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.7,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "gofiber",
        "product": "fiber",
        "ranges": [
          "\u003e= 2.52.6, \u003c 2.52.7"
        ],
        "fixed_in": [
          "2.52.7"
        ]
      }
    ],
    "upgrade": [
      "Upgrade fiber to 2.52.7 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/gofiber/fiber/security/advisories/GHSA-hg3g-gphw-5hhm"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/gofiber/fiber/commit/e115c08b8f059a4a031b492aa9eef0712411853d"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
