fastify fastify 跨站请求伪造(csrf)

admin 2023-11-30 05:01:20 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 fastify fastify 跨站请求伪造(csrf)

CVE编号

CVE-2022-41919

利用情况

暂无

补丁情况

官方补丁

披露时间

2022-11-23
漏洞描述
Fastify is a web framework with minimal overhead and plugin architecture. The attacker can use the incorrect `Content-Type` to bypass the `Pre-Flight` checking of `fetch`. `fetch()` requests with Content-Type’s essence as "application/x-www-form-urlencoded", "multipart/form-data", or "text/plain", could potentially be used to invoke routes that only accepts `application/json` content type, thus bypassing any CORS protection, and therefore they could lead to a Cross-Site Request Forgery attack. This issue has been patched in version 4.10.2 and 3.29.4. As a workaround, implement Cross-Site Request Forgery protection using `@fastify/csrf'.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/fastify/fastify/commit/62dde76f1f7aca76e38625fe8d983761f26e6fc9
https://github.com/fastify/fastify/security/advisories/GHSA-3fjj-p79j-c9hh
https://www.npmjs.com/package/%40fastify/csrf
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 fastify fastify * From (including) 3.0.0 Up to (excluding) 3.29.4
运行在以下环境
应用 fastify fastify * From (including) 4.0.0 Up to (excluding) 4.10.2
阿里云评分 6.6
  • 攻击路径 远程
  • 攻击复杂度 复杂
  • 权限要求 普通权限
  • 影响范围 全局影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-352 跨站请求伪造(CSRF)
- 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   参与:  0