CVE-2025-64429

MEDIUM
中文标题:
(暂无数据)
英文标题:
DuckDB Encryption Crypto implementation is vulnerable
CVSS分数: 6.9
发布时间: 2025-11-12 21:32:45
漏洞类型: (暂无数据)
状态: PUBLISHED
数据质量分数: 0.40
数据版本: v2
漏洞描述
中文描述:

(暂无数据)

英文描述:

DuckDB is a SQL database management system. DuckDB implemented block-based encryption of DB on the filesystem starting with DuckDB 1.4.0. There are a few issues related to this implementation. The DuckDB can fall back to an insecure random number generator (pcg32) to generate cryptographic keys or IVs. When clearing keys from memory, the compiler may remove the memset() and leave sensitive data on the heap. By modifying the database header, an attacker could downgrade the encryption mode from GCM to CTR to bypass integrity checks. There may be a failure to check return value on call to OpenSSL `rand_bytes()`. An attacker could use public IVs to compromise the internal state of RNG and determine the randomly generated key used to encrypt temporary files, get access to cryptographic keys if they have access to process memory (e.g. through memory leak),circumvent GCM integrity checks, and/or influence the OpenSSL random number generator and DuckDB would not be able to detect a failure of the generator. Version 1.4.2 has disabled the insecure random number generator by no longer using the fallback to write to or create databases. Instead, DuckDB will now attempt to install and load the OpenSSL implementation in the `httpfs` extension. DuckDB now uses secure MbedTLS primitive to clear memory as recommended and requires explicit specification of ciphers without integrity checks like CTR on `ATTACH`. Additionally, DuckDB now checks the return code.

CWE类型:
CWE-327
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
duckdb duckdb >= 1.4.0, < 1.4.2 - - cpe:2.3:a:duckdb:duckdb:>=_1.4.0,_<_1.4.2:*:*:*:*:*:*:*
duckdb duckdb * - - cpe:2.3:a:duckdb:duckdb:*:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/duckdb/duckdb/security/advisories/GHSA-vmp8-hg63-v2hp x_refsource_CONFIRM
cve.org
访问
https://github.com/duckdb/duckdb/pull/17275 x_refsource_MISC
cve.org
访问
https://duckdb.org/2025/09/16/announcing-duckdb-140.html x_refsource_MISC
cve.org
访问
https://github.com/duckdb/duckdb/blob/029a5b87ff5b1cd22f7f9717d48cd8830d00807c/src/common/random_engine.cpp#L20 x_refsource_MISC
cve.org
访问
CVSS评分详情
4.0 (cna)
MEDIUM
6.9
CVSS向量: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
机密性
LOW
完整性
LOW
可用性
NONE
后续系统影响 (Subsequent):
机密性
NONE
完整性
NONE
可用性
NONE
时间信息
发布时间:
2025-11-12 21:32:45
修改时间:
2025-11-13 16:45:43
创建时间:
2026-01-12 02:12:18
更新时间:
2026-01-12 02:28:00
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2025-64429 2025-11-15 03:17:46 2026-01-12 02:12:18
NVD nvd_CVE-2025-64429 2025-11-26 03:00:12 2026-01-12 02:28:00
版本与语言
当前版本: v2
主要语言: EN
支持语言:
EN
安全公告
暂无安全公告信息
变更历史
v2 NVD
2026-01-12 02:28:00
affected_products_count: 1 → 2; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • affected_products_count: 1 -> 2
  • data_sources: ['cve'] -> ['cve', 'nvd']