Red Hat VEX
RHVEX-CVE-2024-36039
python-pymysql: SQL injection if used with untrusted JSON input
Details
A flaw was found in PyMySQL. When processing untrusted JSON input, keys are not escaped by the escape_dict function due to insufficient input sanitization, allowing an attacker to inject malicious SQL queries.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:8 | python-PyMySQL | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python2-PyMySQL | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python3-PyMySQL | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python38-PyMySQL | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python39-PyMySQL | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | python3-PyMySQL | All versions, will not be fixed |