登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
12月21日就在北京,来看大模型推理 + 国产硬件生态 + 开源社区分享,一起搞技术、聊开源、领福利~~
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
114
Star
0
Fork
47
src-openEuler
/
python-flask
代码
Issues
0
Pull Requests
13
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
CVE-2023-30861
已完成
#I6ZWOG
CVE和安全问题
openLiBing-bot
创建于
2023-05-03 02:13
一、漏洞信息 漏洞编号:[CVE-2023-30861](https://nvd.nist.gov/vuln/detail/CVE-2023-30861) 漏洞归属组件:[python-flask](https://gitee.com/src-openeuler/python-flask) 漏洞归属的版本:1.0.4,1.1.2,2.1.2,2.2.5 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 漏洞简述: Flask is a lightweight WSGI web application framework. When all of the following conditions are met, a response containing data intended for one client may be cached and subsequently sent by the proxy to other clients. If the proxy also caches `Set-Cookie` headers, it may send one client s `session` cookie to other clients. The severity depends on the application s use of the session and the proxy s behavior regarding cookies. The risk depends on all these conditions being met.1. The application must be hosted behind a caching proxy that does not strip cookies or ignore responses with cookies.2. The application sets `session.permanent = True`3. The application does not access or modify the session at any point during a request.4. `SESSION_REFRESH_EACH_REQUEST` enabled (the default).5. The application does not set a `Cache-Control` header to indicate that a page is private or should not be cached.This happens because vulnerable versions of Flask only set the `Vary: Cookie` header when the session is accessed or modified, not when it is refreshed (re-sent to update the expiration) without being accessed or modified. This issue has been fixed in versions 2.3.2 and 2.2.5. 漏洞公开时间:2023-05-03 02:15:52 漏洞创建时间:2023-05-03 02:13:33 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2023-30861 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | security-advisories.github.com | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | | | security-advisories.github.com | https://github.com/pallets/flask/commit/afd63b16170b7c047f5758eb910c416511e9c965 | | | security-advisories.github.com | https://github.com/pallets/flask/releases/tag/2.2.5 | | | security-advisories.github.com | https://github.com/pallets/flask/releases/tag/2.3.2 | | | security-advisories.github.com | https://github.com/pallets/flask/security/advisories/GHSA-m2qf-hxjv-5gpq | | | security-advisories.github.com | https://lists.debian.org/debian-lts-announce/2023/08/msg00024.html | | | security-advisories.github.com | https://security.netapp.com/advisory/ntap-20230818-0006/ | | | security-advisories.github.com | https://www.debian.org/security/2023/dsa-5442 | | | suse_bugzilla | http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-30861 | https://bugzilla.suse.com/show_bug.cgi?id=1211246 | | suse_bugzilla | https://bugzilla.redhat.com/show_bug.cgi?id=2196643 | https://bugzilla.suse.com/show_bug.cgi?id=1211246 | | suse_bugzilla | https://www.cve.org/CVERecord?id=CVE-2023-30861 | https://bugzilla.suse.com/show_bug.cgi?id=1211246 | | suse_bugzilla | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | https://bugzilla.suse.com/show_bug.cgi?id=1211246 | | suse_bugzilla | https://github.com/pallets/flask/commit/afd63b16170b7c047f5758eb910c416511e9c965 | https://bugzilla.suse.com/show_bug.cgi?id=1211246 | | suse_bugzilla | https://github.com/pallets/flask/releases/tag/2.2.5 | https://bugzilla.suse.com/show_bug.cgi?id=1211246 | | suse_bugzilla | https://github.com/pallets/flask/releases/tag/2.3.2 | https://bugzilla.suse.com/show_bug.cgi?id=1211246 | | suse_bugzilla | https://github.com/pallets/flask/security/advisories/GHSA-m2qf-hxjv-5gpq | https://bugzilla.suse.com/show_bug.cgi?id=1211246 | | redhat_bugzilla | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | https://bugzilla.redhat.com/show_bug.cgi?id=2196643 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2023:3440 | https://bugzilla.redhat.com/show_bug.cgi?id=2196643 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2023:3444 | https://bugzilla.redhat.com/show_bug.cgi?id=2196643 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2023:3446 | https://bugzilla.redhat.com/show_bug.cgi?id=2196643 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2023:3525 | https://bugzilla.redhat.com/show_bug.cgi?id=2196643 | | redhat_bugzilla | https://access.redhat.com/security/cve/cve-2023-30861 | https://bugzilla.redhat.com/show_bug.cgi?id=2196643 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2023:3536 | https://bugzilla.redhat.com/show_bug.cgi?id=2196643 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2023:3545 | https://bugzilla.redhat.com/show_bug.cgi?id=2196643 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2023:7341 | https://bugzilla.redhat.com/show_bug.cgi?id=2196643 | | debian | | https://security-tracker.debian.org/tracker/CVE-2023-30861 | | oracle | | https://www.oracle.com/security-alerts/cpujul2023.html | | anolis | | https://anas.openanolis.cn/cves/detail/CVE-2023-30861 | | cve_search | | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | | cve_search | | https://github.com/pallets/flask/releases/tag/2.3.2 | | cve_search | | https://github.com/pallets/flask/releases/tag/2.2.5 | | cve_search | | https://github.com/pallets/flask/security/advisories/GHSA-m2qf-hxjv-5gpq | | cve_search | | https://github.com/pallets/flask/commit/afd63b16170b7c047f5758eb910c416511e9c965 | | cve_search | | https://www.debian.org/security/2023/dsa-5442 | | cve_search | | https://security.netapp.com/advisory/ntap-20230818-0006/ | | cve_search | | https://lists.debian.org/debian-lts-announce/2023/08/msg00024.html | | github_advisory | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | https://github.com/advisories/GHSA-m2qf-hxjv-5gpq | | github_advisory | https://github.com/pallets/flask/releases/tag/2.2.5 | https://github.com/advisories/GHSA-m2qf-hxjv-5gpq | | github_advisory | https://github.com/pallets/flask/releases/tag/2.3.2 | https://github.com/advisories/GHSA-m2qf-hxjv-5gpq | | github_advisory | https://github.com/pallets/flask/security/advisories/GHSA-m2qf-hxjv-5gpq | https://github.com/advisories/GHSA-m2qf-hxjv-5gpq | | github_advisory | https://github.com/pallets/flask/commit/afd63b16170b7c047f5758eb910c416511e9c965 | https://github.com/advisories/GHSA-m2qf-hxjv-5gpq | | github_advisory | https://nvd.nist.gov/vuln/detail/CVE-2023-30861 | https://github.com/advisories/GHSA-m2qf-hxjv-5gpq | | mageia | | http://advisories.mageia.org/MGASA-2023-0193.html | | osv | https://github.com/pallets/flask/security/advisories/GHSA-m2qf-hxjv-5gpq | https://osv.dev/vulnerability/GHSA-m2qf-hxjv-5gpq | | osv | https://nvd.nist.gov/vuln/detail/CVE-2023-30861 | https://osv.dev/vulnerability/GHSA-m2qf-hxjv-5gpq | | osv | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | https://osv.dev/vulnerability/GHSA-m2qf-hxjv-5gpq | | osv | https://github.com/pallets/flask/commit/afd63b16170b7c047f5758eb910c416511e9c965 | https://osv.dev/vulnerability/GHSA-m2qf-hxjv-5gpq | | osv | https://github.com/pallets/flask | https://osv.dev/vulnerability/GHSA-m2qf-hxjv-5gpq | | osv | https://github.com/pallets/flask/releases/tag/2.2.5 | https://osv.dev/vulnerability/GHSA-m2qf-hxjv-5gpq | | osv | https://github.com/pallets/flask/releases/tag/2.3.2 | https://osv.dev/vulnerability/GHSA-m2qf-hxjv-5gpq | | amazon_linux_explore | https://access.redhat.com/security/cve/CVE-2023-30861 | https://explore.alas.aws.amazon.com/CVE-2023-30861.html | | amazon_linux_explore | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-30861 | https://explore.alas.aws.amazon.com/CVE-2023-30861.html | | snyk | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | https://security.snyk.io/vuln/SNYK-PYTHON-FLASK-5490129 | | snyk | https://github.com/pallets/flask/commit/afd63b16170b7c047f5758eb910c416511e9c965 | https://security.snyk.io/vuln/SNYK-PYTHON-FLASK-5490129 | | snyk | https://github.com/pallets/flask/pull/5109 | https://security.snyk.io/vuln/SNYK-PYTHON-FLASK-5490129 | | snyk | https://github.com/pallets/flask/releases/tag/2.2.5 | https://security.snyk.io/vuln/SNYK-PYTHON-FLASK-5490129 | | snyk | https://github.com/pallets/flask/releases/tag/2.3.2 | https://security.snyk.io/vuln/SNYK-PYTHON-FLASK-5490129 | | snyk | https://flask.palletsprojects.com/en/2.3.x/api/#flask.session.permanent | https://security.snyk.io/vuln/SNYK-PYTHON-FLASK-5490129 | | nvd | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | | | nvd | https://github.com/pallets/flask/releases/tag/2.3.2 | | | nvd | https://github.com/pallets/flask/releases/tag/2.2.5 | | | nvd | https://github.com/pallets/flask/security/advisories/GHSA-m2qf-hxjv-5gpq | | | nvd | https://github.com/pallets/flask/commit/afd63b16170b7c047f5758eb910c416511e9c965 | | | nvd | https://www.debian.org/security/2023/dsa-5442 | | | redhat | https://access.redhat.com/security/cve/CVE-2023-30861 | | | nvd | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | | | nvd | https://github.com/pallets/flask/releases/tag/2.3.2 | | | nvd | https://github.com/pallets/flask/releases/tag/2.2.5 | | | nvd | https://github.com/pallets/flask/security/advisories/GHSA-m2qf-hxjv-5gpq | | | nvd | https://github.com/pallets/flask/commit/afd63b16170b7c047f5758eb910c416511e9c965 | | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: 其它 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> | 影响的包 | 修复版本 | 修复补丁 | 问题引入补丁 | 来源 | | ------- | -------- | ------- | -------- | --------- | | | | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | | security-advisories.github.com | | | | https://github.com/pallets/flask/commit/afd63b16170b7c047f5758eb910c416511e9c965 | | security-advisories.github.com | | | | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | | suse_bugzilla | | | | https://github.com/pallets/flask/commit/afd63b16170b7c047f5758eb910c416511e9c965 | | suse_bugzilla | | | | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | | redhat_bugzilla | | | | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | | github_advisory | | | | https://github.com/pallets/flask/commit/afd63b16170b7c047f5758eb910c416511e9c965 | | github_advisory | | | | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | | osv | | | | https://github.com/pallets/flask/commit/afd63b16170b7c047f5758eb910c416511e9c965 | | osv | | | | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | | snyk | | | | https://github.com/pallets/flask/commit/afd63b16170b7c047f5758eb910c416511e9c965 | | snyk | | | | https://github.com/pallets/flask/pull/5109 | | snyk | | | | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | | nvd | | | | https://github.com/pallets/flask/commit/afd63b16170b7c047f5758eb910c416511e9c965 | | nvd | </details> 二、漏洞分析结构反馈 影响性分析说明: Flask is a lightweight WSGI web application framework. When all of the following conditions are met, a response containing data intended for one client may be cached and subsequently sent by the proxy to other clients. If the proxy also caches `Set-Cookie` headers, it may send one client s `session` cookie to other clients. The severity depends on the application s use of the session and the proxy s behavior regarding cookies. The risk depends on all these conditions being met. 1. The application must be hosted behind a caching proxy that does not strip cookies or ignore responses with cookies. 2. The application sets `session.permanent = True` 3. The application does not access or modify the session at any point during a request. 4. `SESSION_REFRESH_EACH_REQUEST` enabled (the default). 5. The application does not set a `Cache-Control` header to indicate that a page is private or should not be cached. This happens because vulnerable versions of Flask only set the `Vary: Cookie` header when the session is accessed or modified, not when it is refreshed (re-sent to update the expiration) without being accessed or modified. This issue has been fixed in versions 2.3.2 and 2.2.5. openEuler评分: 7.5 Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N 受影响版本排查(受影响/不受影响): 1.openEuler-20.03-LTS-SP1(1.1.2):受影响 2.openEuler-20.03-LTS-SP3(1.1.2):受影响 3.openEuler-20.03-LTS-SP4:受影响 4.openEuler-22.03-LTS(1.1.2):受影响 5.openEuler-22.03-LTS-SP1(2.1.2):受影响 6.openEuler-22.03-LTS-SP2(2.1.2):受影响 7.openEuler-22.03-LTS-SP3:受影响 修复是否涉及abi变化(是/否): 1.openEuler-20.03-LTS-SP1(1.1.2):否 2.openEuler-20.03-LTS-SP3(1.1.2):否 3.openEuler-20.03-LTS-SP4:否 4.openEuler-22.03-LTS(1.1.2):否 5.openEuler-22.03-LTS-SP1(2.1.2):否 6.openEuler-22.03-LTS-SP2(2.1.2):否 7.openEuler-22.03-LTS-SP3:否 三、漏洞修复 安全公告链接:https://www.openeuler.org/zh/security/safety-bulletin/detail/?id=openEuler-SA-2023-1936
一、漏洞信息 漏洞编号:[CVE-2023-30861](https://nvd.nist.gov/vuln/detail/CVE-2023-30861) 漏洞归属组件:[python-flask](https://gitee.com/src-openeuler/python-flask) 漏洞归属的版本:1.0.4,1.1.2,2.1.2,2.2.5 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 漏洞简述: Flask is a lightweight WSGI web application framework. When all of the following conditions are met, a response containing data intended for one client may be cached and subsequently sent by the proxy to other clients. If the proxy also caches `Set-Cookie` headers, it may send one client s `session` cookie to other clients. The severity depends on the application s use of the session and the proxy s behavior regarding cookies. The risk depends on all these conditions being met.1. The application must be hosted behind a caching proxy that does not strip cookies or ignore responses with cookies.2. The application sets `session.permanent = True`3. The application does not access or modify the session at any point during a request.4. `SESSION_REFRESH_EACH_REQUEST` enabled (the default).5. The application does not set a `Cache-Control` header to indicate that a page is private or should not be cached.This happens because vulnerable versions of Flask only set the `Vary: Cookie` header when the session is accessed or modified, not when it is refreshed (re-sent to update the expiration) without being accessed or modified. This issue has been fixed in versions 2.3.2 and 2.2.5. 漏洞公开时间:2023-05-03 02:15:52 漏洞创建时间:2023-05-03 02:13:33 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2023-30861 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | security-advisories.github.com | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | | | security-advisories.github.com | https://github.com/pallets/flask/commit/afd63b16170b7c047f5758eb910c416511e9c965 | | | security-advisories.github.com | https://github.com/pallets/flask/releases/tag/2.2.5 | | | security-advisories.github.com | https://github.com/pallets/flask/releases/tag/2.3.2 | | | security-advisories.github.com | https://github.com/pallets/flask/security/advisories/GHSA-m2qf-hxjv-5gpq | | | security-advisories.github.com | https://lists.debian.org/debian-lts-announce/2023/08/msg00024.html | | | security-advisories.github.com | https://security.netapp.com/advisory/ntap-20230818-0006/ | | | security-advisories.github.com | https://www.debian.org/security/2023/dsa-5442 | | | suse_bugzilla | http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-30861 | https://bugzilla.suse.com/show_bug.cgi?id=1211246 | | suse_bugzilla | https://bugzilla.redhat.com/show_bug.cgi?id=2196643 | https://bugzilla.suse.com/show_bug.cgi?id=1211246 | | suse_bugzilla | https://www.cve.org/CVERecord?id=CVE-2023-30861 | https://bugzilla.suse.com/show_bug.cgi?id=1211246 | | suse_bugzilla | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | https://bugzilla.suse.com/show_bug.cgi?id=1211246 | | suse_bugzilla | https://github.com/pallets/flask/commit/afd63b16170b7c047f5758eb910c416511e9c965 | https://bugzilla.suse.com/show_bug.cgi?id=1211246 | | suse_bugzilla | https://github.com/pallets/flask/releases/tag/2.2.5 | https://bugzilla.suse.com/show_bug.cgi?id=1211246 | | suse_bugzilla | https://github.com/pallets/flask/releases/tag/2.3.2 | https://bugzilla.suse.com/show_bug.cgi?id=1211246 | | suse_bugzilla | https://github.com/pallets/flask/security/advisories/GHSA-m2qf-hxjv-5gpq | https://bugzilla.suse.com/show_bug.cgi?id=1211246 | | redhat_bugzilla | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | https://bugzilla.redhat.com/show_bug.cgi?id=2196643 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2023:3440 | https://bugzilla.redhat.com/show_bug.cgi?id=2196643 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2023:3444 | https://bugzilla.redhat.com/show_bug.cgi?id=2196643 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2023:3446 | https://bugzilla.redhat.com/show_bug.cgi?id=2196643 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2023:3525 | https://bugzilla.redhat.com/show_bug.cgi?id=2196643 | | redhat_bugzilla | https://access.redhat.com/security/cve/cve-2023-30861 | https://bugzilla.redhat.com/show_bug.cgi?id=2196643 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2023:3536 | https://bugzilla.redhat.com/show_bug.cgi?id=2196643 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2023:3545 | https://bugzilla.redhat.com/show_bug.cgi?id=2196643 | | redhat_bugzilla | https://access.redhat.com/errata/RHSA-2023:7341 | https://bugzilla.redhat.com/show_bug.cgi?id=2196643 | | debian | | https://security-tracker.debian.org/tracker/CVE-2023-30861 | | oracle | | https://www.oracle.com/security-alerts/cpujul2023.html | | anolis | | https://anas.openanolis.cn/cves/detail/CVE-2023-30861 | | cve_search | | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | | cve_search | | https://github.com/pallets/flask/releases/tag/2.3.2 | | cve_search | | https://github.com/pallets/flask/releases/tag/2.2.5 | | cve_search | | https://github.com/pallets/flask/security/advisories/GHSA-m2qf-hxjv-5gpq | | cve_search | | https://github.com/pallets/flask/commit/afd63b16170b7c047f5758eb910c416511e9c965 | | cve_search | | https://www.debian.org/security/2023/dsa-5442 | | cve_search | | https://security.netapp.com/advisory/ntap-20230818-0006/ | | cve_search | | https://lists.debian.org/debian-lts-announce/2023/08/msg00024.html | | github_advisory | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | https://github.com/advisories/GHSA-m2qf-hxjv-5gpq | | github_advisory | https://github.com/pallets/flask/releases/tag/2.2.5 | https://github.com/advisories/GHSA-m2qf-hxjv-5gpq | | github_advisory | https://github.com/pallets/flask/releases/tag/2.3.2 | https://github.com/advisories/GHSA-m2qf-hxjv-5gpq | | github_advisory | https://github.com/pallets/flask/security/advisories/GHSA-m2qf-hxjv-5gpq | https://github.com/advisories/GHSA-m2qf-hxjv-5gpq | | github_advisory | https://github.com/pallets/flask/commit/afd63b16170b7c047f5758eb910c416511e9c965 | https://github.com/advisories/GHSA-m2qf-hxjv-5gpq | | github_advisory | https://nvd.nist.gov/vuln/detail/CVE-2023-30861 | https://github.com/advisories/GHSA-m2qf-hxjv-5gpq | | mageia | | http://advisories.mageia.org/MGASA-2023-0193.html | | osv | https://github.com/pallets/flask/security/advisories/GHSA-m2qf-hxjv-5gpq | https://osv.dev/vulnerability/GHSA-m2qf-hxjv-5gpq | | osv | https://nvd.nist.gov/vuln/detail/CVE-2023-30861 | https://osv.dev/vulnerability/GHSA-m2qf-hxjv-5gpq | | osv | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | https://osv.dev/vulnerability/GHSA-m2qf-hxjv-5gpq | | osv | https://github.com/pallets/flask/commit/afd63b16170b7c047f5758eb910c416511e9c965 | https://osv.dev/vulnerability/GHSA-m2qf-hxjv-5gpq | | osv | https://github.com/pallets/flask | https://osv.dev/vulnerability/GHSA-m2qf-hxjv-5gpq | | osv | https://github.com/pallets/flask/releases/tag/2.2.5 | https://osv.dev/vulnerability/GHSA-m2qf-hxjv-5gpq | | osv | https://github.com/pallets/flask/releases/tag/2.3.2 | https://osv.dev/vulnerability/GHSA-m2qf-hxjv-5gpq | | amazon_linux_explore | https://access.redhat.com/security/cve/CVE-2023-30861 | https://explore.alas.aws.amazon.com/CVE-2023-30861.html | | amazon_linux_explore | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-30861 | https://explore.alas.aws.amazon.com/CVE-2023-30861.html | | snyk | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | https://security.snyk.io/vuln/SNYK-PYTHON-FLASK-5490129 | | snyk | https://github.com/pallets/flask/commit/afd63b16170b7c047f5758eb910c416511e9c965 | https://security.snyk.io/vuln/SNYK-PYTHON-FLASK-5490129 | | snyk | https://github.com/pallets/flask/pull/5109 | https://security.snyk.io/vuln/SNYK-PYTHON-FLASK-5490129 | | snyk | https://github.com/pallets/flask/releases/tag/2.2.5 | https://security.snyk.io/vuln/SNYK-PYTHON-FLASK-5490129 | | snyk | https://github.com/pallets/flask/releases/tag/2.3.2 | https://security.snyk.io/vuln/SNYK-PYTHON-FLASK-5490129 | | snyk | https://flask.palletsprojects.com/en/2.3.x/api/#flask.session.permanent | https://security.snyk.io/vuln/SNYK-PYTHON-FLASK-5490129 | | nvd | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | | | nvd | https://github.com/pallets/flask/releases/tag/2.3.2 | | | nvd | https://github.com/pallets/flask/releases/tag/2.2.5 | | | nvd | https://github.com/pallets/flask/security/advisories/GHSA-m2qf-hxjv-5gpq | | | nvd | https://github.com/pallets/flask/commit/afd63b16170b7c047f5758eb910c416511e9c965 | | | nvd | https://www.debian.org/security/2023/dsa-5442 | | | redhat | https://access.redhat.com/security/cve/CVE-2023-30861 | | | nvd | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | | | nvd | https://github.com/pallets/flask/releases/tag/2.3.2 | | | nvd | https://github.com/pallets/flask/releases/tag/2.2.5 | | | nvd | https://github.com/pallets/flask/security/advisories/GHSA-m2qf-hxjv-5gpq | | | nvd | https://github.com/pallets/flask/commit/afd63b16170b7c047f5758eb910c416511e9c965 | | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: 其它 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> | 影响的包 | 修复版本 | 修复补丁 | 问题引入补丁 | 来源 | | ------- | -------- | ------- | -------- | --------- | | | | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | | security-advisories.github.com | | | | https://github.com/pallets/flask/commit/afd63b16170b7c047f5758eb910c416511e9c965 | | security-advisories.github.com | | | | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | | suse_bugzilla | | | | https://github.com/pallets/flask/commit/afd63b16170b7c047f5758eb910c416511e9c965 | | suse_bugzilla | | | | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | | redhat_bugzilla | | | | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | | github_advisory | | | | https://github.com/pallets/flask/commit/afd63b16170b7c047f5758eb910c416511e9c965 | | github_advisory | | | | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | | osv | | | | https://github.com/pallets/flask/commit/afd63b16170b7c047f5758eb910c416511e9c965 | | osv | | | | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | | snyk | | | | https://github.com/pallets/flask/commit/afd63b16170b7c047f5758eb910c416511e9c965 | | snyk | | | | https://github.com/pallets/flask/pull/5109 | | snyk | | | | https://github.com/pallets/flask/commit/70f906c51ce49c485f1d355703e9cc3386b1cc2b | | nvd | | | | https://github.com/pallets/flask/commit/afd63b16170b7c047f5758eb910c416511e9c965 | | nvd | </details> 二、漏洞分析结构反馈 影响性分析说明: Flask is a lightweight WSGI web application framework. When all of the following conditions are met, a response containing data intended for one client may be cached and subsequently sent by the proxy to other clients. If the proxy also caches `Set-Cookie` headers, it may send one client s `session` cookie to other clients. The severity depends on the application s use of the session and the proxy s behavior regarding cookies. The risk depends on all these conditions being met. 1. The application must be hosted behind a caching proxy that does not strip cookies or ignore responses with cookies. 2. The application sets `session.permanent = True` 3. The application does not access or modify the session at any point during a request. 4. `SESSION_REFRESH_EACH_REQUEST` enabled (the default). 5. The application does not set a `Cache-Control` header to indicate that a page is private or should not be cached. This happens because vulnerable versions of Flask only set the `Vary: Cookie` header when the session is accessed or modified, not when it is refreshed (re-sent to update the expiration) without being accessed or modified. This issue has been fixed in versions 2.3.2 and 2.2.5. openEuler评分: 7.5 Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N 受影响版本排查(受影响/不受影响): 1.openEuler-20.03-LTS-SP1(1.1.2):受影响 2.openEuler-20.03-LTS-SP3(1.1.2):受影响 3.openEuler-20.03-LTS-SP4:受影响 4.openEuler-22.03-LTS(1.1.2):受影响 5.openEuler-22.03-LTS-SP1(2.1.2):受影响 6.openEuler-22.03-LTS-SP2(2.1.2):受影响 7.openEuler-22.03-LTS-SP3:受影响 修复是否涉及abi变化(是/否): 1.openEuler-20.03-LTS-SP1(1.1.2):否 2.openEuler-20.03-LTS-SP3(1.1.2):否 3.openEuler-20.03-LTS-SP4:否 4.openEuler-22.03-LTS(1.1.2):否 5.openEuler-22.03-LTS-SP1(2.1.2):否 6.openEuler-22.03-LTS-SP2(2.1.2):否 7.openEuler-22.03-LTS-SP3:否 三、漏洞修复 安全公告链接:https://www.openeuler.org/zh/security/safety-bulletin/detail/?id=openEuler-SA-2023-1936
评论 (
13
)
登录
后才可以发表评论
状态
已完成
待办的
已挂起
进行中
已完成
已拒绝
负责人
未设置
薄皮小笼包
ruebb
负责人
协作者
+负责人
+协作者
标签
CVE/FIXED
sig/Programming-lang
未设置
项目
未立项任务
未立项任务
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (49)
标签 (24)
master
openEuler-25.09
openEuler-25.03
Multi-Version_OpenStack-Antelope_openEuler-24.03-LTS-Next
Multi-Version_OpenStack-Antelope_openEuler-24.03-LTS-SP1
Multi-Version_OpenStack-Antelope_openEuler-24.03-LTS-SP2
Multi-Version_OpenStack-Antelope_openEuler-25.03
Multi-Version_OpenStack-Antelope_openEuler-24.03-LTS
sync-pr55-Multi-Version_OpenStack-Antelope_openEuler-24.03-LTS-to-Multi-Version_OpenStack-Antelope_openEuler-24.03-LTS-Next
openEuler-20.03-LTS-SP4
openEuler-20.03-LTS-SP1
openEuler-22.03-LTS
openEuler-20.03-LTS-SP3
openEuler-22.03-LTS-SP3
openEuler-22.03-LTS-SP2
openEuler-22.03-LTS-Next
openEuler-22.03-LTS-SP4
openEuler-22.03-LTS-SP1
openEuler-23.09
openEuler-24.03-LTS
openEuler-24.03-LTS-Next
openEuler-24.03-LTS-SP1
openEuler-24.03-LTS-SP2
openEuler-24.03-LTS-SP3
openEuler-24.09
openEuler-23.03
openEuler-22.09
Multi-Version_OpenStack-Train_openEuler-22.03-LTS-Next
Multi-Version_OpenStack-Train_openEuler-22.03-LTS-SP1
Multi-Version_OpenStack-Train_openEuler-22.03-LTS-SP2
Multi-Version_OpenStack-Train_openEuler-22.03-LTS-SP3
Multi-Version_OpenStack-Train_openEuler-22.03-LTS-SP4
Multi-Version_OpenStack-Wallaby_openEuler-22.03-LTS-Next
Multi-Version_OpenStack-Wallaby_openEuler-22.03-LTS-SP1
Multi-Version_OpenStack-Wallaby_openEuler-22.03-LTS-SP2
Multi-Version_OpenStack-Wallaby_openEuler-22.03-LTS-SP3
Multi-Version_OpenStack-Wallaby_openEuler-22.03-LTS-SP4
Multi-Version_OpenStack-Wallaby_openEuler-24.03-LTS
Multi-Version_OpenStack-Wallaby_openEuler-24.03-LTS-Next
Multi-Version_OpenStack-Wallaby_openEuler-24.03-LTS-SP1
Multi-Version_OpenStack-Wallaby_openEuler-24.03-LTS-SP2
openEuler-21.09
openEuler-20.03-LTS-SP2
openEuler-20.03-LTS-Next
openEuler-21.03
openEuler-20.09
openEuler-20.03-LTS
openEuler1.0
openEuler1.0-base
openEuler-25.09-release
openEuler-24.03-LTS-SP2-release
openEuler-25.03-release
openEuler-24.03-LTS-SP1-release
openEuler-22.03-LTS-SP4-release
openEuler-24.09-release
openEuler-24.03-LTS-release
openEuler-22.03-LTS-SP3-release
openEuler-23.09-rc5
openEuler-22.03-LTS-SP1-release
openEuler-22.09-release
openEuler-22.09-rc5
openEuler-22.09-20220829
openEuler-22.03-LTS-20220331
openEuler-22.03-LTS-round5
openEuler-22.03-LTS-round3
openEuler-22.03-LTS-round2
openEuler-22.03-LTS-round1
openEuler-20.03-LTS-SP3-release
openEuler-20.03-LTS-SP2-20210624
openEuler-21.03-20210330
openEuler-20.09-20200928
openEuler-20.03-LTS-20200606
openEuler-20.03-LTS-tag
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
预计工期
(小时)
参与者(1)
1
https://gitee.com/src-openeuler/python-flask.git
git@gitee.com:src-openeuler/python-flask.git
src-openeuler
python-flask
python-flask
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册