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 applicationsUpgrade aiomysql to version 0.3.0 or higher.
aiomysql is a MySQL driver for asyncio.
Affected versions of this package are vulnerable to External Control of File Name or Path via the LOAD_LOCAL instruction packet. An attacker can obtain arbitrary files from the client system by setting up a malicious MySQL server that sends crafted instructions to the client, even when client-side restrictions are in place.