{"data":{"id":"557f366b-b8f6-441c-ac13-84676102916a","title":"CVE-2024-8238: In version 3.22.0 of aimhubio/aim, the AimQL query language uses an outdated version of the safer_getattr() function…","summary":"CVE-2024-8238 affects version 3.22.0 of aimhubio/aim, where the AimQL query language uses an outdated safer_getattr() function from RestrictedPython. That version does not guard against str.format_map(), which can read arbitrary object attributes such as os.environ, letting an attacker leak server-side secrets. If an attacker can write files to a known location on the Aim server, they can load a malicious .dll/.so file into the Python interpreter for unrestricted code execution.","solution":"N/A -- no mitigation discussed in source.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-8238","publishedAt":"2025-03-20T10:15:41.613Z","cveId":"CVE-2024-8238","cweIds":["CWE-1336"],"cvssScore":"8.1","cvssSeverity":"high","severity":"high","attackType":["other"],"issueType":"vulnerability","affectedPackages":["aim@>= 3.0.0, <= 3.22.0"],"affectedPackageNames":["aim"],"affectedPackageRefs":["pypi:aim"],"affectedVendors":[],"affectedVendorsRaw":["Aim (aimhubio/aim)","AimQL"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"aimhubio/aim AimQL leaks secrets via str.format_map() in safer_getattr()","headlinePromptVersion":"h1","cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"network","attackComplexity":"high","privilegesRequired":"none","userInteraction":"none","exploitMaturity":"unknown","epssScore":0.00767,"epssPercentile":0.56885,"epssCheckedAt":"2026-12-03T18:26:49.374Z","epssHistory":null,"epss30dChange":null,"exploitUrls":["https://huntr.com/bounties/4e140ef9-f6d1-4e68-a44c-3b9e856924d3"],"patchCommitUrls":null,"ssvcExploitation":"poc","nvdStatus":"Modified","referencesCheckedAt":"2026-12-03T19:57:51.242Z","kevDateAdded":null,"advisoryAliases":["GHSA-r229-5wgf-f28g"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-12-03T19:46:21.690Z","patchAvailable":null,"disclosureDate":"2025-03-20T10:15:41.613Z","fixReleasedAt":null,"daysToFix":null,"fixCheckedAt":null,"capecIds":null,"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.85,"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":["pkg:pypi/aim"],"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":[]}}