目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-65625— jose 库 AES-GCM 标签伪造漏洞

一分钟漏洞结论

影响对象
potatosalad jose
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

jose_jwa_aes 模块中纯 Erlang 实现的 AES-GCM 降级方案存在漏洞:该方案从攻击者提供的标签(tag)本身推导需要验证的认证标签比特数。在 block_decrypt/4 函数的 {aes_gcm, Bits} 子句中,传入的标签仅通过 is_binary/1 进行类型检查,未对其长度进行任何验证。随后在 gcm_block_decrypt/6 中执行验证时,系统计算 TBits = bit_size(T),并仅比对真实 128 位标签中的前 TBits 个比特。 若攻击者能够控制 JWE

CVSS 5.9 · Medium
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-65625 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Attacker-controlled AES-GCM authentication tag length allows tag forgery in jose
来源: CVE Program / CVE List V5
Vulnerability Description
The pure-Erlang AES-GCM fallback in jose_jwa_aes derives the number of verified authentication tag bits from the attacker-supplied tag itself. In the {aes_gcm, Bits} clause of block_decrypt/4, the incoming tag is guarded only by is_binary/1, with no check on its length. Verification in gcm_block_decrypt/6 then computes TBits = bit_size(T) and compares only those bits of the real 128-bit tag. An attacker who controls a JWE token can truncate the authentication tag to as little as 8 bits, so only 8 bits are ever checked. This reduces forgery resistance from 2^-128 to 2^-8, and a forged ciphertext is reliably accepted as authentic within 256 attempts without knowledge of the key (an authentication tag forgery and integrity bypass). Supplying a tag longer than 128 bits instead causes a badmatch that crashes the decrypting process. The fallback is reached through the public JWE decryption path whenever AES-GCM is not provided by a native crypto NIF, for example on FIPS or stripped or older OTP builds. This issue affects jose: from 1.2.0 before 1.11.13.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
来源: CVE Program / CVE List V5
Vulnerability Type
完整性检查值验证不恰当
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
potatosalad jose 1.2.0 ~ 1.11.13 cpe:2.3:a:potatosalad:jose:*:*:*:*:*:*:*:*
potatosalad jose 8848b172575fb7d7e1e2977e8ae0a21678d2157a ~ 3fa1f8e3efda0da5ce6f4c9984789f979dc02740 cpe:2.3:a:potatosalad:jose:*:*:*:*:*:*:*:*

二、漏洞 CVE-2026-65625 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-65625 的情报信息

请登录查看更多情报信息。

CVE-2026-65625 补丁与修复 (1)

CVE-2026-65625 厂商安全公告 (1)

CVE-2026-65625 其他参考 (1)

同批安全公告 · potatosalad · 2026-10-26 · 共 8 条

CVE-2026-65629 7.4 HIGH jose 弱 PBKDF2 参数致私钥导出漏洞
CVE-2026-65627 6.9 MEDIUM jose_jwe_zip 解压缩炸弹漏洞
CVE-2026-65631 6.9 MEDIUM erlang-jose RSA JWK 解析导致 CPU 耗尽拒绝服务漏洞
CVE-2026-65626 5.9 MEDIUM jose RSAES-PKCS1-v1_5 解密填充预言机漏洞
CVE-2026-65628 5.9 MEDIUM JOSE 无限递归导致 CPU 拒绝服务漏洞
CVE-2026-65630 5.9 MEDIUM jose X25519 标量乘法时序侧信道泄露私钥
CVE-2026-65632 5.1 MEDIUM jose ECDSA 签名长度未验证致签名可篡改漏洞

IV. Related Vulnerabilities