CVE-2024-36039 Affecting python3.12-PyMySQL package, versions <0:1.1.0-3.el9


Severity

Recommended
medium

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.05% (19th percentile)

Do your applications use this vulnerable package?

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 applications
  • Snyk IDSNYK-ROCKY9-PYTHON312PYMYSQL-9464579
  • published18 Mar 2025
  • disclosed21 May 2024

Introduced: 21 May 2024

CVE-2024-36039  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:9 python3.12-PyMySQL to version 0:1.1.0-3.el9 or higher.
This issue was patched in RLSA-2024:9193.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3.12-PyMySQL package and not the python3.12-PyMySQL package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:9 relevant fixed versions and status.

PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.

CVSS Base Scores

version 3.1