Skip to main content
VulnerabilityPublished Updated

CVE-2024-9774: python-sql vulnerability

Affects python-sqlSource GCVE Database

0
Compare
Authoritative record:CVE-2024-9774· Medium 6.5

Not known to be exploited · CVSS 6.5 Medium · fixed in 0.8-1ubuntu0.1~esm1 : update python-sql when convenient.

Data as of 24 Nov 2026, 17:39 UTC

CVSS 3.0 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.8-1ubuntu0.1~esm1, 0.9-1ubuntu0.1~esm1, 1.1.0-1ubuntu0.1~esm1 +2
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Dec 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSpython-sqlpkg:deb/ubuntu/python-sql?arch=source&distro=nobleOther threatsAffected
  • <1.4.0-1+deb12u1build0.24.04.1
Fixed in
  • 1.4.0-1+deb12u1build0.24.04.1
Ubuntu Pro 22.04 LTSpython-sqlpkg:deb/ubuntu/python-sql?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <1.3.0-1ubuntu0.1~esm1
Fixed in
  • 1.3.0-1ubuntu0.1~esm1
Ubuntu Pro 20.04 LTSpython-sqlpkg:deb/ubuntu/python-sql?arch=source&distro=esm-apps/focalOther threatsAffected
  • <1.1.0-1ubuntu0.1~esm1
Fixed in
  • 1.1.0-1ubuntu0.1~esm1
Ubuntu Pro 18.04 LTSpython-sqlpkg:deb/ubuntu/python-sql?arch=source&distro=esm-apps/bionicOther threatsAffected
  • <0.9-1ubuntu0.1~esm1
Fixed in
  • 0.9-1ubuntu0.1~esm1
Ubuntu Pro 16.04 LTSpython-sqlpkg:deb/ubuntu/python-sql?arch=source&distro=esm-apps-legacy/xenialOther threatsAffected
  • <0.8-1ubuntu0.1~esm1
Fixed in
  • 0.8-1ubuntu0.1~esm1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

Cédric Krier discovered that python-sql incorrectly escaped values passed to unary operators. An attacker could possibly use this issue to perform SQL injection attacks.

References

Community reviews

Loading reviews…