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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | python-sql | 1.4.0-1+deb12u1 | DSA-5795-1 |
| Debian:12 | python-sql | 1.4.0-1+deb12u1 | DEBIAN-CVE-2024-9774 |
| Debian:13 | python-sql | 1.5.2-1 | DEBIAN-CVE-2024-9774 |
| Debian:14 | python-sql | 1.5.2-1 | DEBIAN-CVE-2024-9774 |
| PyPI | python-sql | 1.5.2 | GHSA-pq9p-pc3p-9hm4 |
| PyPI | python-sql | 1.5.2 | PYSEC-2026-1855 |
| Ubuntu:24.04:LTS | python-sql | 1.4.0-1+deb12u1build0.24.04.1 | UBUNTU-CVE-2024-9774 |
| Ubuntu:24.04:LTS | python-sql | 1.4.0-1+deb12u1build0.24.04.1 | USN-8765-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://access.redhat.com/security/cve/CVE-2024-9774 vdb-entry, x_refsource_REDHAT
- RHBZ#2332734 issue-tracking, x_refsource_REDHAT
- https://discuss.tryton.org/t/security-release-for-issue-93/7889/3
- https://lists.debian.org/debian-lts-announce/2024/10/msg00023.html