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

基本信息

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

漏洞描述

Requests is a HTTP library. Since Requests 2.3.0, Requests has been leaking Proxy-Authorization headers to destination servers when redirected to an HTTPS endpoint. This is a product of how we use `rebuild_proxies` to reattach the `Proxy-Authorization` header to requests. For HTTP connections sent through the tunnel, the proxy will identify the header in the request itself and remove it prior to forwarding to the destination server. However when sent over HTTPS, the `Proxy-Authorization` header must be sent in the CONNECT request as the proxy has no visibility into the tunneled request. This results in Requests forwarding proxy credentials to the destination server unintentionally, allowing a malicious actor to potentially exfiltrate sensitive information. This issue has been patched in version 2.31.0.

修复方式

yum update PackageName

漏洞判定

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

补丁

参考

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