Exploit maturity not defined.
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 applicationsThere is no fixed version for python/cpython
.
Affected versions of this package are vulnerable to Untrusted Search Path due to the improper handling of default file locations on Windows platforms. An attacker can create invalid files that cause a MemoryError
to be raised on Python runtime startup or have file extensions be interpreted as the incorrect file type by manipulating the writable default file locations. This is only exploitable if the system uses the default file locations without modification.
This vulnerability can be mitigated by calling mimetypes.init()
with an empty list ([]
) on Windows platforms to avoid using the default list of known file locations.