What’s Vulnerable › Vulnerabilities
CVE-2024-24565: CrateDB database has an arbitrary file read vulnerability
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-01-30 · updated 2026-06-17
- Weakness: CWE-22
Description
CrateDB is a distributed SQL database that makes it simple to store and analyze massive amounts of data in real-time. There is a COPY FROM function in the CrateDB database that is used to import file data into database tables. This function has a flaw, and authenticated attackers can use the COPY FROM function to import arbitrary file content into database tables, resulting in information leakage. This vulnerability is patched in 5.3.9, 5.4.8, 5.5.4, and 5.6.1.
Affected products
- crate: before 5.3.9; from 5.4.0 before 5.4.8; from 5.5.0 before 5.5.4; from 5.6.0 before 5.6.1 — fixed in 5.3.9, 5.4.8, 5.5.4, 5.6.1
How to fix
Upgrade to a fixed version: crate 5.3.9, 5.4.8, 5.5.4, 5.6.1. Check the vendor advisory for mitigations.
References
- https://github.com/crate/crate/commit/4e857d675683095945dd524d6ba03e692c70ecd6
- https://github.com/crate/crate/security/advisories/GHSA-475g-vj6c-xf96
- https://github.com/crate/crate/commit/4e857d675683095945dd524d6ba03e692c70ecd6
- https://github.com/crate/crate/security/advisories/GHSA-475g-vj6c-xf96
Get alerted when CVE-2024-24565 or the next vulnerability affects your stack