{"id":"CVE-2024-24565","published":"2024-01-30T16:46:15Z","modified":"2024-08-23T19:32:35Z","title":"CrateDB database has an arbitrary file read vulnerability","vendor":"crate","product":"crate","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03084,"percentile":0.88011,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/crate/crate/security/advisories/GHSA-475g-vj6c-xf96","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/crate/crate/commit/4e857d675683095945dd524d6ba03e692c70ecd6","tags":["x_refsource_MISC"]}],"priority":{"score":26.6,"factors":[{"name":"EPSS percentile","points":17.6},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.99}]},"exploitSources":{"nuclei":[{"id":"CVE-2024-24565","name":"CrateDB Database - Arbitrary File Read","severity":"medium","path":"http/cves/2024/CVE-2024-24565.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-24565.yaml"}],"provenance":"source"},"vendorSlug":"crate","affectedVersions":[{"vendor":"crate","product":"crate","versions":["< 5.3.9",">= 5.4.0, < 5.4.8",">= 5.5.0, < 5.5.4",">= 5.6.0, < 5.6.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-23T19:29:50.519568Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"io.crate:crate","vulnerableRanges":["<5.3.9",">=5.4.0, <5.4.8",">=5.5.0, <5.5.4",">=5.6.0, <5.6.1"],"patched":["5.3.9","5.4.8","5.5.4","5.6.1"],"from":["GHSA-475g-vj6c-xf96"],"provenance":"source"}],"summary":{"text":"The COPY FROM function in CrateDB, the distributed SQL database by Crate, fails to restrict file paths, letting it import arbitrary file contents into database tables. An authenticated attacker with network access can exploit this to read and leak sensitive information, though it requires user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T05:38:23Z"},"euvd":{"id":"EUVD-2024-0241","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-51982","published":"2024-01-30","fixed":"5.5.2","kev":false,"link":{"from":"CVE-2023-51982","to":"CVE-2024-24565","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:io.crate:crate","fromFixed":"5.3.8","toFixed":"5.3.9","daysApart":0},{"kind":"similar","provenance":"machine","score":0.22,"basis":"same package + description similarity"}]}},{"cve":"CVE-2024-24565","published":"2024-01-30","fixed":"5.6.1","kev":false},{"cve":"CVE-2024-37309","published":"2024-06-13","fixed":"5.7.2","kev":false,"link":{"from":"CVE-2024-24565","to":"CVE-2024-37309","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:io.crate:crate","fromFixed":"5.6.1","toFixed":"5.7.2","daysApart":135}]}},{"cve":"CVE-2026-49989","published":"2026-08-14","fixed":"6.3.2","kev":false}],"package":"Maven:io.crate:crate"}}