摘要:
python-Flask-Cors security update
安全等级: High
公告ID: KylinSec-SA-2024-5016
发布日期: 2024年9月27日
关联CVE: CVE-2024-6221
A Flask extension for handling Cross Origin Resource Sharing (CORS), making cross-origin AJAX possible.
Security Fix(es):
A vulnerability in corydolphin/flask-cors version 4.0.1 allows the `Access-Control-Allow-Private-Network` CORS header to be set to true by default, without any configuration option. This behavior can expose private network resources to unauthorized external access, leading to significant security risks such as data breaches, unauthorized access to sensitive information, and potential network intrusions.(CVE-2024-6221)
cve名称 | 产品 | 组件 | 是否受影响 |
---|---|---|---|
CVE-2024-6221 | V6 | python-Flask-Cors | Fixed |
软件名称 | 架构 | 版本号 |
---|---|---|
python-Flask-Cors-help | noarch | 5.0.0-1.ks6 |
python3-Flask-Cors | noarch | 5.0.0-1.ks6 |
方法一:下载安装包进行升级安装
1、通过下载链接下载需要升级的升级包保存,如 xxx.rpm
2、通过rpm命令升级,如 rpm -Uvh xxx.rpm
方法二:通过软件源进行升级安装
1、保持能够连接上互联网
2、通过yum命令升级指定的包,如 yum install 包名