{"data":{"id":"60a9f10f-2932-4e07-91ed-ca3576f48d81","title":"CVE-2024-11958: A SQL injection vulnerability exists in the `duckdb_retriever` component of the run-llama/llama_index repository…","summary":"A SQL injection vulnerability exists in the `duckdb_retriever` component of the run-llama/llama_index repository, in the latest version. The flaw comes from building SQL queries without prepared statements, which lets an attacker inject arbitrary SQL code. This can lead to remote code execution by installing the shellfs extension and running malicious commands.","solution":"N/A -- no mitigation discussed in source.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-11958","publishedAt":"2025-03-20T10:15:26.030Z","cveId":"CVE-2024-11958","cweIds":["CWE-89"],"cvssScore":"9.8","cvssSeverity":"critical","severity":"critical","attackType":["other"],"issueType":"vulnerability","affectedPackages":["llama-index-retrievers-duckdb-retriever@< 0.4.0 (fixed: 0.4.0)"],"affectedPackageNames":["llama-index-retrievers-duckdb-retriever"],"affectedPackageRefs":["pypi:llama-index-retrievers-duckdb-retriever"],"affectedVendors":[],"affectedVendorsRaw":["llama_index","duckdb_retriever"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"llama_index SQL injection in duckdb_retriever leads to code execution","headlinePromptVersion":"h1","cvssVector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"network","attackComplexity":"low","privilegesRequired":"none","userInteraction":"none","exploitMaturity":"unknown","epssScore":0.01432,"epssPercentile":0.73939,"epssCheckedAt":"2026-12-03T19:40:25.194Z","epssHistory":null,"epss30dChange":null,"exploitUrls":["https://huntr.com/bounties/8ddf66e1-f74c-4d53-992b-76bc45cacac1"],"patchCommitUrls":["https://github.com/run-llama/llama_index/commit/35bd221e948e40458052d30c6ef2779bc965b6d0"],"ssvcExploitation":"poc","nvdStatus":"Analyzed","referencesCheckedAt":"2026-12-03T19:58:15.414Z","kevDateAdded":null,"advisoryAliases":["GHSA-339r-cjv9-x78g"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-12-03T19:46:59.409Z","patchAvailable":true,"disclosureDate":"2025-03-20T10:15:26.030Z","fixReleasedAt":null,"daysToFix":null,"fixCheckedAt":null,"capecIds":["CAPEC-66"],"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity","availability","safety"],"aiComponentTargeted":"rag","llmSpecific":false,"classifierConfidence":0.95,"researchCategory":null,"atlasIds":null,"openalexId":null,"openalexMatch":null,"openalexCheckedAt":null,"paperAuthors":null,"paperVenue":null,"paperVenueType":null,"paperYear":null,"paperDoi":null,"paperPublished":null,"paperOaUrl":null,"citedByCount":null,"codeUrls":null,"nvdFilled":null,"fixedVersions":["llama-index-retrievers-duckdb-retriever@0.4.0"],"affectedPurls":["pkg:pypi/llama-index-retrievers-duckdb-retriever"],"owaspLlmIds":null,"doi":null,"arxivId":null,"hasPublicExploit":true,"timeline":[{"event":"published","date":"2025-03-20","source":"record_source"}],"provenance":{"fields":{"id":"pipeline","title":"source","summary":"model","solution":"model","labels":"model","sourceUrl":"source","publishedAt":"source","cveId":"source","cweIds":"source","cvssScore":"source","cvssSeverity":"source","severity":"source","attackType":"model","issueType":"source","affectedPackages":"source","affectedPackageNames":"source","affectedPackageRefs":"source","affectedVendors":"model","affectedVendorsRaw":"model","classifierModel":"pipeline","classifierPromptVersion":"pipeline","summaryPromptVersion":"pipeline","headline":"model","headlinePromptVersion":"pipeline","cvssVector":"source","attackVector":"source","attackComplexity":"source","privilegesRequired":"source","userInteraction":"source","exploitMaturity":"source","epssScore":"source","epssPercentile":"source","epssCheckedAt":"pipeline","epssHistory":"source","epss30dChange":"source","exploitUrls":"source","patchCommitUrls":"source","ssvcExploitation":"source","nvdStatus":"source","referencesCheckedAt":"pipeline","kevDateAdded":"source","advisoryAliases":"source","affectedPackagesSource":"pipeline","affectedPackagesCheckedAt":"pipeline","patchAvailable":"source","disclosureDate":"source","fixReleasedAt":"source","daysToFix":"source","fixCheckedAt":"pipeline","capecIds":"source","crossRefCount":"source","attackSophistication":"model","impactType":"model","aiComponentTargeted":"model","llmSpecific":"model","classifierConfidence":"model","atlasIds":"model","openalexId":"source","openalexMatch":"pipeline","openalexCheckedAt":"pipeline","paperAuthors":"source","paperVenue":"source","paperVenueType":"source","paperYear":"source","paperDoi":"source","paperPublished":"source","paperOaUrl":"source","citedByCount":"source","codeUrls":"source","nvdFilled":"pipeline","fixedVersions":"source","affectedPurls":"source","owaspLlmIds":"model","doi":"source","arxivId":"source","hasPublicExploit":"source","timeline":"source"},"model":{"classifier":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2"}},"fixes":[]}}