{"id":"CVE-2024-34693","published":"2024-06-20T08:51:55Z","modified":"2025-02-21T16:55:58Z","title":"Apache Superset: Server arbitrary file read","vendor":"Apache","product":"Apache Superset","tier":"tail","description":{"text":"Improper Input Validation vulnerability in Apache Superset, allows for an authenticated attacker to create a MariaDB connection with local_infile enabled. If both the MariaDB server (off by default) and the local mysql client on the web server are set to allow for local infile, it's possible for the attacker to execute a specific MySQL/MariaDB SQL command that is able to read files from the server and insert their content on a MariaDB database table.This issue affects Apache Superset: before 3.1.3 and version 4.0.0\n\nUsers are recommended to upgrade to version 4.0.1 or 3.1.3, which fixes the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01584,"percentile":0.76167,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://lists.apache.org/thread/1803x1s34m7r71h1k0q1njol8k6fmyon","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2024/06/20/1","tags":[]}],"priority":{"score":25.0,"factors":[{"name":"EPSS percentile","points":15.23},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.76}]},"exploitSources":{"pocGithub":{"count":2,"skipped":0,"earliest":"2024-07-27","earliestUrl":"https://github.com/mbadanoiu/CVE-2024-34693","repos":[{"name":"mbadanoiu/CVE-2024-34693","url":"https://github.com/mbadanoiu/CVE-2024-34693","stars":10,"created":"2024-07-27"},{"name":"Mr-r00t11/CVE-2024-34693","url":"https://github.com/Mr-r00t11/CVE-2024-34693","stars":0,"created":"2024-07-30"}]},"first":{"date":"2024-07-27","source":"PoC-in-GitHub","url":"https://github.com/mbadanoiu/CVE-2024-34693"},"provenance":"source"},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Superset","versions":["< 3.1.3",">= 4.0.0, < 4.0.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-20T12:55:23.313212Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"apache-superset","vulnerableRanges":["<3.1.3",">=4.0.0, <4.0.1"],"patched":["3.1.3","4.0.1"],"from":["GHSA-hcr7-cqwc-q5gq","PYSEC-2026-1183"],"provenance":"source"}],"summary":{"text":"A server-side input validation flaw in Apache Superset allows a crafted MariaDB connection with local_infile enabled to be used to read files from the server. An attacker needs to be authenticated to Superset and the server must have local_infile enabled on both the MariaDB server (off by default) and the local mysql client on the web server, with the attacker able to execute a specific MySQL/MariaDB SQL command that inserts the file contents into a database table.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:16:02Z"},"euvd":{"id":"EUVD-2024-2067","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-26016","published":"2024-02-28","fixed":"3.1.1","kev":false},{"cve":"CVE-2024-27315","published":"2024-02-28","fixed":"3.1.1","kev":false},{"cve":"CVE-2024-28148","published":"2024-05-07","fixed":"3.1.2","kev":false,"link":{"from":"CVE-2024-28148","to":"CVE-2024-34693","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:apache-superset","fromFixed":"3.1.2","toFixed":"3.1.3","daysApart":44}]}},{"cve":"CVE-2024-34693","published":"2024-06-20","fixed":"4.0.1","kev":false},{"cve":"CVE-2024-39887","published":"2024-07-16","fixed":"4.0.2","kev":false,"link":{"from":"CVE-2024-34693","to":"CVE-2024-39887","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:apache-superset","fromFixed":"4.0.1","toFixed":"4.0.2","daysApart":26}]}},{"cve":"CVE-2024-53947","published":"2024-12-09","fixed":"4.1.0","kev":false},{"cve":"CVE-2024-53948","published":"2024-12-09","fixed":"4.1.0","kev":false}],"package":"PyPI:apache-superset"}}