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

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-53939— OpenIDC/cjose 所有零密钥AES-CBC-HMAC加密缺陷

一分钟漏洞结论

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

OpenIDC/cjose 是一个实现 JavaScript 对象签名和加密(JOSE)的 C 语言库。在 0.6.1 至 0.6.2.5 版本中,当使用 AES-CBC-HMAC 内容加密算法( 、 或 )并结合任何会生成全新内容加密密钥(CEK)的密钥管理算法来加密 JWE 时,生成的 CEK 全为零字节,而非随机生成。因此,生成的 JWE 是使用一个固定的、公开已知的密钥进行加密和认证的,这意味着任何获得该 JWE 的人都可以还原明文,并伪造或修改其内容。该问题已在版本 0.6.2.6 中修复: 函数现在通过

CVSS 9.1 · Critical EPSS 0.03% · P9
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
OpenIDC/cjose uses all-zero Content Encryption Key for AES-CBC-HMAC JWE encryption
来源: CVE Program / CVE List V5
Vulnerability Description
OpenIDC/cjose is a C library implementing the Javascript Object Signing and Encryption (JOSE). In versions 0.6.1 through 0.6.2.5, when cjose encrypts a JWE using an AES-CBC-HMAC content-encryption algorithm (`A128CBC-HS256`, `A192CBC-HS384`, or `A256CBC-HS512`) together with any key-management algorithm that generates a fresh content-encryption key (CEK), the CEK is all zero bytes instead of being randomly generated. The resulting JWE is therefore encrypted and authenticated under a fixed, publicly known key, so anyone who obtains the JWE can recover the plaintext and forge or modify the content. This is fixed in version 0.6.2.6 by `_cjose_jwe_set_cek_aes_cbc()` generating the CEK from `RAND_bytes`. A regression test asserts that the `encrypted_key` differs across two encryptions for each AES-CBC-HMAC variant. Until upgrading, for data encrypted with cjose, three options are available. Use an AES-GCM `enc` (`A128GCM` / `A192GCM` / `A256GCM`) instead of an AES-CBC-HMAC `enc`, use `alg=dir` with a caller-supplied CEK, or avoid using cjose for JWE encryption with the affected algorithm pair. These are mitigations for new ciphertexts only; data already encrypted under the zero key remains compromised and should be re-encrypted (and any secrets it contained rotated).
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
使用硬编码的密码学密钥
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
OpenIDC cjose >= 0.6.1, < 0.6.2.6 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

CVE-2026-53939 补丁与修复 (2)

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

IV. Related Vulnerabilities

V. Comments for CVE-2026-53939

暂无评论


发表评论