Ubuntu Security Notice
USN-6801-1
python-pymysql vulnerability
Details
It was discovered that PyMySQL incorrectly escaped untrusted JSON input. An attacker could possibly use this issue to perform SQL injection attacks.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:20.04:LTS | python-pymysql | All versions before 0.9.3-2ubuntu3.1 (fixed in 0.9.3-2ubuntu3.1) |
| Ubuntu:22.04:LTS | python-pymysql | All versions before 1.0.2-1ubuntu1.22.04.1 (fixed in 1.0.2-1ubuntu1.22.04.1) |
| Ubuntu:24.04:LTS | python-pymysql | All versions before 1.0.2-2ubuntu1.1 (fixed in 1.0.2-2ubuntu1.1) |