Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2024-24565 — AI Deep Analysis Summary

CVSS 5.7 · Medium

Q1What is this vulnerability? (Essence + Consequences)

🚨 **Essence**: A Path Traversal flaw in CrateDB's `COPY FROM` function.…

Q2Root Cause? (CWE/Flaw)

🛡️ **Root Cause**: **CWE-22** (Improper Limitation of a Pathname to a Restricted Directory). The `COPY FROM` function fails to properly sanitize file paths, allowing directory traversal.

Q3Who is affected? (Versions/Components)

📦 **Affected Versions**: <br>• CrateDB **5.3.9** and earlier <br>• CrateDB **5.4.8** and earlier <br>• CrateDB **5.5.4** and earlier <br>• CrateDB **5.6.1** and earlier

Q4What can hackers do? (Privileges/Data)

🕵️ **Attacker Actions**: With authentication, hackers can use `COPY FROM` to read **arbitrary files** from the server filesystem and inject their content into database tables.…

Q5Is exploitation threshold high? (Auth/Config)

🔑 **Exploitation Threshold**: <br>• **Auth Required**: Yes (PR:L) <br>• **UI Interaction**: Required (UI:R) <br>• **Network**: Remote (AV:N) <br>• **Complexity**: Low (AC:L). <br>⚠️ *Note: Requires valid credentials.*

Q6Is there a public Exp? (PoC/Wild Exploitation)

💻 **Public Exploit**: Yes. A Nuclei template is available on GitHub (ProjectDiscovery). <br>🌐 **Status**: PoC exists, but wild exploitation depends on target configuration.

Q7How to self-check? (Features/Scanning)

🔍 **Self-Check**: <br>1. Check CrateDB version against the list above. <br>2. Use **Nuclei** with the specific CVE-2024-24565 template. <br>3. Verify if `COPY FROM` is accessible and if path validation is missing.

Q8Is it fixed officially? (Patch/Mitigation)

✅ **Official Fix**: Yes. Patched in versions **>5.3.9**, **>5.4.8**, **>5.5.4**, and **>5.6.1**. <br>🔗 **Commit**: 4e857d675683095945dd524d6ba03e692c70ecd6.

Q9What if no patch? (Workaround)

🚧 **No Patch Workaround**: <br>• Restrict network access to CrateDB ports. <br>• Enforce strong authentication. <br>• Disable `COPY FROM` functionality if not needed.…

Q10Is it urgent? (Priority Suggestion)

⚡ **Priority**: **HIGH**. <br>• CVSS Score indicates **High Confidentiality** impact. <br>• Low complexity + Remote access makes it attractive. <br>• **Action**: Update immediately if using affected versions!