• 公告ID (KylinSec-SA-2024-4958)

摘要:

python-Flask-Cors security update

安全等级: Medium

公告ID: KylinSec-SA-2024-4958

发布日期: 2024年6月14日

关联CVE: CVE-2024-1681  

  • 详细介绍

1. 漏洞描述

   

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)

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2024-1681 V6 python-Flask-Cors Fixed

3. 影响组件

    python-Flask-Cors

4. 修复版本

   

V6

软件名称 架构 版本号
python-Flask-Cors-help noarch 5.0.0-1.ks6
python3-Flask-Cors noarch 5.0.0-1.ks6

5. 修复方法


方法一:下载安装包进行升级安装
1、通过下载链接下载需要升级的升级包保存,如 xxx.rpm
2、通过rpm命令升级,如 rpm -Uvh xxx.rpm

方法二:通过软件源进行升级安装
1、保持能够连接上互联网
2、通过yum命令升级指定的包,如 yum install 包名

6. 下载链接

   

V6:

x86_64:

     python-Flask-Cors-help   

     python3-Flask-Cors   

aarch64:

     python-Flask-Cors-help   

     python3-Flask-Cors   

上一篇:KylinSec-SA-2024-4957 下一篇:KylinSec-SA-2024-2731