# CVE-2024-9774: python3-sql: A vulnerability was found in python-sql where unary operators do not escape non-Expression.

CVE-2024-9774 is fixed in 3 products on 1 platform, first by DSA-5795-1, released October 21, 2024. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2024-9774
- Priority: Routine
- CVSS: 6.5 (Medium)
- EPSS: 0.0068
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Oct 21, 2024

## Description

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | python-python-sql opensuse-leap 15.6 | 1.5.1-bp156.2.6.1 | [OPENSUSE-SU-2024:0413-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2024-0413-1.md) | Dec 21, 2024 |
| Linux | python-sql Debian 11.6 (bullseye) | 1.2.1-1+deb11u1 | [DLA-3932-1](https://patchblox.com/security/data/fix/linux/dla-3932-1.md) | Oct 22, 2024 |
| Linux | python-sql Debian 12.15 (bookworm) | 1.4.0-1+deb12u1 | [DSA-5795-1](https://patchblox.com/security/data/fix/linux/dsa-5795-1.md) | Oct 21, 2024 |
| Linux | python-sql Debian 13.5 (trixie) | 1.5.2-1 | [DEBIAN-CVE-2024-9774](https://patchblox.com/security/data/fix/linux/debian-cve-2024-9774.md) | Dec 27, 2024 |
| Linux | python-sql Debian 14 | 1.5.2-1 | [DEBIAN-CVE-2024-9774](https://patchblox.com/security/data/fix/linux/debian-cve-2024-9774.md) | Dec 27, 2024 |
| Linux | python-sql Ubuntu 18.04.6 LTS (bionic) | 0.9-1ubuntu0.1~esm1 | [python-sql 0.9-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python-sql-0.9-1ubuntu0.1-esm1.md) | Dec 26, 2024 |
| Linux | python3-sql Ubuntu 18.04.6 LTS (bionic) | 0.9-1ubuntu0.1~esm1 | [python3-sql 0.9-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-python3-sql-0.9-1ubuntu0.1-esm1.md) | Dec 26, 2024 |
| Linux | python3-sql Ubuntu 20.04 LTS (focal) | 1.1.0-1ubuntu0.1~esm1 | [python3-sql 1.1.0-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python3-sql-1.1.0-1ubuntu0.1-esm1.md) | Dec 26, 2024 |
| Linux | python3-sql Ubuntu 22.04.1 LTS (jammy) | 1.3.0-1ubuntu0.1~esm1 | [python3-sql 1.3.0-1ubuntu0.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-python3-sql-1.3.0-1ubuntu0.1-esm1.md) | Dec 26, 2024 |
| Linux | python3-sql Ubuntu 24.04.5 LTS (noble) | 1.4.0-1+deb12u1build0.24.04.1 | [python3-sql 1.4.0-1+deb12u1build0.24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-python3-sql-1.4.0-1-deb12u1build0.24.04.1.md) | Dec 26, 2024 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
