{"data":{"id":"9652c56a-17f2-475a-ad22-a83a88e97e0e","title":"CVE-2024-4343: A Python command injection vulnerability exists in the `SagemakerLLM` class's `complete()` method within…","summary":"CVE-2024-4343 is a Python command injection flaw in the `complete()` method of the `SagemakerLLM` class, in `./private_gpt/components/llm/custom/sagemaker.py` of imartinez/privategpt, versions up to and including 0.3.0. The method passes a string returned by a remote AWS SageMaker LLM endpoint to `eval()` to parse it into a dictionary, so an attacker who can manipulate that response can run arbitrary Python code on the host running the application.","solution":"Fixed in 0.6.0.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-4343","publishedAt":"2024-11-14T18:15:19.687Z","cveId":"CVE-2024-4343","cweIds":["CWE-78"],"cvssScore":"9.8","cvssSeverity":"critical","severity":"critical","attackType":["other"],"issueType":"vulnerability","affectedPackages":null,"affectedPackageNames":null,"affectedPackageRefs":null,"affectedVendors":[],"affectedVendorsRaw":["PrivateGPT","AWS SageMaker"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"privategpt command injection in SagemakerLLM complete() via eval()","headlinePromptVersion":"h1","cvssVector":"CVSS:3.1/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.02685,"epssPercentile":0.86318,"epssCheckedAt":"2026-12-03T19:40:30.606Z","epssHistory":null,"epss30dChange":null,"exploitUrls":["https://huntr.com/bounties/1d1e8f06-ec45-4b17-ae24-b83a41304c15"],"patchCommitUrls":["https://github.com/imartinez/privategpt/commit/86368c61760c9cee5d977131d23ad2a3e063cbe9"],"ssvcExploitation":"poc","nvdStatus":"Analyzed","referencesCheckedAt":"2026-12-03T19:59:07.377Z","kevDateAdded":null,"advisoryAliases":["GHSA-ww4x-x76m-jf7h"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":"2026-12-03T19:48:15.782Z","patchAvailable":true,"disclosureDate":"2024-11-14T18:15:19.687Z","fixReleasedAt":null,"daysToFix":null,"fixCheckedAt":null,"capecIds":["CAPEC-88"],"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity","availability"],"aiComponentTargeted":"api","llmSpecific":true,"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":null,"affectedPurls":null,"owaspLlmIds":null,"doi":null,"arxivId":null,"hasPublicExploit":true,"timeline":[{"event":"published","date":"2024-11-14","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":[]}}