安全公告/【CVE-2023-23934】

基本信息

漏洞名称:
受影响操作系统:Asianux
危险等级:低危
影响源码包:python-werkzeug
CVSS评分:3.5
发现日期:2023-08-30
修复版本:python-werkzeug-1.0.1-2

漏洞描述

Werkzeug is a comprehensive WSGI web application library. Browsers may allow "nameless" cookies that look like `=value` instead of `key=value`. A vulnerable browser may allow a compromised application on an adjacent subdomain to exploit this to set a cookie like `=__Host-test=bad` for another subdomain. Werkzeug prior to 2.2.3 will parse the cookie `=__Host-test=bad` as __Host-test=bad`. If a Werkzeug application is running next to a vulnerable or malicious subdomain which sets such a cookie using a vulnerable browser, the Werkzeug application will see the bad cookie value but the valid cookie key. The issue is fixed in Werkzeug 2.2.3.

修复方式

yum update PackageName

漏洞判定

执行命令yum info PackageName获取软件包版本号,版本小于修复版本,则受此漏洞影响,版本大于等于修复版本,则此漏洞已修复

补丁

参考

https://gitee.com/src-openeuler/python-werkzeug/issues/I6FDE3
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-23934
https://nvd.nist.gov/vuln/detail/CVE-2023-23934