GHSA-v9hf-5j83-6xpp

Suggest an improvement
Source
https://github.com/advisories/GHSA-v9hf-5j83-6xpp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-v9hf-5j83-6xpp/GHSA-v9hf-5j83-6xpp.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-v9hf-5j83-6xpp
Aliases
Related
Published
2024-05-21T18:31:23Z
Modified
2024-06-26T05:37:38.789516Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
PyMySQL SQL Injection vulnerability
Details

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

Database specific
{
    "nvd_published_at": "2024-05-21T16:15:26Z",
    "cwe_ids": [
        "CWE-89"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2024-05-21T19:23:15Z"
}
References

Affected packages

PyPI / pymysql

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.1

Affected versions

0.*

0.2
0.3
0.4
0.5
0.6
0.6.1
0.6.2-rc1
0.6.2
0.6.3
0.6.4.dev1
0.6.4
0.6.5
0.6.6
0.6.7
0.7.0
0.7.1
0.7.2
0.7.3
0.7.4
0.7.5
0.7.6
0.7.7
0.7.8
0.7.9
0.7.10
0.7.11
0.8.0
0.8.1
0.9.0
0.9.1
0.9.2
0.9.3
0.10.0
0.10.1

1.*

1.0.0
1.0.1
1.0.2
1.0.3rc1
1.0.3
1.1.0rc1
1.1.0rc2
1.1.0