CrateDB 5.x COPY Info Leak via Arbitrary File Import (Fixed 5.3.9-5.6.1)
CVE-2024-24565 Published on January 30, 2024

CrateDB database has an arbitrary file read vulnerability
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.

Github Repository NVD

Vulnerability Analysis

CVE-2024-24565 can be exploited with network access, requires user interaction and a small amount of user privileges. This vulnerability is considered to have a low attack complexity. Public availability of a proof of concept (POC) exploit exists for CVE-2024-24565. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality, with no impact on integrity and availability.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
LOW
User Interaction:
REQUIRED
Scope:
UNCHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
NONE
Availability Impact:
NONE

Weakness Type

What is a Directory traversal Vulnerability?

The software uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the software does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

CVE-2024-24565 has been classified to as a Directory traversal vulnerability or weakness.


Products Associated with CVE-2024-24565

Want to know whenever a new CVE is published for Cratedb? stack.watch will email you.

 

Affected Versions

crate: cratedb:

Vulnerable Packages

The following package name and versions may be associated with CVE-2024-24565

Package Manager Vulnerable Package Versions Fixed In
maven io.crate:crate < 5.3.9 5.3.9
maven io.crate:crate >= 5.4.0, < 5.4.8 5.4.8
maven io.crate:crate >= 5.5.0, < 5.5.4 5.5.4
maven io.crate:crate = 5.6.0 5.6.1

Exploit Probability

EPSS
86.48%
Percentile
99.43%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.