8000 x/vulndb: potential Go vuln in github.com/gofiber/fiber/v2: GHSA-hg3g-gphw-5hhm · Issue #3706 · golang/vulndb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

x/vulndb: potential Go vuln in github.com/gofiber/fiber/v2: GHSA-hg3g-gphw-5hhm #3706

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comments

@GoVulnBot
Copy link

Advisory GHSA-hg3g-gphw-5hhm references a vulnerability in the following Go modules:

Module
github.com/gofiber/fiber
github.com/gofiber/fiber/v2

Description:

Summary

When using the fiber.Ctx.BodyParser to parse into a struct with range values, a panic occurs when trying to parse a negative range index

Details

fiber.Ctx.BodyParser can map flat data to nested slices using key[idx]value syntax, however 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

Reproducing

Take a simple GoFiberV2 server which returns a JSON encoded version of the Fo...

References:

Cross references:

See doc/quickstart.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/gofiber/fiber
      vulnerable_at: 1.14.6
    - module: github.com/gofiber/fiber/v2
      versions:
        - introduced: 2.52.6
        - fixed: 2.52.7
      vulnerable_at: 2.52.6
summary: Fiber panics when fiber.Ctx.BodyParser parses invalid range index in github.com/gofiber/fiber
cves:
    - CVE-2025-48075
ghsas:
    - GHSA-hg3g-gphw-5hhm
references:
    - advisory: https://github.com/advisories/GHSA-hg3g-gphw-5hhm
    - advisory: https://github.com/gofiber/fiber/security/advisories/GHSA-hg3g-gphw-5hhm
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-48075
    - fix: https://github.com/gofiber/fiber/commit/e115c08b8f059a4a031b492aa9eef0712411853d
source:
    id: GHSA-hg3g-gphw-5hhm
    created: 2025-05-22T21:01:35.148282926Z
review_status: UNREVIEWED

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/675876 mentions this issue: data/reports: add 4 reports

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
0