摘要:
python-Flask-Cors security update
安全等级: Medium
公告ID: KylinSec-SA-2024-4958
发布日期: 2024年6月14日
关联CVE: CVE-2024-1681
A Flask extension for handling Cross Origin Resource Sharing (CORS), making cross-origin AJAX possible.
Security Fix(es):
corydolphin/flask-cors is vulnerable to log injection when the log level is set to debug. An attacker can inject fake log entries into the log file by sending a specially crafted GET request containing a CRLF sequence in the request path. This vulnerability allows attackers to corrupt log files, potentially covering tracks of other attacks, confusing log post-processing tools, and forging log entries. The issue is due to improper output neutralization for logs.(CVE-2024-1681)
cve名称 | 产品 | 组件 | 是否受影响 |
---|---|---|---|
CVE-2024-1681 | 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 包名