低危 jwt-go_project jwt-go 授权机制缺失
CVE编号
CVE-2020-26160利用情况
暂无补丁情况
官方补丁披露时间
2020-10-01漏洞描述
jwt-go before 4.0.0-preview1 allows attackers to bypass intended access restrictions in situations with []string{} for m["aud"] (which is allowed by the specification). Because the type assertion fails, "" is the value of aud. This is a security problem if the JWT token is presented to a service that lacks its own audience check.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接 |
|
---|---|
https://github.com/dgrijalva/jwt-go/pull/426 | |
https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMDGRIJALVAJWTGO-596515 |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | jwt-go_project | jwt-go | * | Up to (including) 3.2.0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.14 | gitea | * | Up to (excluding) 1.14.6-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.15 | gitea | * | Up to (excluding) 1.14.6-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.16 | gitea | * | Up to (excluding) 1.14.6-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.17 | gitea | * | Up to (excluding) 1.14.6-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.18 | gitea | * | Up to (excluding) 1.14.6-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_edge | gitea | * | Up to (excluding) 1.14.6-r0 | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | golang-github-dgrijalva-jwt-go | * | Up to (excluding) 3.0.0.1+REALLY.2.6.0-3 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | golang-github-dgrijalva-jwt-go | * | Up to (excluding) 3.2.0-3 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | golang-github-dgrijalva-jwt-go | * | Up to (excluding) 3.2.0-3 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | golang-github-dgrijalva-jwt-go | * | Up to (excluding) 3.2.0-3 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_16.04.7_lts | juju-core | * | Up to (excluding) 2.3.7-0ubuntu0.16.04.1 | |||||
- 攻击路径 远程
- 攻击复杂度 容易
- 权限要求 无需权限
- 影响范围 有限影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-287 | 认证机制不恰当 |
CWE-755 | 对异常条件的处理不恰当 |
CWE-862 | 授权机制缺失 |
Exp相关链接

版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论