4 Star 0 Fork 26

src-openEuler/python-aiohttp

 / 详情

CVE-2024-23334

已完成
CVE和安全问题 拥有者
创建于  
2024-01-30 18:45

一、漏洞信息
漏洞编号:CVE-2024-23334
漏洞归属组件:python-aiohttp
漏洞归属的版本:3.7.4,3.8.3,3.8.5,3.9.3
CVSS V3.0分值:
BaseScore:7.5 High
Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
漏洞简述:
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. When using aiohttp as a web server and configuring static routes, it is necessary to specify the root path for static files. Additionally, the option follow_symlinks can be used to determine whether to follow symbolic links outside the static root directory. When follow_symlinks is set to True, there is no validation to check if reading a file is within the root directory. This can lead to directory traversal vulnerabilities, resulting in unauthorized access to arbitrary files on the system, even when symlinks are not present. Disabling follow_symlinks and using a reverse proxy are encouraged mitigations. Version 3.9.2 fixes this issue.
漏洞公开时间:2024-01-30 07:15:08
漏洞创建时间:2024-01-30 10:45:42
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2024-23334

更多参考(点击展开)
参考来源 参考链接 来源链接
security-advisories.github.com https://github.com/aio-libs/aiohttp/commit/1c335944d6a8b1298baf179b7c0b3069f10c514b
security-advisories.github.com https://github.com/aio-libs/aiohttp/pull/8079
security-advisories.github.com https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5h86-8mv2-jq9f
security-advisories.github.com https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ICUOCFGTB25WUT336BZ4UNYLSZOUVKBD/
security-advisories.github.com https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XXWVZIVAYWEBHNRIILZVB3R3SDQNNAA7/
suse_bugzilla http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-23334 https://bugzilla.suse.com/show_bug.cgi?id=1219341
suse_bugzilla https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5h86-8mv2-jq9f https://bugzilla.suse.com/show_bug.cgi?id=1219341
suse_bugzilla https://www.cve.org/CVERecord?id=CVE-2024-23334 https://bugzilla.suse.com/show_bug.cgi?id=1219341
suse_bugzilla https://github.com/aio-libs/aiohttp/pull/8079 https://bugzilla.suse.com/show_bug.cgi?id=1219341
suse_bugzilla https://github.com/aio-libs/aiohttp/commit/1c335944d6a8b1298baf179b7c0b3069f10c514b https://bugzilla.suse.com/show_bug.cgi?id=1219341
redhat_bugzilla https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5h86-8mv2-jq9f https://bugzilla.redhat.com/show_bug.cgi?id=2261887
redhat_bugzilla https://github.com/aio-libs/aiohttp/commit/1c335944d6a8b1298baf179b7c0b3069f10c514b https://bugzilla.redhat.com/show_bug.cgi?id=2261887
redhat_bugzilla https://github.com/aio-libs/aiohttp/pull/8079 https://bugzilla.redhat.com/show_bug.cgi?id=2261887
redhat_bugzilla https://access.redhat.com/errata/RHSA-2024:1536 https://bugzilla.redhat.com/show_bug.cgi?id=2261887
redhat_bugzilla https://access.redhat.com/errata/RHSA-2024:1640 https://bugzilla.redhat.com/show_bug.cgi?id=2261887
redhat_bugzilla https://access.redhat.com/errata/RHSA-2024:1878 https://bugzilla.redhat.com/show_bug.cgi?id=2261887
redhat_bugzilla https://access.redhat.com/errata/RHSA-2024:2010 https://bugzilla.redhat.com/show_bug.cgi?id=2261887
ubuntu https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5h86-8mv2-jq9f https://ubuntu.com/security/CVE-2024-23334
ubuntu https://github.com/aio-libs/aiohttp/pull/8079 https://ubuntu.com/security/CVE-2024-23334
ubuntu https://github.com/aio-libs/aiohttp/commit/1c335944d6a8b1298baf179b7c0b3069f10c514b https://ubuntu.com/security/CVE-2024-23334
ubuntu https://www.cve.org/CVERecord?id=CVE-2024-23334 https://ubuntu.com/security/CVE-2024-23334
ubuntu https://nvd.nist.gov/vuln/detail/CVE-2024-23334 https://ubuntu.com/security/CVE-2024-23334
ubuntu https://launchpad.net/bugs/cve/CVE-2024-23334 https://ubuntu.com/security/CVE-2024-23334
ubuntu https://security-tracker.debian.org/tracker/CVE-2024-23334 https://ubuntu.com/security/CVE-2024-23334
debian https://security-tracker.debian.org/tracker/CVE-2024-23334
anolis https://anas.openanolis.cn/cves/detail/CVE-2024-23334
cve_search https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5h86-8mv2-jq9f
cve_search https://github.com/aio-libs/aiohttp/pull/8079
cve_search https://github.com/aio-libs/aiohttp/commit/1c335944d6a8b1298baf179b7c0b3069f10c514b
cve_search https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XXWVZIVAYWEBHNRIILZVB3R3SDQNNAA7/
github_advisory https://github.com/aio-libs/aiohttp/pull/8079/files https://github.com/advisories/GHSA-5h86-8mv2-jq9f
github_advisory https://nvd.nist.gov/vuln/detail/CVE-2024-23334 https://github.com/advisories/GHSA-5h86-8mv2-jq9f
github_advisory https://github.com/aio-libs/aiohttp/commit/1c335944d6a8b1298baf179b7c0b3069f10c514b https://github.com/advisories/GHSA-5h86-8mv2-jq9f
github_advisory https://github.com/aio-libs/aiohttp/pull/8079 https://github.com/advisories/GHSA-5h86-8mv2-jq9f
github_advisory https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5h86-8mv2-jq9f https://github.com/advisories/GHSA-5h86-8mv2-jq9f
mageia http://advisories.mageia.org/MGASA-2024-0388.html
python-aiohttp https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5h86-8mv2-jq9f
snyk https://github.com/aio-libs/aiohttp/commit/1c335944d6a8b1298baf179b7c0b3069f10c514b https://security.snyk.io/vuln/SNYK-PYTHON-AIOHTTP-6209406
snyk https://github.com/aio-libs/aiohttp/commit/9118a5831e8a65b8c839eb7e4ac983e040ff41df https://security.snyk.io/vuln/SNYK-PYTHON-AIOHTTP-6209406
snyk https://github.com/aio-libs/aiohttp/pull/8079 https://security.snyk.io/vuln/SNYK-PYTHON-AIOHTTP-6209406

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

详情(点击展开)
影响的包 修复版本 修复补丁 问题引入补丁 来源
https://github.com/aio-libs/aiohttp/commit/1c335944d6a8b1298baf179b7c0b3069f10c514b security-advisories.github.com
https://github.com/aio-libs/aiohttp/pull/8079 security-advisories.github.com
https://github.com/aio-libs/aiohttp/pull/8079 suse_bugzilla
https://github.com/aio-libs/aiohttp/commit/1c335944d6a8b1298baf179b7c0b3069f10c514b suse_bugzilla
https://github.com/aio-libs/aiohttp/commit/1c335944d6a8b1298baf179b7c0b3069f10c514b redhat_bugzilla
https://github.com/aio-libs/aiohttp/pull/8079 redhat_bugzilla
https://github.com/aio-libs/aiohttp/pull/8079 ubuntu
https://github.com/aio-libs/aiohttp/commit/1c335944d6a8b1298baf179b7c0b3069f10c514b ubuntu
https://github.com/aio-libs/aiohttp/pull/8079/files github_advisory
https://github.com/aio-libs/aiohttp/commit/1c335944d6a8b1298baf179b7c0b3069f10c514b github_advisory
https://github.com/aio-libs/aiohttp/pull/8079 github_advisory
https://github.com/aio-libs/aiohttp/commit/1c335944d6a8b1298baf179b7c0b3069f10c514b snyk
https://github.com/aio-libs/aiohttp/commit/9118a5831e8a65b8c839eb7e4ac983e040ff41df snyk
https://github.com/aio-libs/aiohttp/pull/8079 snyk
https://github.com/aio-libs/aiohttp/commit/1c335944d6a8b1298baf179b7c0b3069f10c514b nvd
https://github.com/aio-libs/aiohttp/pull/8079 nvd
https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5h86-8mv2-jq9f nvd
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XXWVZIVAYWEBHNRIILZVB3R3SDQNNAA7/ nvd

二、漏洞分析结构反馈
影响性分析说明:
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. When using aiohttp as a web server and configuring static routes, it is necessary to specify the root path for static files. Additionally, the option follow_symlinks can be used to determine whether to follow symbolic links outside the static root directory. When follow_symlinks is set to True, there is no validation to check if reading a file is within the root directory. This can lead to directory traversal vulnerabilities, resulting in unauthorized access to arbitrary files on the system, even when symlinks are not present. Disabling follow_symlinks and using a reverse proxy are encouraged mitigations. Version 3.9.2 fixes this issue.
openEuler评分:
7.5
Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
受影响版本排查(受影响/不受影响):
1.master(3.9.3):受影响
2.openEuler-20.03-LTS-SP4(3.7.4):受影响
3.openEuler-22.03-LTS-SP3(3.7.4):受影响
4.openEuler-22.03-LTS-SP4(3.7.4):受影响
5.openEuler-24.03-LTS(3.9.3):不受影响
6.openEuler-24.03-LTS-Next(3.9.3):不受影响
7.openEuler-24.03-LTS-SP1(3.9.3):不受影响

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

原因说明:
1.master(3.9.3):正常修复
2.openEuler-20.03-LTS-SP4(3.7.4):正常修复
3.openEuler-22.03-LTS-SP3(3.7.4):正常修复
4.openEuler-22.03-LTS-SP4(3.7.4):正常修复
5.openEuler-24.03-LTS(3.9.3):不受影响-漏洞代码不能被攻击者触发
6.openEuler-24.03-LTS-Next(3.9.3):不受影响-漏洞代码不能被攻击者触发
7.openEuler-24.03-LTS-SP1(3.9.3):不受影响-漏洞代码不能被攻击者触发

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

评论 (7)

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

说明:补丁链接仅供初步排查参考,实际可用性请人工再次确认,补丁下载验证可使用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 计划开始日期设置为2024-01-31 1年前
openeuler-ci-bot 计划截止日期设置为2024-03-01 1年前
openeuler-ci-bot 优先级设置为次要 1年前

该漏洞影响aiohttp .9.2版本,并在3.9.2版本中得到修复。当前各维护分支版本为3.7.4,受此漏洞影响。
由于补丁版本与当前版本差异大,上游社区提供的高版本补丁无法直接回合,适配代码引入问题的风险高,故考虑升级修复。升级高版本需满足安装依赖(frozenlist >= 1.1.1 ,aiosignal >= 1.1.2),而当前社区python-frozenlist、python-aiosignal未创建维护版本分支,无法满足安装需求,暂时挂起此漏洞,待后续跟进修复。

参考链接:
https://github.com/aio-libs/aiohttp/security/advisories/GHSA-5h86-8mv2-jq9f
https://github.com/aio-libs/aiohttp/commit/9118a5831e8a65b8c839eb7e4ac983e040ff41df

openeuler-ci-bot 修改了描述 1年前
openeuler-ci-bot 修改了描述 1年前
starlet_dx 通过合并 Pull Request !31: Upgrade to 3.9.3 for fix CVE-2024-23334 and CVE-2024-23829任务状态待办的 修改为已完成 1年前
openeuler-ci-bot 任务状态已完成 修改为待办的 1年前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
1年前
openeuler-ci-bot 移除了
 
sig/Programming-lang
标签
1年前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
1年前
openeuler-ci-bot 添加了
 
sig/Programming-lang
标签
1年前
starlet_dx 任务状态待办的 修改为已挂起 1年前
openeuler-ci-bot 任务状态已挂起 修改为待办的 7个月前
openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 负责人设置为Charlie_Li 7个月前
openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 修改了描述 6个月前
openeuler-ci-bot 修改了描述 6个月前
openeuler-ci-bot 修改了描述 6个月前
openeuler-ci-bot 修改了描述 6个月前
openeuler-ci-bot 修改了描述 6个月前
openeuler-ci-bot 修改了描述 6个月前
openeuler-ci-bot 修改了描述 6个月前
openeuler-ci-bot 修改了描述 6个月前
openeuler-ci-bot 修改了描述 6个月前
openeuler-ci-bot 修改了描述 6个月前
openeuler-ci-bot 修改了描述 6个月前
openeuler-ci-bot 修改了描述 5个月前
openeuler-ci-bot 修改了描述 4个月前
openeuler-ci-bot 修改了描述 2个月前
openeuler-ci-bot 任务状态已完成 修改为待办的 1个月前
openeuler-ci-bot 修改了描述 1个月前

影响性分析说明:
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. When using aiohttp as a web server and configuring static routes, it is necessary to specify the root path for static files. Additionally, the option 'follow_symlinks' can be used to determine whether to follow symbolic links outside the static root directory. When 'follow_symlinks' is set to True, there is no validation to check if reading a file is within the root directory. This can lead to directory traversal vulnerabilities, resulting in unauthorized access to arbitrary files on the system, even when symlinks are not present. Disabling follow_symlinks and using a reverse proxy are encouraged mitigations. Version 3.9.2 fixes this issue.

openEuler评分:
7.5
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

受影响版本排查(受影响/不受影响):
1.master: 受影响
2.openEuler-20.03-LTS-SP4: 受影响
3.openEuler-22.03-LTS-SP3: 受影响
4.openEuler-22.03-LTS-SP4: 受影响
5.openEuler-24.03-LTS: 不受影响
6.openEuler-24.03-LTS-Next: 不受影响
7.openEuler-24.03-LTS-SP1: 不受影响

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

原因说明:
1.master: 正常修复
2.openEuler-20.03-LTS-SP4: 正常修复
3.openEuler-22.03-LTS-SP3: 正常修复
4.openEuler-22.03-LTS-SP4: 正常修复
5.openEuler-24.03-LTS: 不受影响-漏洞代码不能被攻击者触发
6.openEuler-24.03-LTS-Next: 不受影响-漏洞代码不能被攻击者触发
7.openEuler-24.03-LTS-SP1: 不受影响-漏洞代码不能被攻击者触发

openeuler-ci-bot 修改了描述 1个月前
openeuler-ci-bot 任务状态待办的 修改为进行中 1个月前
openeuler-ci-bot 任务状态已完成 修改为进行中 1个月前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
1个月前
openeuler-ci-bot 移除了
 
sig/Programming-lang
标签
1个月前
openeuler-ci-bot 添加了
 
CVE/FIXED
标签
1个月前
openeuler-ci-bot 添加了
 
sig/Programming-lang
标签
1个月前
openeuler-ci-bot 计划截止日期2024-03-01 修改为2024-02-14 1个月前
openeuler-ci-bot 优先级次要 修改为主要 1个月前
openeuler-ci-bot 修改了描述 1个月前
openeuler-ci-bot 修改了描述 1个月前

登录 后才可以发表评论

状态
负责人
项目
里程碑
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936 starlet_dx-starlet-dx
1
https://gitee.com/src-openeuler/python-aiohttp.git
git@gitee.com:src-openeuler/python-aiohttp.git
src-openeuler
python-aiohttp
python-aiohttp

搜索帮助