Advisory

RLSA-2024:4244

Also known as: CVE-2024-36039

Summary

Moderate: python3.11-PyMySQL security update

Details

This package contains a pure-Python MySQL client library. The goal of PyMySQL is to be a drop-in replacement for MySQLdb and work on CPython, PyPy, IronPython and Jython.

Security Fix(es):

  • python-pymysql: SQL injection if used with untrusted JSON input (CVE-2024-36039)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer the CVE page(s) listed in the References section.

Severity

Medium Basis: CVSS v3 score 6.3, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Dates

Published
2025-05-07 19:11 UTC
Modified
2025-05-07 20:08 UTC

Affected packages and fixes

python3.11-PyMySQL

RPM packages (rpm) · Rocky Linux 8

Affected

  • introduced 0, fixed 0:1.0.2-2.el8_10 (ecosystem)

Fixed versions

0:1.0.2-2.el8_10

Fix

  • Fixed version 0:1.0.2-2.el8_10
    sudo dnf upgrade python3.11-PyMySQL-0:1.0.2-2.el8_10

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Rocky Linux errata (Apollo)

Rocky Linux errata, Rocky Enterprise Software Foundation.

Sources & licences