pymysql@0.9.0 vulnerabilities

Pure Python MySQL Driver

Direct Vulnerabilities

Known vulnerabilities in the pymysql package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • C
SQL Injection

PyMySQL is a Pure Python MySQL Driver

Affected versions of this package are vulnerable to SQL Injection through the escape_dict function. An attacker can execute arbitrary SQL commands by using untrusted JSON input because keys are not properly escaped.

How to fix SQL Injection?

Upgrade PyMySQL to version 1.1.1 or higher.

[,1.1.1)