9 Star 1 Fork 32

src-openEuler/python-pip

CVE-2024-37891

已完成
CVE和安全问题 拥有者
创建于  
2024-06-20 16:46

一、漏洞信息
漏洞编号:CVE-2024-37891
漏洞归属组件:python-pip
漏洞归属的版本:20.2.2,20.3.3,21.3.1,22.3.1,23.1.2,23.3.1
CVSS V3.0分值:
BaseScore:4.4 Medium
Vector:CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
漏洞简述:
urllib3 is a user-friendly HTTP client library for Python. When using urllib3 s proxy support with ProxyManager, the Proxy-Authorization header is only sent to the configured proxy, as expected. However, when sending HTTP requests without using urllib3 s proxy support, it s possible to accidentally configure the Proxy-Authorization header even though it won t have any effect as the request is not using a forwarding proxy or a tunneling proxy. In those cases, urllib3 doesn t treat the Proxy-Authorization HTTP header as one carrying authentication material and thus doesn t strip the header on cross-origin redirects. Because this is a highly unlikely scenario, we believe the severity of this vulnerability is low for almost all users. Out of an abundance of caution urllib3 will automatically strip the Proxy-Authorization header during cross-origin redirects to avoid the small chance that users are doing this on accident. Users should use urllib3 s proxy support or disable automatic redirects to achieve safe processing of the Proxy-Authorization header, but we still decided to strip the header by default in order to further protect users who aren t using the correct approach. We believe the number of usages affected by this advisory is low. It requires all of the following to be true to be exploited: 1. Setting the Proxy-Authorization header without using urllib3 s built-in proxy support. 2. Not disabling HTTP redirects. 3. Either not using an HTTPS origin server or for the proxy or target origin to redirect to a malicious origin. Users are advised to update to either version 1.26.19 or version 2.2.2. Users unable to upgrade may use the Proxy-Authorization header with urllib3 s ProxyManager, disable HTTP redirects using redirects=False when sending requests, or not user the Proxy-Authorization header as mitigations.
漏洞公开时间:2024-06-18 04:15:13
漏洞创建时间:2024-06-20 16:46:12
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2024-37891

更多参考(点击展开)
参考来源 参考链接 来源链接
security-advisories.github.com https://github.com/urllib3/urllib3/commit/accff72ecc2f6cf5a76d9570198a93ac7c90270e
security-advisories.github.com https://github.com/urllib3/urllib3/security/advisories/GHSA-34jh-p97f-mpxf
suse_bugzilla http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-37891 https://bugzilla.suse.com/show_bug.cgi?id=1226469
suse_bugzilla https://www.cve.org/CVERecord?id=CVE-2024-37891 https://bugzilla.suse.com/show_bug.cgi?id=1226469
suse_bugzilla https://github.com/urllib3/urllib3/commit/accff72ecc2f6cf5a76d9570198a93ac7c90270e https://bugzilla.suse.com/show_bug.cgi?id=1226469
suse_bugzilla https://github.com/urllib3/urllib3/security/advisories/GHSA-34jh-p97f-mpxf https://bugzilla.suse.com/show_bug.cgi?id=1226469
suse_bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=2292788 https://bugzilla.suse.com/show_bug.cgi?id=1226469
redhat_bugzilla https://github.com/urllib3/urllib3/commit/accff72ecc2f6cf5a76d9570198a93ac7c90270e https://bugzilla.redhat.com/show_bug.cgi?id=2292788
redhat_bugzilla https://github.com/urllib3/urllib3/security/advisories/GHSA-34jh-p97f-mpxf https://bugzilla.redhat.com/show_bug.cgi?id=2292788
redhat_bugzilla https://access.redhat.com/errata/RHSA-2024:4422 https://bugzilla.redhat.com/show_bug.cgi?id=2292788
ubuntu https://www.cve.org/CVERecord?id=CVE-2024-37891 https://ubuntu.com/security/CVE-2024-37891
ubuntu https://github.com/urllib3/urllib3/security/advisories/GHSA-34jh-p97f-mpxf https://ubuntu.com/security/CVE-2024-37891
ubuntu https://nvd.nist.gov/vuln/detail/CVE-2024-37891 https://ubuntu.com/security/CVE-2024-37891
ubuntu https://launchpad.net/bugs/cve/CVE-2024-37891 https://ubuntu.com/security/CVE-2024-37891
ubuntu https://security-tracker.debian.org/tracker/CVE-2024-37891 https://ubuntu.com/security/CVE-2024-37891
debian https://security-tracker.debian.org/tracker/CVE-2024-37891
cve_search https://github.com/urllib3/urllib3/security/advisories/GHSA-34jh-p97f-mpxf
cve_search https://github.com/urllib3/urllib3/commit/accff72ecc2f6cf5a76d9570198a93ac7c90270e
github_advisory https://github.com/urllib3/urllib3/security/advisories/GHSA-34jh-p97f-mpxf https://github.com/advisories/GHSA-34jh-p97f-mpxf
github_advisory https://github.com/urllib3/urllib3/commit/accff72ecc2f6cf5a76d9570198a93ac7c90270e https://github.com/advisories/GHSA-34jh-p97f-mpxf
github_advisory https://github.com/urllib3/urllib3/commit/40b6d1605814dd1db0a46e202d6e56f2e4c9a468 https://github.com/advisories/GHSA-34jh-p97f-mpxf
github_advisory https://nvd.nist.gov/vuln/detail/CVE-2024-37891 https://github.com/advisories/GHSA-34jh-p97f-mpxf
python-urllib3 https://github.com/urllib3/urllib3/security/advisories/GHSA-34jh-p97f-mpxf
amazon_linux_explore https://access.redhat.com/security/cve/CVE-2024-37891 https://explore.alas.aws.amazon.com/CVE-2024-37891.html
amazon_linux_explore https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-37891 https://explore.alas.aws.amazon.com/CVE-2024-37891.html
ubuntu https://github.com/urllib3/urllib3/commit/accff72ecc2f6cf5a76d9570198a93ac7c90270e (2.2.2) https://ubuntu.com/security/CVE-2024-37891

漏洞分析指导链接:
https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md
漏洞数据来源:
openBrain开源漏洞感知系统
漏洞补丁信息:

详情(点击展开)
影响的包 修复版本 修复补丁 问题引入补丁 来源
https://github.com/urllib3/urllib3/commit/accff72ecc2f6cf5a76d9570198a93ac7c90270e security-advisories.github.com
https://github.com/urllib3/urllib3/commit/accff72ecc2f6cf5a76d9570198a93ac7c90270e suse_bugzilla
https://github.com/urllib3/urllib3/commit/accff72ecc2f6cf5a76d9570198a93ac7c90270e redhat_bugzilla
https://github.com/urllib3/urllib3/commit/accff72ecc2f6cf5a76d9570198a93ac7c90270e github_advisory
https://github.com/urllib3/urllib3/commit/40b6d1605814dd1db0a46e202d6e56f2e4c9a468 github_advisory
python-pip https://github.com/urllib3/urllib3/commit/accff72ecc2f6cf5a76d9570198a93ac7c90270e ubuntu
https://github.com/urllib3/urllib3/commit/accff72ecc2f6cf5a76d9570198a93ac7c90270e (2.2.2) ubuntu

二、漏洞分析结构反馈
影响性分析说明:
当将urllib3的代理支持与ProxyManager一起使用时,Proxy-Authorization标头只会发送到配置的代理,正如预期的。但是,当发送HTTP请求而不使用urllib3的代理支持时,可能会意外配置Proxy-Authorization标头,即使它不会有任何效果,因为请求没有使用转发代理或隧道代理。在这些情况下,urllib3不会将Proxy-Authorization HTTP标头视为携带身份验证材料的标头,因此不会在跨域重定向时剥离该标头;
openEuler评分:
4.4
Vector:CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
受影响版本排查(受影响/不受影响):
1.master(23.3.1):受影响
2.openEuler-20.03-LTS-SP4(20.2.2):受影响
3.openEuler-22.03-LTS-SP1(21.3.1):受影响
4.openEuler-22.03-LTS-SP3(21.3.1):受影响
5.openEuler-22.03-LTS-SP4(21.3.1):受影响
6.openEuler-24.03-LTS(23.3.1):受影响
7.openEuler-24.03-LTS-Next(23.3.1):受影响

修复是否涉及abi变化(是/否):
1.master(23.3.1):否
2.openEuler-20.03-LTS-SP4(20.2.2):否
3.openEuler-22.03-LTS-SP1(21.3.1):否
4.openEuler-22.03-LTS-SP3(21.3.1):否
5.openEuler-22.03-LTS-SP4(21.3.1):否
6.openEuler-24.03-LTS(23.3.1):否
7.openEuler-24.03-LTS-Next(23.3.1):否

三、漏洞修复
安全公告链接:https://www.openeuler.org/zh/security/safety-bulletin/detail/?id=openEuler-SA-2024-1869

评论 (6)

openeuler-ci-bot 创建了CVE和安全问题 1年前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
1年前
展开全部操作日志
openeuler-ci-bot 添加了
 
sig/Base-service
标签
1年前
参考网址 关联pr 状态 补丁链接
https://nvd.nist.gov/vuln/detail/CVE-2024-37891NoneNonehttps://github.com/urllib3/urllib3/commit/accff72ecc2f6cf5a76d9570198a93ac7c90270e
https://ubuntu.com/security/CVE-2024-37891NoneNonehttps://github.com/urllib3/urllib3/commit/accff72ecc2f6cf5a76d9570198a93ac7c90270e
https://discourse.ubuntu.com/c/ubuntu-pro
https://www.opencve.io/cve/CVE-2024-37891NoneNonehttps://github.com/urllib3/urllib3/commit/accff72ecc2f6cf5a76d9570198a93ac7c90270e
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2024-37891NoneNonehttps://github.com/urllib3/urllib3/commit/accff72ecc2f6cf5a76d9570198a93ac7c90270e
https://security-tracker.debian.org/tracker/CVE-2024-37891NoneNonehttps://github.com/urllib3/urllib3/commit/accff72ecc2f6cf5a76d9570198a93ac7c90270e

说明:补丁链接仅供初步排查参考,实际可用性请人工再次确认,补丁下载验证可使用CVE补丁工具
若补丁不准确,烦请在此issue下评论 '/report-patch 参考网址 补丁链接1,补丁链接2' 反馈正确信息,便于我们不断优化工具,不胜感激。
如 /report-patch https://security-tracker.debian.org/tracker/CVE-2021-3997 https://github.com/systemd/systemd/commit/5b1cf7a9be37e20133c0208005274ce4a5b5c6a1

openeuler-ci-bot 修改了描述 1年前
openeuler-ci-bot 修改了描述 1年前
openeuler-ci-bot 修改了描述 1年前
openeuler-ci-bot 修改了描述 1年前
openeuler-ci-bot 计划开始日期设置为2024-06-21 1年前
openeuler-ci-bot 计划截止日期设置为2024-07-21 1年前
openeuler-ci-bot 优先级设置为次要 1年前
openeuler-ci-bot 修改了描述 1年前
openeuler-ci-bot 修改了描述 1年前
openeuler-ci-bot 修改了描述 1年前
openeuler-ci-bot 修改了描述 1年前
openeuler-ci-bot 修改了描述 1年前
openeuler-ci-bot 修改了描述 1年前
openeuler-ci-bot 修改了描述 1年前
openeuler-ci-bot 修改了描述 1年前
openeuler-ci-bot 修改了描述 1年前
openeuler-ci-bot 修改了描述 1年前
openeuler-ci-bot 修改了描述 1年前
openeuler-ci-bot 修改了描述 1年前
openeuler-ci-bot 修改了描述 1年前
openeuler-ci-bot 修改了描述 1年前
openeuler-ci-bot 修改了描述 1年前
openeuler-ci-bot 修改了描述 1年前
openeuler-ci-bot 负责人设置为陈棋德 1年前
openeuler-ci-bot 修改了描述 1年前
openeuler-ci-bot 修改了描述 1年前
openeuler-ci-bot 修改了描述 1年前
openeuler-ci-bot 修改了描述 1年前
openeuler-ci-bot 修改了描述 1年前
openeuler-ci-bot 修改了描述 1年前
openeuler-ci-bot 修改了描述 1年前
openeuler-ci-bot 修改了描述 12个月前
openeuler-ci-bot 修改了描述 12个月前
openeuler-ci-bot 修改了描述 12个月前
openeuler-ci-bot 修改了描述 12个月前
openeuler-ci-bot 修改了描述 12个月前
openeuler-ci-bot 修改了描述 12个月前
xieminmin 负责人陈棋德 修改为markeryang 12个月前

影响性分析说明:
当将urllib3的代理支持与ProxyManager一起使用时,Proxy-Authorization标头只会发送到配置的代理,正如预期的。但是,当发送HTTP请求而不使用urllib3的代理支持时,可能会意外配置Proxy-Authorization标头,即使它不会有任何效果,因为请求没有使用转发代理或隧道代理。在这些情况下,urllib3不会将Proxy-Authorization HTTP标头视为携带身份验证材料的标头,因此不会在跨域重定向时剥离该标头;
openEuler评分: (评分和向量)
4.4 CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
受影响版本排查(受影响/不受影响):
1.master(23.3.1):受影响
2.openEuler-20.03-LTS-SP4(20.2.2):受影响
3.openEuler-22.03-LTS-SP1(21.3.1):受影响
4.openEuler-22.03-LTS-SP3(21.3.1):受影响
5.openEuler-22.03-LTS-SP4(21.3.1):受影响
6.openEuler-24.03-LTS(23.3.1):受影响
7.openEuler-24.03-LTS-Next(23.3.1):受影响

修复是否涉及abi变化(是/否):
1.master(23.3.1):否
2.openEuler-20.03-LTS-SP4(20.2.2):否
3.openEuler-22.03-LTS-SP1(21.3.1):否
4.openEuler-22.03-LTS-SP3(21.3.1):否
5.openEuler-22.03-LTS-SP4(21.3.1):否
6.openEuler-24.03-LTS(23.3.1):否
7.openEuler-24.03-LTS-Next(23.3.1):否

openeuler-ci-bot 修改了描述 12个月前
openeuler-ci-bot 修改了描述 12个月前
xieminmin 添加协作者xieminmin 12个月前
openeuler-ci-bot 修改了描述 12个月前
xieminmin 任务状态待办的 修改为已完成 12个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 12个月前
openeuler-ci-bot 修改了描述 12个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
12个月前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
12个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
12个月前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
12个月前
openeuler-ci-bot 修改了描述 12个月前
xieminmin 负责人markeryang 修改为未设置 12个月前
xieminmin 负责人设置为yangyuan32 12个月前
xieminmin 任务状态待办的 修改为已完成 12个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
12个月前
openeuler-ci-bot 移除了
 
sig/Base-service
标签
12个月前
openeuler-ci-bot 添加了
 
CVE/FIXED
标签
12个月前
openeuler-ci-bot 添加了
 
sig/Base-service
标签
12个月前
openeuler-ci-bot 修改了描述 12个月前
openeuler-ci-bot 修改了描述 12个月前

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
5329419 openeuler ci bot 1632792936 yangyuan32-yangyuan32 xieminmin-xieminmin
1
https://gitee.com/src-openeuler/python-pip.git
git@gitee.com:src-openeuler/python-pip.git
src-openeuler
python-pip
python-pip

搜索帮助