
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-8238 affects version 3.22.0 of aimhubio/aim, specifically in its AimQL query language implementation. The vulnerability stems from using an outdated version of the safer_getattr() function from RestrictedPython, which was discovered and disclosed in March 2024 (NVD).
The vulnerability exists because the outdated safergetattr() function does not provide protection against the str.formatmap() method. This implementation flaw allows the str.format_map() method to read arbitrary attributes of Python objects. The severity is rated as MEDIUM with a CVSS v3.0 base score of 5.9 (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N) (NVD).
The vulnerability enables attackers to access sensitive variables such as os.environ, potentially leading to the exposure of server-side secrets. If an attacker can write files to a known location on the Aim server, they could leverage str.format_map() to load malicious .dll/.so files into the Python interpreter, potentially achieving unrestricted code execution (NVD).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."