CVE-2024-24565
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.
Severity
MEDIUM
CVSS v3
5.7
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N · source cna
Exploit chance (EPSS)
3.084%
chance of exploitation in the next 30 days
higher than 87.9% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 1
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2024-08-23 |
Timeline
- 2024-01-30Published by the CNA16:46 UTC
- 2024-01-30GitHub advisory published (GHSA-475g-vj6c-xf96)same day
- 2024-08-23CISA SSVC decision recorded206 days after publication
Exploit and advisory records
Nuclei templates:
- CVE-2024-24565: CrateDB Database - Arbitrary File Read
GitHub advisory GHSA-475g-vj6c-xf96, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven io.crate:crate | before 5.3.9 | 5.3.9 |
| Maven io.crate:crate | from 5.4.0 before 5.4.8 | 5.4.8 |
| Maven io.crate:crate | from 5.5.0 before 5.5.4 | 5.5.4 |
| Maven io.crate:crate | from 5.6.0 before 5.6.1 | 5.6.1 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| cratedb cratedb | before 5.3.9fixed in 5.3.9from 5.4.0 before 5.4.8fixed in 5.4.8from 5.5.0 before 5.5.4fixed in 5.5.4from 5.6.0 before 5.6.1fixed in 5.6.1 | 5.3.95.4.85.5.45.6.1 |
References
- https://github.com/crate/crate/commit/4e857d675683095945dd524d6ba03e692c70ecd6
- https://github.com/crate/crate/security/advisories/GHSA-475g-vj6c-xf96
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2024-24565'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2024-24565'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2024-24565'curl 'https://api.contrastcyber.com/cve_products/CVE-2024-24565'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).