lxml lxml 在web页面生成时对输入的转义处理不恰当(跨站脚本)

admin 2023-12-01 15:39:52 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
低危 lxml lxml 在web页面生成时对输入的转义处理不恰当(跨站脚本)

CVE编号

CVE-2021-28957

利用情况

暂无

补丁情况

官方补丁

披露时间

2021-03-21
漏洞描述
lxml 4.6.2 allows XSS. It places the HTML action attribute into defs.link_attrs (in html/defs.py) for later use in input sanitization, but does not do the same for the HTML5 formaction attribute.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://bugs.launchpad.net/lxml/+bug/1888153
https://github.com/lxml/lxml/commit/a5f9cb52079dc57477c460dbe6ba0f775e14a999
https://github.com/lxml/lxml/pull/316/commits/10ec1b4e9f93713513a3264ed6158af...
https://lists.debian.org/debian-lts-announce/2021/03/msg00031.html
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedora...
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedora...
https://security.gentoo.org/glsa/202208-06
https://security.netapp.com/advisory/ntap-20210521-0004/
https://www.debian.org/security/2021/dsa-4880
https://www.oracle.com/security-alerts/cpuoct2021.html
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 lxml lxml 4.6.2 -
运行在以下环境
系统 alpine_3.13 py3-lxml * Up to (excluding) 4.6.3-r0
运行在以下环境
系统 alpine_3.14 py3-lxml * Up to (excluding) 4.6.3-r0
运行在以下环境
系统 alpine_3.15 py3-lxml * Up to (excluding) 4.6.3-r0
运行在以下环境
系统 alpine_3.16 py3-lxml * Up to (excluding) 4.6.3-r0
运行在以下环境
系统 alpine_3.17 py3-lxml * Up to (excluding) 4.6.3-r0
运行在以下环境
系统 alpine_3.18 py3-lxml * Up to (excluding) 4.6.3-r0
运行在以下环境
系统 alpine_edge py3-lxml * Up to (excluding) 4.6.3-r0
运行在以下环境
系统 anolis_os_8 pytz * Up to (excluding) 3.4.2-13
运行在以下环境
系统 centos_8 python3-lxml * Up to (excluding) 4.2.3-3.el8
运行在以下环境
系统 debian_10 lxml * Up to (excluding) 4.3.2-1+deb10u3
运行在以下环境
系统 debian_11 lxml * Up to (excluding) 4.6.3-1
运行在以下环境
系统 debian_12 lxml * Up to (excluding) 4.6.3-1
运行在以下环境
系统 debian_9 lxml * Up to (excluding) 3.7.1-1+deb9u4
运行在以下环境
系统 debian_sid lxml * Up to (excluding) 4.6.3-1
运行在以下环境
系统 fedora_33 python-lxml-debugsource * Up to (excluding) 4.5.1-4.fc33
运行在以下环境
系统 fedora_34 python-lxml-debugsource * Up to (excluding) 4.6.3-1.fc34
运行在以下环境
系统 fedora_35 python3-lxml * Up to (excluding) 4.6.3-1.fc35
运行在以下环境
系统 fedora_EPEL_7 python3-lxml * Up to (excluding) 4.2.5-4.el7
运行在以下环境
系统 kylinos_aarch64_V10SP1 python-lxml-help * Up to (excluding) 4.6.2-1.ky10
运行在以下环境
系统 kylinos_aarch64_V10SP2 python-lxml-help * Up to (excluding) 4.6.2-1.ky10
运行在以下环境
系统 kylinos_x86_64_V10SP1 python-lxml-help * Up to (excluding) 4.6.2-1.ky10
运行在以下环境
系统 kylinos_x86_64_V10SP2 python-lxml-help * Up to (excluding) 4.6.2-1.ky10
运行在以下环境
系统 opensuse_Leap_15.3 python2-lxml-doc * Up to (excluding) 4.7.1-3.7.1
运行在以下环境
系统 opensuse_Leap_15.4 python2-lxml-devel * Up to (excluding) 4.7.1-3.7.1
运行在以下环境
系统 oracle_8 oraclelinux-release * Up to (excluding) 1.3.7-31.module+el8.5.0+20361+8a9d3d27
运行在以下环境
系统 redhat_8 python3-lxml * Up to (excluding) 4.2.3-3.el8
运行在以下环境
系统 suse_12_SP5 python-lxml * Up to (excluding) 3.6.1-3.6.1
运行在以下环境
系统 ubuntu_16.04 lxml * Up to (excluding) 3.5.0-1ubuntu0.4
运行在以下环境
系统 ubuntu_16.04.7_lts lxml * Up to (excluding) 3.5.0-1ubuntu0.4
运行在以下环境
系统 ubuntu_18.04 lxml * Up to (excluding) 4.2.1-1ubuntu0.4
运行在以下环境
系统 ubuntu_18.04.5_lts lxml * Up to (excluding) 4.2.1-1ubuntu0.4
运行在以下环境
系统 ubuntu_20.04 lxml * Up to (excluding) 4.5.0-1ubuntu0.3
运行在以下环境
系统 unionos_e python-lxml * Up to (excluding) python-lxml-4.5.2-3.uel20
阿里云评分 3.5
  • 攻击路径 远程
  • 攻击复杂度 复杂
  • 权限要求 无需权限
  • 影响范围 有限影响
  • EXP成熟度 N/A
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 传输被破坏
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-79 在Web页面生成时对输入的转义处理不恰当(跨站脚本)
- 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