6 Star 0 Fork 4

src-openEuler/nodejs-tough-cookie

CVE-2023-26136

已完成
CVE和安全问题 拥有者
创建于  
2023-07-01 13:20

一、漏洞信息
漏洞编号:CVE-2023-26136
漏洞归属组件:nodejs-tough-cookie
漏洞归属的版本:2.3.2
CVSS V3.0分值:
BaseScore:9.8 Critical
Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
漏洞简述:
Versions of the package tough-cookie before 4.1.3 are vulnerable to Prototype Pollution due to improper handling of Cookies when using CookieJar in rejectPublicSuffixes=false mode. This issue arises from the manner in which the objects are initialized.
漏洞公开时间:2023-07-01 13:15:16
漏洞创建时间:2023-07-01 13:20:08
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2023-26136

更多参考(点击展开)
参考来源 参考链接 来源链接
report.snyk.io https://github.com/salesforce/tough-cookie/commit/12d474791bb856004e858fdb1c47b7608d09cf6e
report.snyk.io https://github.com/salesforce/tough-cookie/issues/282
report.snyk.io https://github.com/salesforce/tough-cookie/releases/tag/v4.1.3
report.snyk.io https://lists.debian.org/debian-lts-announce/2023/07/msg00010.html
report.snyk.io https://security.snyk.io/vuln/SNYK-JS-TOUGHCOOKIE-5672873
redhat_bugzilla https://security.snyk.io/vuln/SNYK-JS-TOUGHCOOKIE-5672873 https://bugzilla.redhat.com/show_bug.cgi?id=2219310
redhat_bugzilla https://github.com/salesforce/tough-cookie/issues/282 https://bugzilla.redhat.com/show_bug.cgi?id=2219310
redhat_bugzilla https://github.com/salesforce/tough-cookie/commit/12d474791bb856004e858fdb1c47b7608d09cf6e https://bugzilla.redhat.com/show_bug.cgi?id=2219310
redhat_bugzilla https://github.com/salesforce/tough-cookie/releases/tag/v4.1.3 https://bugzilla.redhat.com/show_bug.cgi?id=2219310
redhat_bugzilla https://access.redhat.com/errata/RHSA-2023:3998 https://bugzilla.redhat.com/show_bug.cgi?id=2219310
redhat_bugzilla https://access.redhat.com/security/cve/cve-2023-26136 https://bugzilla.redhat.com/show_bug.cgi?id=2219310
redhat_bugzilla https://access.redhat.com/errata/RHSA-2023:5421 https://bugzilla.redhat.com/show_bug.cgi?id=2219310
redhat_bugzilla https://access.redhat.com/errata/RHSA-2023:5442 https://bugzilla.redhat.com/show_bug.cgi?id=2219310
redhat_bugzilla https://access.redhat.com/errata/RHSA-2023:5488 https://bugzilla.redhat.com/show_bug.cgi?id=2219310
redhat_bugzilla https://access.redhat.com/errata/RHSA-2023:5484 https://bugzilla.redhat.com/show_bug.cgi?id=2219310
redhat_bugzilla https://access.redhat.com/errata/RHSA-2023:5485 https://bugzilla.redhat.com/show_bug.cgi?id=2219310
redhat_bugzilla https://access.redhat.com/errata/RHSA-2023:5486 https://bugzilla.redhat.com/show_bug.cgi?id=2219310
redhat_bugzilla https://access.redhat.com/errata/RHSA-2023:5541 https://bugzilla.redhat.com/show_bug.cgi?id=2219310
redhat_bugzilla https://access.redhat.com/errata/RHSA-2023:5542 https://bugzilla.redhat.com/show_bug.cgi?id=2219310
redhat_bugzilla https://access.redhat.com/errata/RHSA-2023:5006 https://bugzilla.redhat.com/show_bug.cgi?id=2219310
redhat_bugzilla https://access.redhat.com/errata/RHSA-2023:7222 https://bugzilla.redhat.com/show_bug.cgi?id=2219310
debian https://security-tracker.debian.org/tracker/CVE-2023-26136
cve_search https://security.snyk.io/vuln/SNYK-JS-TOUGHCOOKIE-5672873
cve_search https://github.com/salesforce/tough-cookie/issues/282
cve_search https://github.com/salesforce/tough-cookie/commit/12d474791bb856004e858fdb1c47b7608d09cf6e
cve_search https://github.com/salesforce/tough-cookie/releases/tag/v4.1.3
cve_search https://lists.debian.org/debian-lts-announce/2023/07/msg00010.html
osv https://nvd.nist.gov/vuln/detail/CVE-2023-26136 https://osv.dev/vulnerability/GHSA-72xf-g2v4-qvf3
osv https://github.com/salesforce/tough-cookie/issues/282 https://osv.dev/vulnerability/GHSA-72xf-g2v4-qvf3
osv https://github.com/salesforce/tough-cookie/commit/12d474791bb856004e858fdb1c47b7608d09cf6e https://osv.dev/vulnerability/GHSA-72xf-g2v4-qvf3
osv https://github.com/salesforce/tough-cookie https://osv.dev/vulnerability/GHSA-72xf-g2v4-qvf3
osv https://github.com/salesforce/tough-cookie/releases/tag/v4.1.3 https://osv.dev/vulnerability/GHSA-72xf-g2v4-qvf3
osv https://security.snyk.io/vuln/SNYK-JS-TOUGHCOOKIE-5672873 https://osv.dev/vulnerability/GHSA-72xf-g2v4-qvf3
snyk https://github.com/salesforce/tough-cookie/commit/12d474791bb856004e858fdb1c47b7608d09cf6e https://security.snyk.io/vuln/SNYK-JS-TOUGHCOOKIE-5672873
snyk https://github.com/salesforce/tough-cookie/issues/282 https://security.snyk.io/vuln/SNYK-JS-TOUGHCOOKIE-5672873
snyk https://github.com/salesforce/tough-cookie/releases/tag/v4.1.3 https://security.snyk.io/vuln/SNYK-JS-TOUGHCOOKIE-5672873
snyk https://github.com/salesforce/tough-cookie/commit/12d474791bb856004e858fdb1c47b7608d09cf6e https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-5750729
snyk https://github.com/salesforce/tough-cookie/issues/282 https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-5750729
snyk https://github.com/salesforce/tough-cookie/releases/tag/v4.1.3 https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-5750729
nvd https://security.snyk.io/vuln/SNYK-JS-TOUGHCOOKIE-5672873
nvd https://github.com/salesforce/tough-cookie/issues/282
nvd https://github.com/salesforce/tough-cookie/commit/12d474791bb856004e858fdb1c47b7608d09cf6e
nvd https://github.com/salesforce/tough-cookie/releases/tag/v4.1.3
redhat https://access.redhat.com/security/cve/CVE-2023-26136

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

详情(点击展开)
影响的包 修复版本 修复补丁 问题引入补丁 来源
https://github.com/salesforce/tough-cookie/commit/12d474791bb856004e858fdb1c47b7608d09cf6e report.snyk.io
https://github.com/salesforce/tough-cookie/commit/12d474791bb856004e858fdb1c47b7608d09cf6e redhat_bugzilla
https://github.com/salesforce/tough-cookie/commit/12d474791bb856004e858fdb1c47b7608d09cf6e osv
https://github.com/salesforce/tough-cookie/commit/12d474791bb856004e858fdb1c47b7608d09cf6e snyk

二、漏洞分析结构反馈
影响性分析说明:
4.1.3 之前的软件包 tough-cookie 版本容易受到原型污染,因为在 rejectPublicSuffixes=false 模式下使用 CookieJar 时,由于对 Cookie 的处理不当。此问题源于对象的初始化方式。
openEuler评分:
9.8
Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
受影响版本排查(受影响/不受影响):
1.openEuler-20.03-LTS-SP1(2.3.2):受影响
2.openEuler-20.03-LTS-SP3(2.3.2):受影响
3.openEuler-20.03-LTS-SP4:受影响
4.openEuler-22.03-LTS(2.3.2):受影响
5.openEuler-22.03-LTS-SP1(2.3.2):受影响
6.openEuler-22.03-LTS-SP2(2.3.2):受影响
7.openEuler-22.03-LTS-SP3:受影响

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

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

评论 (16)

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

说明:补丁链接仅供初步排查参考,实际可用性请人工再次确认,补丁下载验证可使用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 修改了描述 2年前
openeuler-ci-bot 修改了描述 2年前
openeuler-ci-bot 修改了描述 2年前
openeuler-ci-bot 修改了描述 2年前
openeuler-ci-bot 修改了描述 2年前
openeuler-ci-bot 修改了描述 2年前
openeuler-ci-bot 修改了描述 2年前
openeuler-ci-bot 修改了描述 2年前
openeuler-ci-bot 修改了描述 2年前
openeuler-ci-bot 修改了描述 2年前
openeuler-ci-bot 修改了描述 2年前
openeuler-ci-bot 修改了描述 2年前
openeuler-ci-bot 修改了描述 2年前
openeuler-ci-bot 修改了描述 2年前
openeuler-ci-bot 修改了描述 2年前
openeuler-ci-bot 修改了描述 2年前
openeuler-ci-bot 修改了描述 2年前
openeuler-ci-bot 计划开始日期设置为2023-07-01 2年前
openeuler-ci-bot 计划截止日期设置为2023-07-08 2年前
openeuler-ci-bot 优先级设置为严重 2年前
openeuler-ci-bot 修改了描述 2年前
openeuler-ci-bot 修改了描述 2年前

根据NVD描述:漏洞影响4.1.3之前的tough-cookie,在rejectPublicSuffixes=false模式下使用CookieJar时,由于对象的初始化处理不当导致该漏洞,并在4.1.3版本修复。当前社区版本为2.3.2,受此漏洞影响。

回合补丁方案:
上游社区提供高版本补丁,无法直接在2.3.2版本回合,代码差异较大,适配补丁引入问题的风险较高。

升级方案:
尝试升级到4.1.3版本解决,高版本依赖不低于2.1.1版本的punycode,而当前master分支nodejs 16.15.0提供的npm(punycode)为2.1.0版本。且其他发布版本分支nodejs为12.22.11版本,提供的npm(punycode)为1.4.1版本,均低于升级需求的版本。

综上所述:回合补丁和升级方案均不可行,故暂时挂起此漏洞,待后续跟进修复

参考链接:
https://github.com/salesforce/tough-cookie/commit/12d474791bb856004e858fdb1c47b7608d09cf6e
https://github.com/salesforce/tough-cookie/releases/tag/v4.1.3

影响性分析说明:
4.1.3 之前的软件包 tough-cookie 版本容易受到原型污染,因为在 rejectPublicSuffixes=false 模式下使用 CookieJar 时,由于对 Cookie 的处理不当。此问题源于对象的初始化方式。

openEuler评分:
6.5
Vector:CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
受影响版本排查(受影响/不受影响):
1.openEuler-20.03-LTS-SP1(2.3.2): 受影响
2.openEuler-20.03-LTS-SP3(2.3.2): 受影响
3.openEuler-22.03-LTS(2.3.2): 受影响
4.openEuler-22.03-LTS-SP1(2.3.2): 受影响
5.openEuler-22.03-LTS-SP2(2.3.2): 受影响

修复是否涉及abi变化(是/否):
1.openEuler-20.03-LTS-SP1(2.3.2): 否
2.openEuler-20.03-LTS-SP3(2.3.2): 否
3.openEuler-22.03-LTS(2.3.2): 否
4.openEuler-22.03-LTS-SP1(2.3.2): 否
5.openEuler-22.03-LTS-SP2(2.3.2): 否

openeuler-ci-bot 修改了描述 2年前
wk333 任务状态待办的 修改为已挂起 2年前
openeuler-ci-bot 计划开始日期2023-07-01 修改为2023-07-08 2年前
openeuler-ci-bot 计划截止日期2023-07-08 修改为2023-08-07 2年前
starlet_dx 任务状态已挂起 修改为进行中 1年前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
1年前
openeuler-ci-bot 移除了
 
sig/sig-nodejs
标签
1年前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
1年前
openeuler-ci-bot 添加了
 
sig/sig-nodejs
标签
1年前

影响性分析说明:
4.1.3 之前的软件包 tough-cookie 版本容易受到原型污染,因为在 rejectPublicSuffixes=false 模式下使用 CookieJar 时,由于对 Cookie 的处理不当。此问题源于对象的初始化方式。

openEuler评分:
9.8
Vector:CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
受影响版本排查(受影响/不受影响):
1.openEuler-20.03-LTS-SP1(2.3.2): 受影响
2.openEuler-20.03-LTS-SP3(2.3.2): 受影响
3.openEuler-20.03-LTS-SP4: 受影响
4.openEuler-22.03-LTS(2.3.2): 受影响
5.openEuler-22.03-LTS-SP1(2.3.2): 受影响
6.openEuler-22.03-LTS-SP2(2.3.2): 受影响
7.openEuler-22.03-LTS-SP3: 受影响

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

openeuler-ci-bot 修改了描述 1年前
starlet_dx 通过合并 Pull Request !3: Fix CVE-2023-26136任务状态进行中 修改为已完成 1年前
openeuler-ci-bot 任务状态已完成 修改为待办的 1年前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
1年前
openeuler-ci-bot 移除了
 
sig/sig-nodejs
标签
1年前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
1年前
openeuler-ci-bot 添加了
 
sig/sig-nodejs
标签
1年前
openeuler-sync-bot 通过合并 Pull Request !4: [sync] PR-3: Fix CVE-2023-26136任务状态待办的 修改为已完成 1年前
openeuler-ci-bot 任务状态已完成 修改为待办的 1年前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
1年前
openeuler-ci-bot 移除了
 
sig/sig-nodejs
标签
1年前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
1年前
openeuler-ci-bot 添加了
 
sig/sig-nodejs
标签
1年前
openeuler-sync-bot 通过合并 Pull Request !5: [sync] PR-3: Fix CVE-2023-26136任务状态待办的 修改为已完成 1年前
openeuler-ci-bot 任务状态已完成 修改为待办的 1年前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
1年前
openeuler-ci-bot 移除了
 
sig/sig-nodejs
标签
1年前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
1年前
openeuler-ci-bot 添加了
 
sig/sig-nodejs
标签
1年前
openeuler-sync-bot 通过合并 Pull Request !7: [sync] PR-3: Fix CVE-2023-26136任务状态待办的 修改为已完成 1年前
openeuler-ci-bot 任务状态已完成 修改为待办的 1年前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
1年前
openeuler-ci-bot 移除了
 
sig/sig-nodejs
标签
1年前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
1年前
openeuler-ci-bot 添加了
 
sig/sig-nodejs
标签
1年前
openeuler-sync-bot 通过合并 Pull Request !9: [sync] PR-3: Fix CVE-2023-26136任务状态待办的 修改为已完成 1年前
openeuler-ci-bot 任务状态已完成 修改为待办的 1年前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
1年前
openeuler-ci-bot 移除了
 
sig/sig-nodejs
标签
1年前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
1年前
openeuler-ci-bot 添加了
 
sig/sig-nodejs
标签
1年前
openeuler-sync-bot 通过合并 Pull Request !8: [sync] PR-3: Fix CVE-2023-26136任务状态待办的 修改为已完成 1年前
openeuler-ci-bot 任务状态已完成 修改为待办的 1年前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
1年前
openeuler-ci-bot 移除了
 
sig/sig-nodejs
标签
1年前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
1年前
openeuler-ci-bot 添加了
 
sig/sig-nodejs
标签
1年前
openeuler-ci-bot 计划截止日期2023-08-07 修改为2023-07-15 1年前
openeuler-sync-bot 通过合并 Pull Request !6: [sync] PR-3: Fix CVE-2023-26136任务状态待办的 修改为已完成 1年前
openeuler-ci-bot 任务状态已完成 修改为待办的 1年前
openeuler-ci-bot 修改了描述 1年前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
1年前
openeuler-ci-bot 移除了
 
sig/sig-nodejs
标签
1年前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
1年前
openeuler-ci-bot 添加了
 
sig/sig-nodejs
标签
1年前
openeuler-sync-bot 通过合并 Pull Request !10: [sync] PR-3: Fix CVE-2023-26136任务状态待办的 修改为已完成 1年前
openeuler-ci-bot 任务状态已完成 修改为待办的 1年前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
1年前
openeuler-ci-bot 移除了
 
sig/sig-nodejs
标签
1年前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
1年前
openeuler-ci-bot 添加了
 
sig/sig-nodejs
标签
1年前
openeuler-sync-bot 通过合并 Pull Request !11: [sync] PR-3: Fix CVE-2023-26136任务状态待办的 修改为已完成 1年前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
1年前
openeuler-ci-bot 移除了
 
sig/sig-nodejs
标签
1年前
openeuler-ci-bot 添加了
 
CVE/FIXED
标签
1年前
openeuler-ci-bot 添加了
 
sig/sig-nodejs
标签
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/nodejs-tough-cookie.git
git@gitee.com:src-openeuler/nodejs-tough-cookie.git
src-openeuler
nodejs-tough-cookie
nodejs-tough-cookie

搜索帮助