6 Star 7 Fork 83

src-openEuler/golang

CVE-2023-49290

已完成
CVE和安全问题 拥有者
创建于  
2025-04-19 07:37

一、漏洞信息
漏洞编号:CVE-2023-49290
漏洞归属组件:golang
漏洞归属的版本:1.13.15,1.15.7,1.17.3,1.19.4,1.20.5,1.21.4,1.24.2
CVSS V3.0分值:
BaseScore:5.3 Medium
Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
漏洞简述:
lestrrat-go/jwx is a Go module implementing various JWx (JWA/JWE/JWK/JWS/JWT, otherwise known as JOSE) technologies. A p2c parameter set too high in JWE s algorithm PBES2-* could lead to a denial of service. The JWE key management algorithms based on PBKDF2 require a JOSE Header Parameter called p2c (PBES2 Count). This parameter dictates the number of PBKDF2 iterations needed to derive a CEK wrapping key. Its primary purpose is to intentionally slow down the key derivation function, making password brute-force and dictionary attacks more resource- intensive. Therefore, if an attacker sets the p2c parameter in JWE to a very large number, it can cause a lot of computational consumption, resulting in a denial of service. This vulnerability has been addressed in commit 64f2a229b which has been included in release version 1.2.27 and 2.0.18. Users are advised to upgrade. There are no known workarounds for this vulnerability.
漏洞公开时间:2023-12-05 08:15:09
漏洞创建时间:2025-04-19 07:37:22
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2023-49290

更多参考(点击展开)
参考来源 参考链接 来源链接
security-advisories.github.com https://github.com/lestrrat-go/jwx/commit/64f2a229b8e18605f47361d292b526bdc4aee01c
security-advisories.github.com https://github.com/lestrrat-go/jwx/security/advisories/GHSA-7f9x-gw85-8grf
redhat_bugzilla https://github.com/lestrrat-go/jwx/commit/64f2a229b8e18605f47361d292b526bdc4aee01c https://bugzilla.redhat.com/show_bug.cgi?id=2252905
redhat_bugzilla https://github.com/lestrrat-go/jwx/security/advisories/GHSA-7f9x-gw85-8grf https://bugzilla.redhat.com/show_bug.cgi?id=2252905
debian https://security-tracker.debian.org/tracker/CVE-2023-49290
cve_search https://github.com/lestrrat-go/jwx/security/advisories/GHSA-7f9x-gw85-8grf
cve_search https://github.com/lestrrat-go/jwx/commit/64f2a229b8e18605f47361d292b526bdc4aee01c
github_advisory https://github.com/lestrrat-go/jwx/commit/64f2a229b8e18605f47361d292b526bdc4aee01c https://github.com/advisories/GHSA-7f9x-gw85-8grf
github_advisory https://github.com/lestrrat-go/jwx/security/advisories/GHSA-7f9x-gw85-8grf https://github.com/advisories/GHSA-7f9x-gw85-8grf
github_advisory https://nvd.nist.gov/vuln/detail/CVE-2023-49290 https://github.com/advisories/GHSA-7f9x-gw85-8grf
go https://github.com/lestrrat-go/jwx/security/advisories/GHSA-7f9x-gw85-8grf https://github.com/golang/vulndb/blob/master/reports/GO-2023-2379.yaml
go https://github.com/lestrrat-go/jwx/commit/64f2a229b8e18605f47361d292b526bdc4aee01c https://github.com/golang/vulndb/blob/master/reports/GO-2023-2379.yaml
osv https://github.com/lestrrat-go/jwx/security/advisories/GHSA-7f9x-gw85-8grf https://osv.dev/vulnerability/CVE-2023-49290
osv https://github.com/lestrrat-go/jwx/commit/64f2a229b8e18605f47361d292b526bdc4aee01c https://osv.dev/vulnerability/CVE-2023-49290
snyk https://github.com/lestrrat-go/jwx/commit/64f2a229b8e18605f47361d292b526bdc4aee01c https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMLESTRRATGOJWXV2JWE-6098383
snyk https://github.com/lestrrat-go/jwx/commit/64f2a229b8e18605f47361d292b526bdc4aee01c https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMLESTRRATGOJWXJWE-6098382

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

详情(点击展开)
影响的包 修复版本 修复补丁 问题引入补丁 来源
https://github.com/lestrrat-go/jwx/commit/64f2a229b8e18605f47361d292b526bdc4aee01c security-advisories.github.com
https://github.com/lestrrat-go/jwx/commit/64f2a229b8e18605f47361d292b526bdc4aee01c redhat_bugzilla
https://github.com/lestrrat-go/jwx/commit/64f2a229b8e18605f47361d292b526bdc4aee01c github_advisory
https://github.com/lestrrat-go/jwx/commit/64f2a229b8e18605f47361d292b526bdc4aee01c go
https://github.com/lestrrat-go/jwx/commit/64f2a229b8e18605f47361d292b526bdc4aee01c osv
https://github.com/lestrrat-go/jwx/commit/64f2a229b8e18605f47361d292b526bdc4aee01c snyk
https://github.com/lestrrat-go/jwx/commit/64f2a229b8e18605f47361d292b526bdc4aee01c nvd
https://github.com/lestrrat-go/jwx/security/advisories/GHSA-7f9x-gw85-8grf nvd

二、漏洞分析结构反馈
影响性分析说明:
lestrrat-go/jwx is a Go module implementing various JWx (JWA/JWE/JWK/JWS/JWT, otherwise known as JOSE) technologies. A p2c parameter set too high in JWE s algorithm PBES2-* could lead to a denial of service. The JWE key management algorithms based on PBKDF2 require a JOSE Header Parameter called p2c (PBES2 Count). This parameter dictates the number of PBKDF2 iterations needed to derive a CEK wrapping key. Its primary purpose is to intentionally slow down the key derivation function, making password brute-force and dictionary attacks more resource- intensive. Therefore, if an attacker sets the p2c parameter in JWE to a very large number, it can cause a lot of computational consumption, resulting in a denial of service. This vulnerability has been addressed in commit 64f2a229b which has been included in release version 1.2.27 and 2.0.18. Users are advised to upgrade. There are no known workarounds for this vulnerability.
openEuler评分:
5.3
Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
受影响版本排查(受影响/不受影响):
1.master(1.24.2):不受影响
2.openEuler-20.03-LTS-SP4(1.15.7):不受影响
3.openEuler-22.03-LTS-SP3(1.17.3):不受影响
4.openEuler-22.03-LTS-SP4(1.17.3):不受影响
5.openEuler-24.03-LTS(1.21.4):不受影响
6.openEuler-24.03-LTS-Next(1.21.4):不受影响
7.openEuler-24.03-LTS-SP1(1.21.4):不受影响
8.openEuler-24.03-LTS-SP2(1.21.4):不受影响

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

原因说明:
1.master(1.24.2):不受影响-组件不存在
2.openEuler-20.03-LTS-SP4(1.15.7):不受影响-组件不存在
3.openEuler-22.03-LTS-SP3(1.17.3):不受影响-组件不存在
4.openEuler-22.03-LTS-SP4(1.17.3):不受影响-组件不存在
5.openEuler-24.03-LTS(1.21.4):不受影响-组件不存在
6.openEuler-24.03-LTS-Next(1.21.4):不受影响-组件不存在
7.openEuler-24.03-LTS-SP1(1.21.4):不受影响-组件不存在
8.openEuler-24.03-LTS-SP2(1.21.4):不受影响-组件不存在

评论 (7)

openeuler-ci-bot 创建了CVE和安全问题 30天前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
30天前
展开全部操作日志
openeuler-ci-bot 添加了
 
sig/sig-golang
标签
30天前
参考网址 关联pr 状态 补丁链接
https://nvd.nist.gov/vuln/detail/CVE-2023-49290NoneNonehttps://github.com/lestrrat-go/jwx/commit/64f2a229b8e18605f47361d292b526bdc4aee01c
https://ubuntu.com/security/CVE-2023-49290
https://www.opencve.io/cve/CVE-2023-49290NoneNonehttps://github.com/lestrrat-go/jwx/commit/64f2a229b8e18605f47361d292b526bdc4aee01c
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2023-49290NoneNonehttps://github.com/lestrrat-go/jwx/commit/64f2a229b8e18605f47361d292b526bdc4aee01c
https://security-tracker.debian.org/tracker/CVE-2023-49290
http://www.cnnvd.org.cn/web/vulnerability/queryLds.tag?qcvCnnvdid=CVE-2023-49290

说明:补丁链接仅供初步排查参考,实际可用性请人工再次确认,补丁下载验证可使用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 计划开始日期设置为2025-04-19 29天前
openeuler-ci-bot 计划截止日期设置为2025-05-19 29天前
openeuler-ci-bot 优先级设置为次要 29天前
openeuler-ci-bot 负责人设置为fuowang 29天前
openeuler-ci-bot 修改了描述 10天前

影响性分析说明:
lestrrat-go/jwx is a Go module implementing various JWx (JWA/JWE/JWK/JWS/JWT, otherwise known as JOSE) technologies. A p2c parameter set too high in JWE s algorithm PBES2-* could lead to a denial of service. The JWE key management algorithms based on PBKDF2 require a JOSE Header Parameter called p2c (PBES2 Count). This parameter dictates the number of PBKDF2 iterations needed to derive a CEK wrapping key. Its primary purpose is to intentionally slow down the key derivation function, making password brute-force and dictionary attacks more resource- intensive. Therefore, if an attacker sets the p2c parameter in JWE to a very large number, it can cause a lot of computational consumption, resulting in a denial of service. This vulnerability has been addressed in commit 64f2a229b which has been included in release version 1.2.27 and 2.0.18. Users are advised to upgrade. There are no known workarounds for this vulnerability.

openEuler评分:
5.3
Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

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

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

原因说明:
1.master(1.23.7):不受影响-组件不存在
2.openEuler-20.03-LTS-SP4(1.15.7):不受影响-组件不存在
3.openEuler-22.03-LTS-SP3(1.17.3):不受影响-组件不存在
4.openEuler-22.03-LTS-SP4(1.17.3):不受影响-组件不存在
5.openEuler-24.03-LTS(1.21.4):不受影响-组件不存在
6.openEuler-24.03-LTS-Next(1.21.4):不受影响-组件不存在
7.openEuler-24.03-LTS-SP1(1.21.4):不受影响-组件不存在
8.openEuler-24.03-LTS-SP2(1.21.4):不受影响-组件不存在

openeuler-ci-bot 修改了描述 6天前

影响性分析说明:
lestrrat-go/jwx is a Go module implementing various JWx (JWA/JWE/JWK/JWS/JWT, otherwise known as JOSE) technologies. A p2c parameter set too high in JWE s algorithm PBES2-* could lead to a denial of service. The JWE key management algorithms based on PBKDF2 require a JOSE Header Parameter called p2c (PBES2 Count). This parameter dictates the number of PBKDF2 iterations needed to derive a CEK wrapping key. Its primary purpose is to intentionally slow down the key derivation function, making password brute-force and dictionary attacks more resource- intensive. Therefore, if an attacker sets the p2c parameter in JWE to a very large number, it can cause a lot of computational consumption, resulting in a denial of service. This vulnerability has been addressed in commit 64f2a229b which has been included in release version 1.2.27 and 2.0.18. Users are advised to upgrade. There are no known workarounds for this vulnerability.

openEuler评分:
5.3
Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

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

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

原因说明:
1.master(1.23.7):不受影响-组件不存在
2.openEuler-20.03-LTS-SP4(1.15.7):不受影响-组件不存在
3.openEuler-22.03-LTS-SP3(1.17.3):不受影响-组件不存在
4.openEuler-22.03-LTS-SP4(1.17.3):不受影响-组件不存在
5.openEuler-24.03-LTS(1.21.4):不受影响-组件不存在
6.openEuler-24.03-LTS-Next(1.21.4):不受影响-组件不存在
7.openEuler-24.03-LTS-SP1(1.21.4):不受影响-组件不存在
8.openEuler-24.03-LTS-SP2(1.21.4):不受影响-组件不存在

openeuler-ci-bot 修改了描述 6天前
openeuler-ci-bot 任务状态待办的 修改为已完成 6天前
openeuler-ci-bot 移除了
 
CVE/UNFIXED
标签
6天前
openeuler-ci-bot 移除了
 
sig/sig-golang
标签
6天前
openeuler-ci-bot 添加了
 
CVE/UNAFFECTED
标签
6天前
openeuler-ci-bot 添加了
 
sig/sig-golang
标签
6天前

登录 后才可以发表评论

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

搜索帮助