9 Star 0 Fork 23

src-openEuler/python-jwt

CVE-2024-51744

待办的
CVE和安全问题 拥有者
创建于  
2024-11-06 00:52

一、漏洞信息
漏洞编号:CVE-2024-51744
漏洞归属组件:python-jwt
漏洞归属的版本:1.7.1,2.0.0,2.0.1,2.3.0,2.5.0,2.6.0,2.7.0,2.8.0,2.9.0
CVSS V3.0分值:
BaseScore:3.1 Low
Vector:CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
漏洞简述:
golang-jwt is a Go implementation of JSON Web Tokens. Unclear documentation of the error behavior in ParseWithClaims can lead to situation where users are potentially not checking errors in the way they should be. Especially, if a token is both expired and invalid, the errors returned by ParseWithClaims return both error codes. If users only check for the jwt.ErrTokenExpired using error.Is, they will ignore the embedded jwt.ErrTokenSignatureInvalid and thus potentially accept invalid tokens. A fix has been back-ported with the error handling logic from the v5 branch to the v4 branch. In this logic, the ParseWithClaims function will immediately return in dangerous situations (e.g., an invalid signature), limiting the combined errors only to situations where the signature is valid, but further validation failed (e.g., if the signature is valid, but is expired AND has the wrong audience). This fix is part of the 4.5.1 release. We are aware that this changes the behaviour of an established function and is not 100 % backwards compatible, so updating to 4.5.1 might break your code. In case you cannot update to 4.5.0, please make sure that you are properly checking for all errors ( dangerous ones first), so that you are not running in the case detailed above.
漏洞公开时间:2024-11-05 06:15:03
漏洞创建时间:2024-11-06 00:52:04
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2024-51744

更多参考(点击展开)
参考来源 参考链接 来源链接
security-advisories.github.com https://github.com/golang-jwt/jwt/commit/7b1c1c00a171c6c79bbdb40e4ce7d197060c1c2c
security-advisories.github.com https://github.com/golang-jwt/jwt/security/advisories/GHSA-29wx-vh33-7x7r
suse_bugzilla http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-51744 https://bugzilla.suse.com/show_bug.cgi?id=1232936
suse_bugzilla https://www.cve.org/CVERecord?id=CVE-2024-51744 https://bugzilla.suse.com/show_bug.cgi?id=1232936
suse_bugzilla https://github.com/golang-jwt/jwt/commit/7b1c1c00a171c6c79bbdb40e4ce7d197060c1c2c https://bugzilla.suse.com/show_bug.cgi?id=1232936
suse_bugzilla https://github.com/golang-jwt/jwt/security/advisories/GHSA-29wx-vh33-7x7r https://bugzilla.suse.com/show_bug.cgi?id=1232936
suse_bugzilla https://bugzilla.redhat.com/show_bug.cgi?id=2323735 https://bugzilla.suse.com/show_bug.cgi?id=1232936
debian https://security-tracker.debian.org/tracker/CVE-2024-51744
anolis https://anas.openanolis.cn/cves/detail/CVE-2024-51744
go https://github.com/golang-jwt/jwt/security/advisories/GHSA-29wx-vh33-7x7r https://github.com/golang/vulndb/blob/master/reports/GO-2024-3250.yaml
go https://github.com/golang-jwt/jwt/commit/7b1c1c00a171c6c79bbdb40e4ce7d197060c1c2c https://github.com/golang/vulndb/blob/master/reports/GO-2024-3250.yaml
osv https://github.com/golang-jwt/jwt/security/advisories/GHSA-29wx-vh33-7x7r https://osv.dev/vulnerability/CVE-2024-51744
osv https://github.com/golang-jwt/jwt/commit/7b1c1c00a171c6c79bbdb40e4ce7d197060c1c2c https://osv.dev/vulnerability/CVE-2024-51744
osv https://security-tracker.debian.org/tracker/CVE-2024-51744 https://osv.dev/vulnerability/CVE-2024-51744
amazon_linux_explore https://access.redhat.com/security/cve/CVE-2024-51744 https://explore.alas.aws.amazon.com/CVE-2024-51744.html
amazon_linux_explore https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-51744 https://explore.alas.aws.amazon.com/CVE-2024-51744.html

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

详情(点击展开)
影响的包 修复版本 修复补丁 问题引入补丁 来源
https://github.com/golang-jwt/jwt/commit/7b1c1c00a171c6c79bbdb40e4ce7d197060c1c2c security-advisories.github.com
https://github.com/golang-jwt/jwt/commit/7b1c1c00a171c6c79bbdb40e4ce7d197060c1c2c suse_bugzilla
https://github.com/golang-jwt/jwt/commit/7b1c1c00a171c6c79bbdb40e4ce7d197060c1c2c go
https://github.com/golang-jwt/jwt/commit/7b1c1c00a171c6c79bbdb40e4ce7d197060c1c2c osv

二、漏洞分析结构反馈
影响性分析说明:

openEuler评分:

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

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

原因说明:
1.master(2.9.0):
2.openEuler-20.03-LTS-SP4(1.7.1):
3.openEuler-22.03-LTS-SP1(2.3.0):
4.openEuler-22.03-LTS-SP3(2.3.0):
5.openEuler-22.03-LTS-SP4(2.3.0):
6.openEuler-24.03-LTS(2.8.0):
7.openEuler-24.03-LTS-Next(2.8.0):

评论 (3)

openeuler-ci-bot 创建了CVE和安全问题 8个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
8个月前
展开全部操作日志
openeuler-ci-bot 添加了
 
sig/Base-service
标签
8个月前
openeuler-ci-bot 计划开始日期设置为2024-11-06 8个月前
openeuler-ci-bot 计划截止日期设置为2024-12-06 8个月前
openeuler-ci-bot 优先级设置为不重要 8个月前
openeuler-ci-bot 修改了描述 8个月前

/reason
1202 社区仅4.5.1分支合入,对应分支无补丁

openeuler-ci-bot 负责人设置为陈棋德 7个月前
openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 修改了描述 7个月前
openeuler-ci-bot 修改了描述 6个月前
openeuler-ci-bot 修改了描述 5个月前
openeuler-ci-bot 修改了描述 5个月前
openeuler-ci-bot 修改了描述 5个月前
openeuler-ci-bot 修改了描述 4个月前
openeuler-ci-bot 修改了描述 3个月前
openeuler-ci-bot 修改了描述 2个月前
openeuler-ci-bot 修改了描述 2个月前
openeuler-ci-bot 修改了描述 1个月前
openeuler-ci-bot 修改了描述 29天前

登录 后才可以发表评论

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

搜索帮助