Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
description of repo status
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
9
Star
1
Fork
39
src-openEuler
/
python-urllib3
Closed
Code
Issues
2
Pull Requests
2
Wiki
Insights
Pipelines
Service
JavaDoc
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
DevLens
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
CVE-2024-37891
Done
#IA6610
CVE和安全问题
openeuler-ci-bot
owner
Opened this issue
2024-06-18 08:59
一、漏洞信息 漏洞编号:[CVE-2024-37891](https://nvd.nist.gov/vuln/detail/CVE-2024-37891) 漏洞归属组件:[python-urllib3](https://gitee.com/src-openeuler/python-urllib3) 漏洞归属的版本:1.24.3,1.25.9,1.26.12,1.26.16,1.26.17,1.26.18,1.26.3,1.26.7,1.26.8 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-18 08:59:45 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2024-37891 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | 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 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2024:5041 | https://bugzilla.redhat.com/show_bug.cgi?id=2292788 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2024:5309 | https://bugzilla.redhat.com/show_bug.cgi?id=2292788 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2024:5526 | https://bugzilla.redhat.com/show_bug.cgi?id=2292788 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2024:5526 | https://bugzilla.redhat.com/show_bug.cgi?id=2292788 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2024:5526 | https://bugzilla.redhat.com/show_bug.cgi?id=2292788 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2024:5627 | https://bugzilla.redhat.com/show_bug.cgi?id=2292788 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2024:5622 | https://bugzilla.redhat.com/show_bug.cgi?id=2292788 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2024:5633 | https://bugzilla.redhat.com/show_bug.cgi?id=2292788 | | 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 | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: openBrain开源漏洞感知系统 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> | 影响的包 | 修复版本 | 修复补丁 | 问题引入补丁 | 来源 | | ------- | -------- | ------- | -------- | --------- | | | | 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 | </details> 二、漏洞分析结构反馈 影响性分析说明: 当将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(1.26.17):受影响 2.openEuler-22.03-LTS-SP1(1.26.12):受影响 3.openEuler-22.03-LTS-SP3(1.26.12):受影响 4.openEuler-22.03-LTS-SP4(1.26.12):受影响 5.openEuler-24.03-LTS(1.26.18):受影响 6.openEuler-24.03-LTS-Next(1.26.18):受影响 7.openEuler-20.03-LTS-SP4(1.25.9):不受影响 修复是否涉及abi变化(是/否): 1.master(1.26.17):否 2.openEuler-20.03-LTS-SP4(1.25.9):否 3.openEuler-22.03-LTS-SP1(1.26.12):否 4.openEuler-22.03-LTS-SP3(1.26.12):否 5.openEuler-22.03-LTS-SP4(1.26.12):否 6.openEuler-24.03-LTS(1.26.18):否 7.openEuler-24.03-LTS-Next(1.26.18):否 三、漏洞修复 安全公告链接:https://www.openeuler.org/zh/security/safety-bulletin/detail/?id=openEuler-SA-2024-2037
一、漏洞信息 漏洞编号:[CVE-2024-37891](https://nvd.nist.gov/vuln/detail/CVE-2024-37891) 漏洞归属组件:[python-urllib3](https://gitee.com/src-openeuler/python-urllib3) 漏洞归属的版本:1.24.3,1.25.9,1.26.12,1.26.16,1.26.17,1.26.18,1.26.3,1.26.7,1.26.8 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-18 08:59:45 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2024-37891 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | 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 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2024:5041 | https://bugzilla.redhat.com/show_bug.cgi?id=2292788 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2024:5309 | https://bugzilla.redhat.com/show_bug.cgi?id=2292788 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2024:5526 | https://bugzilla.redhat.com/show_bug.cgi?id=2292788 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2024:5526 | https://bugzilla.redhat.com/show_bug.cgi?id=2292788 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2024:5526 | https://bugzilla.redhat.com/show_bug.cgi?id=2292788 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2024:5627 | https://bugzilla.redhat.com/show_bug.cgi?id=2292788 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2024:5622 | https://bugzilla.redhat.com/show_bug.cgi?id=2292788 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2024:5633 | https://bugzilla.redhat.com/show_bug.cgi?id=2292788 | | 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 | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: openBrain开源漏洞感知系统 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> | 影响的包 | 修复版本 | 修复补丁 | 问题引入补丁 | 来源 | | ------- | -------- | ------- | -------- | --------- | | | | 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 | </details> 二、漏洞分析结构反馈 影响性分析说明: 当将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(1.26.17):受影响 2.openEuler-22.03-LTS-SP1(1.26.12):受影响 3.openEuler-22.03-LTS-SP3(1.26.12):受影响 4.openEuler-22.03-LTS-SP4(1.26.12):受影响 5.openEuler-24.03-LTS(1.26.18):受影响 6.openEuler-24.03-LTS-Next(1.26.18):受影响 7.openEuler-20.03-LTS-SP4(1.25.9):不受影响 修复是否涉及abi变化(是/否): 1.master(1.26.17):否 2.openEuler-20.03-LTS-SP4(1.25.9):否 3.openEuler-22.03-LTS-SP1(1.26.12):否 4.openEuler-22.03-LTS-SP3(1.26.12):否 5.openEuler-22.03-LTS-SP4(1.26.12):否 6.openEuler-24.03-LTS(1.26.18):否 7.openEuler-24.03-LTS-Next(1.26.18):否 三、漏洞修复 安全公告链接:https://www.openeuler.org/zh/security/safety-bulletin/detail/?id=openEuler-SA-2024-2037
Comments (
9
)
Sign in
to comment
Status
Done
Backlog
已挂起
Doing
Done
Declined
Assignees
Not set
luzhihao
MrRlu
Assignee
Collaborator
+Assign
+Mention
Labels
CVE/FIXED
sig/Networking
Not set
Projects
Unprojected
Unprojected
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (
-
)
Tags (
-
)
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(2)
1
https://gitee.com/src-openeuler/python-urllib3.git
git@gitee.com:src-openeuler/python-urllib3.git
src-openeuler
python-urllib3
python-urllib3
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register