gatsbyjs gatsby 可信数据的反序列化

admin 2023-11-30 07:27:52 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 gatsbyjs gatsby 可信数据的反序列化

CVE编号

CVE-2022-25863

利用情况

暂无

补丁情况

官方补丁

披露时间

2022-06-11
漏洞描述
The package gatsby-plugin-mdx before 2.14.1, from 3.0.0 and before 3.15.2 are vulnerable to Deserialization of Untrusted Data when passing input through to the gray-matter package, due to its default configurations that are missing input sanitization. Exploiting this vulnerability is possible when passing input in both webpack (MDX files in src/pages or MDX file imported as a component in frontend / React code) and data mode (querying MDX nodes via GraphQL). Workaround: If an older version of gatsby-plugin-mdx must be used, input passed into the plugin should be sanitized ahead of processing.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://drive.google.com/file/d/1EoCzbwTWOM8-fjvwMbH3bqcZ2iKksxTW/view?usp=sharing
https://github.com/gatsbyjs/gatsby/pull/35830
https://github.com/gatsbyjs/gatsby/pull/35830/commits/f214eb0694c61e348b2751c...
https://snyk.io/vuln/SNYK-JS-GATSBYPLUGINMDX-2405699
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 gatsbyjs gatsby * Up to (excluding) 2.14.1
运行在以下环境
应用 gatsbyjs gatsby * From (including) 3.0.0 Up to (excluding) 3.15.2
阿里云评分 6.7
  • 攻击路径 远程
  • 攻击复杂度 容易
  • 权限要求 无需权限
  • 影响范围 全局影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-502 可信数据的反序列化
- 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