Fiber 安全漏洞(CVE-2023-41338)

admin 2023-11-29 21:05:17 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 Fiber 安全漏洞(CVE-2023-41338)

CVE编号

CVE-2023-41338

利用情况

暂无

补丁情况

官方补丁

披露时间

2023-09-09
漏洞描述
Fiber is an Express inspired web framework built in the go language. Versions of gofiber prior to 2.49.2 did not properly restrict access to localhost. This issue impacts users of our project who rely on the `ctx.IsFromLocal` method to restrict access to localhost requests. If exploited, it could allow unauthorized access to resources intended only for localhost. Setting `X-Forwarded-For: 127.0.0.1` in a request from a foreign host, will result in true for `ctx.IsFromLocal`. Access is limited to the scope of the affected process. This issue has been patched in version `2.49.2` with commit `b8c9ede6`. Users are advised to upgrade. There are no known workarounds to remediate this vulnerability without upgrading to the patched version.
解决建议
"将组件 github.com/gofiber/fiber 升级至 2.49.2 及以上版本"
参考链接
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For
https://docs.gofiber.io/api/ctx
https://github.com/gofiber/fiber/commit/b8c9ede6efa231116c4bd8bb9d5e03eac1cb76dc
https://github.com/gofiber/fiber/security/advisories/GHSA-3q5p-3558-364f
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 gofiber fiber * Up to (excluding) 2.49.2
阿里云评分 4.8
  • 攻击路径 本地
  • 攻击复杂度 困难
  • 权限要求 管控权限
  • 影响范围 有限影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-670 控制流实现总是不正确
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
N/A Ali_nvd

N/A

N/ACVE编号 CVE-2024-9120利用情况 暂无补丁情况 N/A披露时间 2024-09-23漏洞描述Use after free in Dawn
评论:0   参与:  1