{"id":"CVE-2024-7009","published":"2024-08-06T03:40:33Z","modified":"2024-08-06T13:37:59Z","title":"Calibre SQL Injection","vendor":"Calibre","product":"Calibre","tier":"tail","description":{"text":"Unsanitized user-input in Calibre <= 7.15.0 allow users with permissions to perform full-text searches to achieve SQL injection on the SQLite database.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.13922,"percentile":0.96627,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://starlabs.sg/advisories/24/24-7009/","tags":["third-party-advisory"]},{"url":"https://github.com/kovidgoyal/calibre/commit/d56574285e8859d3d715eb7829784ee74337b7d7","tags":["patch"]}],"priority":{"score":22.3,"factors":[{"name":"EPSS percentile","points":19.33},{"name":"CVSS severity","points":2.94}]},"vendorSlug":"calibre","affectedVersions":[{"vendor":"Calibre","product":"Calibre","versions":["7.15.0"]}],"capec":[{"id":"CAPEC-66","name":"SQL Injection"}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-06T13:15:35.411350Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"Calibre versions up to and including 7.15.0 fail to sanitise user-supplied input in the full-text search feature, which allows SQL injection against the underlying SQLite database. An attacker who holds a low-privilege account with permission to run full-text searches can exploit this over the network with no user interaction, though the attack is considered high complexity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:06:57Z"},"euvd":{"id":"EUVD-2024-48030","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-calibre-cve-2024-6781","parents":[{"from":"CVE-2024-6781","to":"CVE-2024-7009","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/calibre/db/backend.py"],"commits":["https://github.com/kovidgoyal/calibre/commit/bcd0ab12c41a887f8290a9b56e46c3a29038d9c4","https://github.com/kovidgoyal/calibre/commit/d56574285e8859d3d715eb7829784ee74337b7d7"],"basis":"rarely changed file"}]}]}}