GitHub Advisoryadvisory · PyPI
GHSA-pq9p-pc3p-9hm4 python-sql SQL injection vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2024-9774
- Ecosystem
- PyPI
- Packages
- python-sql
- Severity
- Moderate
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-150
- Reviewed
- 2024-12-27
Affected packages
• PyPI python-sql: < 1.5.2 → fixed in 1.5.2
Description
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.
Related
Alias · CVE (1)
- CVE-2024-9774 A vulnerability was found in python-sql where unary operators do not escape non-Expression. vulnerability
Weakness · CWE (1)
- CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-9774 advisory
- https://access.redhat.com/security/cve/CVE-2024-9774 web
- https://bugs.tryton.org/python-sql/93 web
- https://bugzilla.redhat.com/show_bug.cgi?id=2332734 web
- https://discuss.tryton.org/t/security-release-for-issue-93/7889 web
- https://discuss.tryton.org/t/security-release-for-issue-93/7889/3 web
- https://foss.heptapod.net/tryton/python-sql/-/commit/f20551bbb8b3b4c4dd0a2c3d36f377bff6f2f349 web
- https://github.com/tryton/python-sql package
- https://lists.debian.org/debian-lts-announce/2024/10/msg00023.html web