Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Access Control Bypass vulnerabilities in an interactive lesson.
Start learningThere is no fixed version for aim
.
aim is a super-easy way to record, search and compare AI experiments.
Affected versions of this package are vulnerable to Access Control Bypass due to the use of an outdated safer_getattr
function from RestrictedPython which fails to block the str.format_map
method. An attacker can leak server-side secrets or execute arbitrary code by exploiting the ability of str.format_map
to read arbitrary attributes of Python objects, thus accessing sensitive variables such as os.environ
.
Note: This is only exploitable if an attacker can write files to a known location on the Aim server.