CVE-2025-54801 (CNNVD-202508-412)
中文标题:
Fiber 安全漏洞
英文标题:
Fiber Susceptible to Crash via `BodyParser` Due to Unvalidated Large Slice Index in Decoder
漏洞描述
中文描述:
Fiber是Fiber开源的一款使用Go语言编写的开源Web框架。 Fiber 2.52.8及之前版本存在安全漏洞,该漏洞源于未验证切片索引范围,可能导致整数溢出或内存耗尽。
英文描述:
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.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| gofiber | fiber | < 2.52.9 | - | - |
cpe:2.3:a:gofiber:fiber:<_2.52.9:*:*:*:*:*:*:*
|
| gofiber | fiber | * | - | - |
cpe:2.3:a:gofiber:fiber:*:*:*:*:*:go:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
4.0 (cna)
HIGHCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2025-54801 |
2025-11-11 15:23:29 | 2025-11-11 07:40:42 |
| NVD | nvd_CVE-2025-54801 |
2025-11-11 15:00:58 | 2025-11-11 07:48:30 |
| CNNVD | cnnvd_CNNVD-202508-412 |
2025-11-11 15:12:52 | 2025-11-11 08:00:08 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 其他
- cnnvd_id: 未提取 -> CNNVD-202508-412
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- affected_products_count: 1 -> 2
- data_sources: ['cve'] -> ['cve', 'nvd']