duckdb.duckdb is vulnerable to Use of a Broken or Risky Cryptographic Algorithm
65
Medium Risk
DuckDB's block-based filesystem encryption contains several cryptographic weaknesses. It can fall back to a non-cryptographic pcg32 random number generator to derive keys and IVs, clears key material with a memset call the compiler may remove, and does not verify the return value of OpenSSL rand_bytes. The database header selects the cipher, so the mode can also be downgraded from GCM to CTR to bypass integrity checks. The fix stops using the insecure fallback RNG, zeroes memory with a secure primitive, checks the RNG return code, and requires explicit opt-in for integrity-free ciphers.
You are affected if you are using a version that falls within the vulnerable range.
duckdb.duckdb is vulnerable to Use of a Broken or Risky Cryptographic Algorithm in versions 1.4.0 - 1.4.1.
Upgrade the duckdb.duckdb library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant