低危 Vicent Martí Redcarpet 注入漏洞

CVE编号

CVE-2020-26298

利用情况

暂无

补丁情况

官方补丁

披露时间

2021-01-12
漏洞描述
Redcarpet is a Ruby library for Markdown processing. In Redcarpet before version 3.5.1, there is an injection vulnerability which can enable a cross-site scripting attack. In affected versions no HTML escaping was being performed when processing quotes. This applies even when the `:escape_html` option was being used. This is fixed in version 3.5.1 by the referenced commit.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 redcarpet_project redcarpet * Up to
(excluding)
3.5.1
运行在以下环境
系统 debian_10 ruby-redcarpet * Up to
(excluding)
3.4.0-4+deb10u1
运行在以下环境
系统 debian_11 ruby-redcarpet * Up to
(excluding)
3.5.1-1
运行在以下环境
系统 debian_12 ruby-redcarpet * Up to
(excluding)
3.5.1-1
运行在以下环境
系统 debian_9 ruby-redcarpet * Up to
(excluding)
3.3.4-2+deb9u1
运行在以下环境
系统 fedora_36 rubygem-redcarpet * Up to
(excluding)
3.3.2-26.fc36
运行在以下环境
系统 fedora_37 rubygem-redcarpet * Up to
(excluding)
3.3.2-26.fc37
运行在以下环境
系统 fedora_38 rubygem-redcarpet * Up to
(excluding)
3.3.2-26.fc38
阿里云评分
3.4
  • 攻击路径
    远程
  • 攻击复杂度
    容易
  • 权限要求
    无需权限
  • 影响范围
    有限影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-74 输出中的特殊元素转义处理不恰当(注入)
CWE-79 在Web页面生成时对输入的转义处理不恰当(跨站脚本)
阿里云安全产品覆盖情况