Vulnerability · Published Dec 27, 2024 · Assigned by redhat

CVE-2024-9774Python-sql: python-sql unary operators does not escape non-expression

Medium 6.5

In plain English

A medium-severity security flaw in python-sql. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)6.5Medium
Exploit odds (30 days)0.7%top 47.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

A vulnerability was found in python-sql where unary operators do not escape non-Expression.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12python-sql1.4.0-1+deb12u1DSA-5795-1
Debian:12python-sql1.4.0-1+deb12u1DEBIAN-CVE-2024-9774
Debian:13python-sql1.5.2-1DEBIAN-CVE-2024-9774
Debian:14python-sql1.5.2-1DEBIAN-CVE-2024-9774
PyPIpython-sql1.5.2GHSA-pq9p-pc3p-9hm4
PyPIpython-sql1.5.2PYSEC-2026-1855
Ubuntu:24.04:LTSpython-sql1.4.0-1+deb12u1build0.24.04.1UBUNTU-CVE-2024-9774
Ubuntu:24.04:LTSpython-sql1.4.0-1+deb12u1build0.24.04.1USN-8765-1

Affected products (as reported)

VendorProductVersions
python-sql 0 – before 1.5.2

Weakness: CWE-150 · Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N

References