{"id":"CVE-2024-9774","published":"2024-12-27T02:00:12Z","modified":"2025-08-30T21:04:45Z","title":"Python-sql: python-sql unary operators does not escape non-expression","vendor":null,"product":null,"tier":"tail","description":{"text":"A vulnerability was found in python-sql where unary operators do not escape non-Expression.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00681,"percentile":0.53373,"provenance":"source"},"cwes":[{"id":"CWE-150","name":"Improper Neutralization of Escape, Meta, or Control Sequences"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2024-9774","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2332734","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://discuss.tryton.org/t/security-release-for-issue-93/7889/3","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/10/msg00023.html","tags":[]}],"priority":{"score":15.2,"factors":[{"name":"EPSS percentile","points":10.67},{"name":"CVSS severity","points":4.55}]},"affectedVersions":[{"vendor":null,"product":null,"versions":["< 1.5.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-12-27T15:09:53.093177Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"python-sql","vulnerableRanges":["<1.5.2"],"patched":["1.5.2"],"from":["GHSA-pq9p-pc3p-9hm4","PYSEC-2026-1855"],"provenance":"source"}],"summary":{"text":"A flaw in the python-sql library's unary operators fails to escape non-Expression inputs, so values passed to them are not properly sanitised before being used in generated SQL. An attacker with network access and high-privilege authentication can exploit this, with no user interaction needed, to read or modify database contents.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:17Z"},"euvd":{"id":"EUVD-2024-3604","exploited":false,"provenance":"source"}}