Open-source package vulnerability · PyPI
CVE-2024-9774: python-sql SQL injection vulnerability
mediumCVSS 3.0 6.5GHSA-pq9p-pc3p-9hm4
A vulnerability was found in python-sql where unary operators do not escape non-Expression (like And and Or) which makes any system exposing those vulnerable to an SQL injection attack.
Published Dec 27, 2024 · Updated Feb 7, 2025
Affected packages
python-sql
- Ecosystem
- PyPI
- Affected
- < 1.5.2
- Fixed in
- 1.5.2
- Check
pip show python-sql
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A vulnerability was found in python-sql where unary operators do not escape non-Expression (like And and Or) which makes any system exposing those vulnerable to an SQL injection attack.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-9774
- https://discuss.tryton.org/t/security-release-for-issue-93/7889/3
- https://lists.debian.org/debian-lts-announce/2024/10/msg00023.html
- https://bugs.tryton.org/python-sql/93
- https://discuss.tryton.org/t/security-release-for-issue-93/7889
- https://foss.heptapod.net/tryton/python-sql/-/commit/f20551bbb8b3b4c4dd0a2c3d36f377bff6f2f349
- https://bugzilla.redhat.com/show_bug.cgi?id=2332734
- https://access.redhat.com/security/cve/CVE-2024-9774
- https://github.com/advisories/GHSA-pq9p-pc3p-9hm4
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
