从 JSON 封送处理返回的错误可能会破坏 html/template 中的模板转义 (CVE-2024-24785)

admin 2024-03-08 11:18:42 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
从 JSON 封送处理返回的错误可能会破坏 html/template 中的模板转义 (CVE-2024-24785)

CVE编号

CVE-2024-24785

利用情况

暂无

补丁情况

N/A

披露时间

2024-03-06
漏洞描述
If errors returned from MarshalJSON methods contain user controlled data, they may be used to break the contextual auto-escaping behavior of the html/template package, allowing for subsequent actions to inject unexpected content into templates.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://go.dev/cl/564196
https://go.dev/issue/65697
https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg
https://pkg.go.dev/vuln/GO-2024-2610
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
系统 alpine_3.19 go * Up to (excluding) 1.21.8-r0
CVSS3评分 N/A
  • 攻击路径 N/A
  • 攻击复杂度 N/A
  • 权限要求 N/A
  • 影响范围 N/A
  • 用户交互 N/A
  • 可用性 N/A
  • 保密性 N/A
  • 完整性 N/A
N/A
CWE-ID 漏洞类型
- 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