CVE-2025-68131 (CNNVD-202512-5703)
中文标题:
cbor2 安全漏洞
英文标题:
CBORDecoder reuse can leak shareable values across decode calls
漏洞描述
中文描述:
cbor2是Alex Grönholm个人开发者的一个具有广泛标签支持的二进制对象表示序列化格式编码和解码的库。 cbor2 3.0.0版本至5.8.0之前版本存在安全漏洞,该漏洞源于跨信任边界重用解码器时,可共享标记的值会保留在内存中,可能导致攻击者读取先前解码消息中的数据。
英文描述:
cbor2 provides encoding and decoding for the Concise Binary Object Representation (CBOR) serialization format. Starting in version 3.0.0 and prior to version 5.8.0, whhen a CBORDecoder instance is reused across multiple decode operations, values marked with the shareable tag (28) persist in memory and can be accessed by subsequent CBOR messages using the sharedref tag (29). This allows an attacker-controlled message to read data from previously decoded messages if the decoder is reused across trust boundaries. Version 5.8.0 patches the issue.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| agronholm | cbor2 | >= 3.0.0, < 5.8.0 | - | - |
cpe:2.3:a:agronholm:cbor2:>=_3.0.0,_<_5.8.0:*:*:*:*:*:*:*
|
| agronholm | cbor2 | * | - | - |
cpe:2.3:a:agronholm:cbor2:*:*:*:*:*:python:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
4.0 (cna)
MEDIUMCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/E:P
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2025-68131 |
2026-01-04 02:04:26 | 2026-01-12 02:12:28 |
| NVD | nvd_CVE-2025-68131 |
2026-01-03 03:00:03 | 2026-01-12 02:28:10 |
| CNNVD | cnnvd_CNNVD-202512-5703 |
2026-01-11 06:15:02 | 2026-01-12 02:38:11 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 其他
- cnnvd_id: 未提取 -> CNNVD-202512-5703
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- affected_products_count: 1 -> 2
- data_sources: ['cve'] -> ['cve', 'nvd']