OESA-2024-1719

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2024-1719
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2024-1719.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2024-1719
Upstream
Published
2024-06-14T11:08:16Z
Modified
2025-09-03T06:20:20.010909Z
Summary
python-PyMySQL security update
Details

This package contains a pure-Python MySQL client library, based on PEP 249. Most public APIs are compatible with mysqlclient and MySQLdb.

Security Fix(es):

PyMySQL through 1.1.0 allows SQL injection if used with untrusted JSON input because keys are not escaped by escape_dict.(CVE-2024-36039)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:20.03-LTS-SP4 / python-PyMySQL

Package

Name
python-PyMySQL
Purl
pkg:rpm/openEuler/python-PyMySQL&distro=openEuler-20.03-LTS-SP4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.9.2-4.oe2003sp4

Ecosystem specific

{
    "src": [
        "python-PyMySQL-0.9.2-4.oe2003sp4.src.rpm"
    ],
    "noarch": [
        "python2-PyMySQL-0.9.2-4.oe2003sp4.noarch.rpm",
        "python3-PyMySQL-0.9.2-4.oe2003sp4.noarch.rpm"
    ]
}

openEuler:22.03-LTS-SP1 / python-PyMySQL

Package

Name
python-PyMySQL
Purl
pkg:rpm/openEuler/python-PyMySQL&distro=openEuler-22.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.9.3-4.oe2203sp1

Ecosystem specific

{
    "src": [
        "python-PyMySQL-0.9.3-4.oe2203sp1.src.rpm"
    ],
    "noarch": [
        "python3-PyMySQL-0.9.3-4.oe2203sp1.noarch.rpm"
    ]
}

openEuler:22.03-LTS-SP3 / python-PyMySQL

Package

Name
python-PyMySQL
Purl
pkg:rpm/openEuler/python-PyMySQL&distro=openEuler-22.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.9.3-4.oe2203sp3

Ecosystem specific

{
    "src": [
        "python-PyMySQL-0.9.3-4.oe2203sp3.src.rpm"
    ],
    "noarch": [
        "python3-PyMySQL-0.9.3-4.oe2203sp3.noarch.rpm"
    ]
}

openEuler:24.03-LTS / python-PyMySQL

Package

Name
python-PyMySQL
Purl
pkg:rpm/openEuler/python-PyMySQL&distro=openEuler-24.03-LTS

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.0-2.oe2403

Ecosystem specific

{
    "src": [
        "python-PyMySQL-1.1.0-2.oe2403.src.rpm"
    ],
    "noarch": [
        "python3-PyMySQL-1.1.0-2.oe2403.noarch.rpm",
        "python-PyMySQL-help-1.1.0-2.oe2403.noarch.rpm"
    ]
}