cve.bz

CVE-2024-9774

6.5 mediumEPSS 0.9%Fix available

Medium (6.5). EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in python-sql 1.5.2.

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

Severity

CVSS 3.0

6.5 medium
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
EPSS
0.9% (up from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 58th percentile. Scored 2026-11-29. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-12-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-9774 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-9774?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-9774?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-9774 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-pq9p-pc3p-9hm4PyPIpython-sql<1.5.21.5.2
PYSEC-2026-1855PyPIpython-sql<1.5.21.5.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11python-sql1.2.1-1+deb11u1DLA-3932-1
Debian12python-sql1.4.0-1+deb12u1DEBIAN-CVE-2024-9774 DSA-5795-1
Debian13, 14python-sql1.5.2-1DEBIAN-CVE-2024-9774
Ubuntu24.04:LTSpython-sql1.4.0-1+deb12u1build0.24.04.1UBUNTU-CVE-2024-9774 USN-8765-1
UbuntuPro:16.04:LTSpython-sql0.8-1ubuntu0.1~esm1UBUNTU-CVE-2024-9774 USN-8765-1
UbuntuPro:18.04:LTSpython-sql0.9-1ubuntu0.1~esm1UBUNTU-CVE-2024-9774 USN-8765-1
UbuntuPro:20.04:LTSpython-sql1.1.0-1ubuntu0.1~esm1UBUNTU-CVE-2024-9774 USN-8765-1
UbuntuPro:22.04:LTSpython-sql1.3.0-1ubuntu0.1~esm1UBUNTU-CVE-2024-9774 USN-8765-1
SUSEPackage Hub 15 SP5python-python-sql1.5.1-bp155.3.6.1openSUSE-SU-2024:0412-1
SUSEPackage Hub 15 SP6python-python-sql1.5.1-bp156.2.6.1openSUSE-SU-2024:0413-1
openSUSELeap 15.5python-python-sql1.5.1-bp155.3.6.1openSUSE-SU-2024:0412-1
openSUSELeap 15.6python-python-sql1.5.1-bp156.2.6.1openSUSE-SU-2024:0413-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Attack patterns (CAPEC)

  • CAPEC-41 Using Meta-characters in E-mail Headers to Inject Malicious Payloads Likelihood: High · Severity: High
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
  • CAPEC-93 Log Injection-Tampering-Forging Likelihood: High · Severity: High
  • CAPEC-134 Email Injection Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON