github.com/gomarkdown/markdown 解析引文时越界读取 (CVE-2023-42821)

admin 2023-11-29 20:58:51 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 github.com/gomarkdown/markdown 解析引文时越界读取 (CVE-2023-42821)

CVE编号

CVE-2023-42821

利用情况

暂无

补丁情况

官方补丁

披露时间

2023-09-23
漏洞描述
The package `github.com/gomarkdown/markdown` is a Go library for parsing Markdown text and rendering as HTML. Prior to pseudoversion `0.0.0-20230922105210-14b16010c2ee`, which corresponds with commit `14b16010c2ee7ff33a940a541d993bd043a88940`, parsing malformed markdown input with parser that uses parser.Mmark extension could result in out-of-bounds read vulnerability. To exploit the vulnerability, parser needs to have `parser.Mmark` extension set. The panic occurs inside the `citation.go` file on the line 69 when the parser tries to access the element past its length. This can result in a denial of service. Commit `14b16010c2ee7ff33a940a541d993bd043a88940`/pseudoversion `0.0.0-20230922105210-14b16010c2ee` contains a patch for this issue.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/gomarkdown/markdown/blob/7478c230c7cd3e7328803d89abe591d0b...
https://github.com/gomarkdown/markdown/commit/14b16010c2ee7ff33a940a541d993bd...
https://github.com/gomarkdown/markdown/security/advisories/GHSA-m9xq-6h2j-65r2
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 gomarkdown markdown - -
运行在以下环境
系统 debian_12 golang-github-gomarkdown-markdown * Up to (including) 0.0~git20220731.dcdaee8-2
运行在以下环境
系统 debian_sid golang-github-gomarkdown-markdown * Up to (including) 0.0~git20220731.dcdaee8-2
阿里云评分 6.2
  • 攻击路径 本地
  • 攻击复杂度 复杂
  • 权限要求 普通权限
  • 影响范围 越权影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-125 跨界内存读
- 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