python-sql
Affected
- introduced
0, fixed1.5.2(ecosystem)
Fixed versions
1.5.2
Fix
- Fixed version
1.5.2pip install --upgrade python-sql==1.5.2
Advisory
Also known as: CVE-2024-9774, GHSA-pq9p-pc3p-9hm4
python-sql SQL injection vulnerability
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.
Medium Basis: CVSS v3 score 6.5, vector CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
0, fixed 1.5.2 (ecosystem)1.5.2
1.5.2pip install --upgrade python-sql==1.5.2Fix 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
Source: PyPA Advisory Database · CC BY 4.0